]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Function name typo error in non-PIC case, fixed in this patch.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
34c56048
CLT
12015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2
3 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4 called function in non-PIC case.
5
d4abeca5
DM
62015-01-31 David S. Miller <davem@davemloft.net>
7
edac0a60
DM
8 * sysdeps/sparc/sparc32/bits/atomic.h
9 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10 unlock not after it.
11 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12 volatile register usage warnings from the compiler.
13
d4abeca5
DM
14 * sysdeps/sparc/nptl/sem_init.c: Delete.
15 * sysdeps/sparc/nptl/sem_post.c: Delete.
16 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17 * sysdeps/sparc/nptl/sem_wait.c: Delete.
18 * sysdeps/sparc/sparc32/sem_init.c: New file.
19 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21 padding explicitly initialized.
22 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23 padding for in-semaphore spinlock.
24 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
30 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32 version.
33 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
35
5f3d0b78
L
362015-01-30 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #17801]
39 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
41 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
42 New.
43 (index_AVX_Fast_Unaligned_Load): Likewise.
44 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
45 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
46 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
47 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
48 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
49 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
50 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
51 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
52 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
53
b658fdd8
AS
542015-01-29 Andreas Schwab <schwab@suse.de>
55
56 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
57
3cb26316
SP
582015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 [BZ #17892]
61 * nscd/nscd_stat.c (send_stats): Initialize DATA.
62
527de9e4
MS
632015-01-28 Martin Sebor <msebor@redhat.com>
64
65 * math/README.libm-test: Clarify. Add "How to read the test output."
66
06991eb8
CM
672015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
68
69 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
70 Define to 0.
71
df341342
JM
722015-01-28 Joseph Myers <joseph@codesourcery.com>
73
74 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
75 (__HAVE_64B_ATOMICS): Define to 0.
76
08cee2a4
AZ
772015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
78
d4d0ecb2
AZ
79 [BZ #17885]
80 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
81 value to set as new flag.
82
08cee2a4
AZ
83 [BZ #16576]
84 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
85 and use _ARCH_PPCSQ instead.
86 (__ieee754_sqrt): Likewise.
87 (__ieee754_sqrtf): Likewise.
88 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
89 _ARCH_PPCSQ is defined.
90 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
91 fsqrt instruction.
92 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
93 _ARCH_PPCSQ is defined.
94 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
95 fsqrts instruction.
96 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
97
5fe8e359
AK
982015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99
100 * iconv/loop.c: Suppress array out of bound warning caused by GCC
101 bug (GCC BZ #64739).
102
24bb7432
AS
1032015-01-25 Andreas Schwab <schwab@linux-m68k.org>
104
fa20da31
AS
105 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
106 Mark _retval as used.
107 (lll_futex_wake_unlock): Likewise.
108 (lll_futex_timed_wait_requeue_pi): Likewise.
109
45819cbc
AS
110 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
111 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
112 register variables.
113
403cc231
AS
114 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
115 libm_hidden_def.
116
24bb7432
AS
117 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
118 (__bswap_64): Mark as __always_inline.
119
9317ea65
B
1202015-01-25 Bram <bug_rh@spam.wizbit.be>
121
122 [BZ #15378]
123 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
124 when none of the search directories exist.
125
0e87343e
AZ
1262015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
127
bea58013
AZ
128 [BZ #17869]
129 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
130 power8 in .machine directive.
131
0e87343e
AZ
132 [BZ #17868]
133 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
134 set dependency from opd value.
135
ede0236c
L
1362015-01-23 H.J. Lu <hongjiu.lu@intel.com>
137
138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
139 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
140 architecture.
ede0236c 141
22971c35
L
1422015-01-23 H.J. Lu <hongjiu.lu@intel.com>
143
144 [BZ #17870]
145 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
146 with uint64_t.
147 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
148 (uint64_t) 1.
e0da28a1 149 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
150 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
151 Replace 1UL with (uint64_t) 1.
152 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
153 int with uint64_t.
154
da5bf245
RM
1552015-01-23 Roland McGrath <roland@hack.frob.com>
156
2ec2d703
RM
157 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
158 (if_freenameindex): Likewise.
159
da5bf245
RM
160 * resource/getrlimit64.c: Add missing libc_hidden_def.
161
d7423856
JM
1622015-01-22 Joseph Myers <joseph@codesourcery.com>
163
164 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
165 __label__.
166 (_FP_FMA): Likewise.
167 (_FP_TO_INT_ROUND): Likewise.
168 (_FP_FROM_INT): Likewise.
169
6b2ba95b
AZ
1702015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
171
172 [BZ #16418]
173 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
174 Make code racy and cancel safe.
175
ccdb048d
CD
1762015-01-21 Carlos O'Donell <carlos@redhat.com>
177
191220b3
CD
178 * sysdeps/arm/unwind-resume.h: Fix copyright year.
179 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
180 attribution.
181
0897c551
CD
182 * pwd/tst-getpw.c: Rewrite.
183
ccdb048d
CD
184 [BZ #17702]
185 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
186 (modules-names): Add moddummy1 and moddummy2.
187 ($(objpfx)tst-rec-dlopen): Define.
188 * dlfcn/moddummy1.c: New file.
189 * dlfcn/moddummy2.c: New file.
190 * dlfcn/tst-rec-dlopen.c: New file.
191 * elf/dl-cache.c (_dl_load_cache_lookup):
192 Return char*. Copy result with alloca/strcpy/strdup.
193 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
194 returns char*. Free cached. If not saving realname
195 free cached.
196 * elf/dl-open.c (dl_open_worker): Do not assert that
197 _r_debug->r_state is RT_CONSISTENT.
198 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
199 returns char*.
200
042e1521
CD
2012015-01-21 Torvald Riegel <triegel@redhat.com>
202 Carlos O'Donell <carlos@redhat.com>
203
204 [BZ #12674]
205 * nptl/sem_waitcommon.c: New file.
206 * nptl/sem_wait.c: Include sem_waitcommon.c.
207 (__sem_wait_cleanup, do_futex_wait): Remove.
208 (__new_sem_wait): Adapt.
209 (__new_sem_trywait): New function.
210 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
211 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
212 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
213 (sem_timedwait): Adapt.
214 * nptl/sem_post.c (__new_sem_post): Adapt.
215 (futex_wake): New function.
216 (__old_sem_post): Add release MO fence.
217 * nptl/sem_open.c (sem_open): Adapt.
218 * nptl/sem_init.c (__new_sem_init): Adapt.
219 (futex_private_if_supported): New function.
220 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
221 (__old_sem_getvalue): Add using previous code.
222 * sysdeps/nptl/internaltypes.h: Adapt.
223 * nptl/tst-sem13.c (do_test): Adapt.
224 * nptl/tst-sem11.c (main): Adapt.
225 * nptl/sem_trywait.c: Remove.
226 * nptl/DESIGN-sem.txt: Remove.
227 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
228 (gen-as-const-headers): Remove structsem.sym.
229 * nptl/structsem.sym: Remove.
230 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
231 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
232 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
233 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
234 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
235 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
236 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
237 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
238 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
239 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
240 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
241 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
242 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
243 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
244 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
245 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
246 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
247 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
248 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
249 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
250 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
251 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
252
fe0e85af
CD
2532015-01-20 Carlos O'Donell <carlos@redhat.com>
254
a8db092e
CD
255 * INSTALL: Regenerated.
256
fe0e85af
CD
257 * po/libc.pot: Regenerated.
258
522e6ee3
CLT
2592015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
260 Sandra Loosemore <sandra@codesourcery.com>
261 Andrew Jenner <andrew@codesourcery.com>
262 Joseph Myers <joseph@codesourcery.com>
263 Nathan Sidwell <nathan@codesourcery.com>
264
265 * NEWS: Mention new Nios II port.
266 * sysdeps/nios2/Implies: New file.
267 * sysdeps/nios2/Makefile: New file.
268 * sysdeps/nios2/Subdirs: New file.
269 * sysdeps/nios2/Versions: New file.
270 * sysdeps/nios2/__longjmp.S: New file.
271 * sysdeps/nios2/abort-instr.h: New file.
272 * sysdeps/nios2/backtrace.c: New file.
273 * sysdeps/nios2/bits/endian.h: New file.
274 * sysdeps/nios2/bits/fenv.h: New file.
275 * sysdeps/nios2/bits/link.h: New file.
276 * sysdeps/nios2/bits/setjmp.h: New file.
277 * sysdeps/nios2/bsd-_setjmp.S: New file.
278 * sysdeps/nios2/bsd-setjmp.S: New file.
279 * sysdeps/nios2/configure: New generated file.
280 * sysdeps/nios2/configure.ac: New file.
281 * sysdeps/nios2/crti.S: New file.
282 * sysdeps/nios2/crtn.S: New file.
283 * sysdeps/nios2/dl-init.c: New file.
284 * sysdeps/nios2/dl-machine.h: New file.
285 * sysdeps/nios2/dl-sysdep.h: New file.
286 * sysdeps/nios2/dl-tls.h: New file.
287 * sysdeps/nios2/dl-trampoline.S: New file.
288 * sysdeps/nios2/gccframe.h: New file.
289 * sysdeps/nios2/gmp-mparam.h: New file.
290 * sysdeps/nios2/jmpbuf-offsets.h: New file.
291 * sysdeps/nios2/jmpbuf-unwind.h: New file.
292 * sysdeps/nios2/ldsodefs.h: New file.
293 * sysdeps/nios2/libc-tls.c: New file.
294 * sysdeps/nios2/libm-test-ulps: New file.
295 * sysdeps/nios2/machine-gmon.h: New file.
296 * sysdeps/nios2/math-tests.h: New file.
297 * sysdeps/nios2/math_private.h: New file.
298 * sysdeps/nios2/memusage.h: New file.
299 * sysdeps/nios2/nptl/Makefile: New file.
300 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
301 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
302 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
303 * sysdeps/nios2/nptl/pthreaddef.h: New file.
304 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
305 * sysdeps/nios2/nptl/tls.h: New file.
306 * sysdeps/nios2/preconfigure: New file.
307 * sysdeps/nios2/s_fma.c: New file.
308 * sysdeps/nios2/s_fmaf.c: New file.
309 * sysdeps/nios2/setjmp.S: New file.
310 * sysdeps/nios2/sfp-machine.h: New file.
311 * sysdeps/nios2/sotruss-lib.c: New file.
312 * sysdeps/nios2/stackguard-macros.h: New file.
313 * sysdeps/nios2/stackinfo.h: New file.
314 * sysdeps/nios2/start.S: New file.
315 * sysdeps/nios2/sysdep.h: New file.
316 * sysdeps/nios2/tls-macros.h: New file.
317 * sysdeps/nios2/tst-audit.h: New file.
318 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
319 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
320 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
321 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
322 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
323 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
324 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
325 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
326 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
327 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
328 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
329 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
330 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
331 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
332 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
333 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
334 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
335 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
336 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
337 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
338 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
339 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
340 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
341 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
342 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
343 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
344 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
345 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
346 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
347 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
348 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
349 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
350 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
351 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
352 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
353 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
354 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
355 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
356 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
357 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
358 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
359 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
360 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
361 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
362
026eb207
SL
3632015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
364
365 [BZ #17844]
366 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
367 (getutent): Use weak_alias in non SHARED case
368 and default_symbol_version in SHARED case.
369 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
370 (getutent_r, pututline): Likewise.
371 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
372 (getutid): Likewise.
373 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
374 (getutid_r): Likewise.
375 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
376 (getutline): Likewise.
377 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
378 (getutline_r): Likewise.
379 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
380 (updwtmp): Likewise.
381
1d532483
SL
3822015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
383
384 [BZ #17848]
385 * sysdeps/s390/s390-32/memcmp.S
386 (memcmp_g5): Rename to __memcmp_g5.
387 * sysdeps/s390/s390-32/memcpy.S
388 (memcpy_g5): Rename to __memcpy_g5.
389 Jump to __memcpy_mvcle instead of memcpy_mvcle.
390 (memcpy_mvcle) Rename to __memcpy_mvcle.
391 * sysdeps/s390/s390-32/memset.S
392 (memset_g5): Rename to __memset_g5.
393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
394 (IFUNC_RESOLVE): Prefix ifunc-resolve function
395 and use prefixed functions.
396 * sysdeps/s390/s390-32/multiarch/memcmp.S
397 (memcmp_z196): Rename to __memcmp_z196.
398 (memcmp_z10): Rename to __memcmp_z10.
399 (memcmp): Set alias to __memcmp_g5.
400 (bcmp): Set alias to __memcmp_g5.
401 * sysdeps/s390/s390-32/multiarch/memcpy.S
402 (memcpy_z196): Rename to __memcpy_z196.
403 Jump to __memcpy_mvcle instead of memcpy_mvcle.
404 (memcpy_z10): Rename to __memcpy_z10.
405 Jump to __memcpy_mvcle instead of memcpy_mvcle.
406 (memcpy): Set alias to __memcpy_g5.
407 * sysdeps/s390/s390-32/multiarch/memset.S
408 (memset_z196): Rename to __memset_z196.
409 Jump to __memset_mvcle instead of memset_mvcle.
410 (memset_z10): Rename to __memset_z10.
411 Jump to __memset_mvcle instead of memset_mvcle.
412 (memset_mvcle) Rename to __memset_mvcle.
413 (memset): Set alias to __memset_g5.
414 * sysdeps/s390/s390-64/memcmp.S
415 (memcmp_z900): Rename to __memcmp_z900.
416 * sysdeps/s390/s390-64/memcpy.S
417 (memcpy_z900): Rename to __memcpy_z900.
418 Jump to __memcpy_mvcle instead of memcpy_mvcle.
419 (memcpy_mvcle) Rename to __memcpy_mvcle.
420 * sysdeps/s390/s390-64/memset.S
421 (memset_z900): Rename to __memset_z900.
422 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
423 (IFUNC_RESOLVE): Prefix ifunc-resolve function
424 and use prefixed functions.
425 * sysdeps/s390/s390-64/multiarch/memcmp.S
426 (memcmp_z196): Rename to __memcmp_z196.
427 (memcmp_z10): Rename to __memcmp_z10.
428 (memcmp): Set alias to __memcmp_z900.
429 (bcmp): Set alias to __memcmp_z900.
430 * sysdeps/s390/s390-64/multiarch/memcpy.S
431 (memcpy_z196): Rename to __memcpy_z196.
432 Jump to __memcpy_mvcle instead of memcpy_mvcle.
433 (memcpy_z10): Rename to __memcpy_z10.
434 Jump to __memcpy_mvcle instead of memcpy_mvcle.
435 (memcpy): Set alias to __memcpy_z900.
436 * sysdeps/s390/s390-64/multiarch/memset.S
437 (memset_z196): Rename to __memset_z196.
438 Jump to __memset_mvcle instead of memset_mvcle.
439 (memset_z10): Rename to __memset_z10.
440 Jump to __memset_mvcle instead of memset_mvcle.
441 (memset_mvcle) Rename to __memset_mvcle.
442 (memset): Set alias to __memset_z900.
443
53fbd169
JM
4442015-01-14 Joseph Myers <joseph@codesourcery.com>
445
446 [BZ #17748]
447 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
448 __fesetenv instead of fesetenv.
449
d639a363
SP
4502015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
451
452 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
453 macro.
454
d3b00f46
AZ
4552015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
ce6615c9
AZ
457 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
458 regression on LE.
459
d3b00f46
AZ
460 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
461 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
462 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
463 strncmp-power8 object.
464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
465 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
466 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
467 * NEWS: Update.
468
72607db0
RS
4692015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
470 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471
472 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
473 trailing byte check.
474
54dc5461
DM
4752015-01-13 David S. Miller <davem@davemloft.net>
476
477 * include/signal.h (__sigreturn): Guard with __USE_MISC.
478
1c6e6f23
RM
4792015-01-13 Roland McGrath <roland@hack.frob.com>
480
481 * login/logout.c (logout): Use memset rather than bzero.
482 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
483 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
484 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
485 (_gethtbyaddr): Likewise.
486 * locale/programs/simple-hash.c (bcopy): Macro removed.
487
96d6fd6c
AZ
4882015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489
8bedcb5f
AZ
490 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
491 Add strcmp-power8 object.
492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
493 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
494 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
495 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
496 __strcmp_power8 implementation.
497 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
498 * NEWS: Update.
499
f06a4faf
AZ
500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
501 Add strncpy-power8 and stpncpy-power8 objects.
502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
503 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
504 implementations.
505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
506 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
507 __stpncpy_power8 implementation.
508 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
509 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
510 __strncpy_power8 implementation.
511 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
512 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
513 * NEWS: Update.
514
9f2f36e5
AZ
515 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
516 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
517 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
518
96d6fd6c 519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
520 strncat-power8 object.
521 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
522 __strcat_power8 implementation.
523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
524 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
525 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
526 optimized strcat for power8.
527
528 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
529 strcpy-power8 and stpcpy-power8 objects.
530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
531 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
532 implementations.
533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
534 multiarch stpcpy implementation for POWER8.
535 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
536 multiarch strcpy implementation for POWER8.
537 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
538 __strcpy_power8 function.
539 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
540 stpcpy for POWER8.
541 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
542 strcpy for POWER8.
543 * NEWS: Update.
544
0f9e5854
LH
5452015-01-13 Leonhard Holz <leonhard.holz@web.de>
546
547 [BZ #16009]
548 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
549 weights and rules. Use do_xfrm_cached if data fits in cache,
550 do_xfrm otherwise. Moved former main loop to...
551 * (do_xfrm_cached): New function.
552 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
553 find_idx, find_position and stack_push.
554 * (find_idx): New function.
555 * (find_position): Likewise.
556 * localedata/sort-test.sh: Added test run for do_xfrm.
557 * localedata/xfrm-test.c (main): Added command line option
558 -nocache to run the test with strings that are too large for
559 the STRXFRM cache.
560
c60ec0e0
TR
5612015-01-13 Torvald Riegel <triegel@redhat.com>
562
563 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
564 variable to lll_futex_wake call, not the value itself.
565
34e93d6c
JM
5662015-01-12 Joseph Myers <joseph@codesourcery.com>
567
5a9e4c09
JM
568 [BZ #17803]
569 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
570 twom64. Adjust value to 0x1p-64L.
571 (__scalblnl): Only return standard underflowing result for K <=
572 -64 not K <= -63; adjust exponent for underflowing result by 64
573 not 63.
574 * math/libm-test.inc (scalbn_test_data): Add more tests.
575 (scalbln_test_data): Likewise.
576
34e93d6c
JM
577 [BZ #17834]
578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
579 0x1p63L.
580 (__scalblnl): Get new exponent of adjusted subnormal value from ES
581 not HX.
582 * math/libm-test.inc (scalbn_test_data): Add more tests.
583 (scalbln_test_data): Likewise.
584
ca677d3c
AZ
5852015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586 Stefani Seibold <stefani@seibold.net>
587
588 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
589 (sysdep_routines): Add dl-vdso here, ...
590 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
591 (sysdep_routines): ... not here.
592 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
593 fallback when vDSO is not presented.
594 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
595 Define with libc_hidden_proto/libc_hidden_data_def definitions.
596 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
597 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
598 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
599 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
600 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
602 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
604 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
605 fallback configurable symbol when vDSO is not available.
606 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
607 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
608 be able to redefine fallback symbol when vDSO is not available.
609 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
610 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
611
49a9f6ab 6122015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 613
56cf2763
AZ
614 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
615 (TLS_INIT_TP): Add tm_capable initialization.
616 (TLS_DEFINE_INIT_TP): Likewise.
617 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
618 TCB.
619 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
620 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
621 calculation.
622 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
623 transactoion is lock elision is built and TCB tm_capable is set.
624 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
626 (INTERNAL_SYSCALL_NCS): Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
628 (INTERNAL_SYSCALL_NCS): Likewise.
629 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
630
4b45943a
AZ
631 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
632 for powerpc.
633 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
634 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
635 and remove it for 32 bits case.
636 [pthread_rwlock_t] (__rwelision): New field for lock elision.
637 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
638 initialization.
639 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
640 Disable lock elision with rdlocks if elision is not available.
641
8d2c0a59
AZ
642 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
643 (sysdep_routines): Add lock elision objects.
644 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
645 [pthread_mutex_t] (__spins): Rework to add lock elision field.
646 [pthread_mutex_t] (__elision): Add field.
647 [__PTHREAD_SPINS]: Adjust to init lock elision field.
648 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
649 elision definitions for powerpc.
650 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
651 implementation of lock elision for powerpc.
652 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
653 implementation of timed lock elision for powerpc.
654 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
655 implementation of trylock with lock elision for powerpc.
656 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
657 implementaion of unlock for lock elision for powerpc.
658 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
659 automatic enable lock elision for mutexes.
660 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
661 transaction execution definitions for powerpc.
662 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
663 definitions.
664 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
665 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
666 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
668 * NEWS: Update.
669
bc0ed9f7
RM
6702015-01-09 Roland McGrath <roland@hack.frob.com>
671
672 * sysdeps/posix/shm-directory.c: Use <> rather than ""
673 for #include of <shm-directory.h>.
674
585d9c18
CLT
6752015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
676
677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
678 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
679
aee6626c
MF
6802015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
681
682 [BZ #17791]
683 * NEWS: Mention bug fix.
684 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
685 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
686 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
687
9e560f48
TR
6882015-01-09 Torvald Riegel <triegel@redhat.com>
689
690 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
691
e1cfbd0c
TR
6922015-01-09 Torvald Riegel <triegel@redhat.com>
693
694 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
695
cf71e44f
DH
6962015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
697
698 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
699 pointer and cast to uintptr_t.
700
b360ee62
DH
7012015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
702
703 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
704 removed.
705 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
706
caff764e
DH
7072015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
708
709 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
710 of 0.
711
59ff172f
RM
7122015-01-08 Roland McGrath <roland@hack.frob.com>
713
c97d27f1
RM
714 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
715 <nptl/pthreadP.h> instead.
716 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
717
08734ccd
RM
718 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
719 already defined.
720 [__SIGRTMIN] (init): Function removed.
721 [__SIGRTMIN] (initialized): Variable removed.
722 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
723 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
724 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
725 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
726 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
727 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
728 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
729 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
730 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
731 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
732 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
733 * sysdeps/nptl/allocrtsig.c: New file.
734 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
735 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
736 * sysdeps/generic/testrtsig.h: File removed.
737
7b052e33
RM
738 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
739 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
740
cc40d25e
RM
741 * nptl/nptl-init.c (pthread_functions): Conditionalize
742 .ptr__nptl_setxid initialization on [SIGSETXID].
743
9287adf0
RM
744 * sysdeps/nptl/sys/procfs.h: New file.
745 * nptl_db/Makefile (headers): Add it.
746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
747
59ff172f
RM
748 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
749 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
750 * nptl/pthread_attr_setaffinity.c: Include it.
751 * nptl/pthread_setattr_default_np.c: Likewise.
752 * nptl/check-cpuset.h: New file.
753
b9205857
RH
7542015-01-08 Richard Henderson <rth@redhat.com>
755
756 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
757 (CFLAGS-tst-execstack-prog.c): Likewise.
758 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
759
1a0a8d15
CLT
7602015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
761 Sandra Loosemore <sandra@codesourcery.com>
762 Andrew Jenner <andrew@codesourcery.com>
763 Joseph Myers <joseph@codesourcery.com>
764 Nathan Sidwell <nathan@codesourcery.com>
765
766 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
767 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
768 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
769 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
770 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
771 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
772 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
773 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
774 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
775 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
776 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
777 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
778 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
779 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
780 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
781 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
782 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
783
dd6e8af6
AZ
7842015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785
786 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
787 timespec struct member in syscall macro.
788 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
789 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
790 first timeval struct member in syscall macro.
791 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
792
8116321f
JM
7932015-01-07 Joseph Myers <joseph@codesourcery.com>
794
795 [BZ #17748]
796 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
797 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
798 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
799 __feupdateenv and define as weak alias of __feupdateenv. Use
800 libm_hidden_weak.
801 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
802 libm_hidden_def.
803 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
804 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
805 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
806 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
807 libm_hidden_def.
808 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
809 __feupdateenv and define as weak alias of __feupdateenv. Use
810 libm_hidden_weak.
811 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
812 libm_hidden_def.
813 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
814 __feupdateenv and define as weak alias of __feupdateenv. Use
815 libm_hidden_weak.
816 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
817 libm_hidden_def.
818 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
819 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
820 (__feupdateenv): Likewise.
821 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
822 __feupdateenv and define as weak alias of __feupdateenv. Use
823 libm_hidden_weak.
824 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
825 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
826 libm_hidden_def.
827 * sysdeps/tile/math_private.h (__feupdateenv): New inline
828 function.
829 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
830 libm_hidden_def.
831 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
832 __feupdateenv instead of feupdateenv.
833 (default_libc_feupdateenv_test): Likewise.
834 (libc_feresetround_ctx): Likewise.
835
882dfe18
AZ
8362015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
839 prototype.
840
39a12f8d
CM
8412015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
842
843 * posix/regcomp.c (parse_bracket_exp): Initialize type to
844 COLL_SYM in a couple of places to avoid uninitialized variable
845 wanings on tilegx gcc 4.8.2.
846
dc400d7b
RE
8472015-01-07 Richard Earnshaw <rearnsha@arm.com>
848
849 * sysdeps/aarch64/strcpy.S: New file.
850 * sysdeps/aarch64/stpcpy.S: New file.
851 * NEWS: Updated.
852
ec582ca0
RE
8532015-01-07 Richard Earnshaw <rearnsha@arm.com>
854
855 * sysdeps/aarch64/strrchr.S: New file.
856 * NEWS: Updated.
857
d5b1c5ed
EB
8582015-01-07 Eric Biggers <ebiggers3@gmail.com>
859
860 [BZ #17658]
861 * stdlib/setenv.c: Fix memory leak when setting large,
862 duplicate string.
863
fb87ee96
VN
8642015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
865
60f046a8 866 [BZ #17273]
fb87ee96
VN
867 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
868 and tabs from buffer before parsing fstab entry.
869 * misc/tst-mntent.c (main): Add test for mount entry with
870 trailing spaces and tabs.
871
cd42798a
JM
8722015-01-06 Joseph Myers <joseph@codesourcery.com>
873
01238691
JM
874 [BZ #17748]
875 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
876 * math/fesetround.c (fesetround): Rename to __fesetround and
877 define as weak alias of __fesetround. Use libm_hidden_weak.
878 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
879 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
880 * sysdeps/arm/fesetround.c (fesetround): Likewise.
881 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
882 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
883 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
884 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
885 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
886 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
887 __fesetround_inline.
888 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
889 __fesetround_inline instead of __fesetround.
890 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
891 __fesetround and define as weak alias of __fesetround. Use
892 libm_hidden_weak. Call __fesetround_inline instead of
893 __fesetround.
894 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
895 __fesetround and define as weak alias of __fesetround. Use
896 libm_hidden_weak.
897 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
898 Likewise.
899 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
900 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
901 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
902 * sysdeps/tile/math_private.h (__fesetround): New inline function.
903 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
904 __fesetround and define as weak alias of __fesetround. Use
905 libm_hidden_weak.
906 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
907 __fesetround instead of fesetround.
908 (default_libc_feholdexcept_setround): Likewise.
909 (libc_feholdsetround_ctx): Likewise.
910 (libc_feholdsetround_noex_ctx): Likewise.
911
cd42798a
JM
912 [BZ #17748]
913 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
914 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
915 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
916 and define as weak alias of __fesetenv. Use libm_hidden_weak.
917 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
918 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
919 define as weak alias of __fesetenv. Use libm_hidden_weak.
920 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
921 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
922 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
923 define as weak alias of __fesetenv. Use libm_hidden_weak.
924 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
925 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
926 define as weak alias of __fesetenv. Use libm_hidden_weak.
927 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
928 libm_hidden_def.
929 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
930 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
931 Likewise.
932 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
933 define as weak alias of __fesetenv. Use libm_hidden_weak.
934 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
935 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
936 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
937 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
938 and define as weak alias of __fesetenv. Use libm_hidden_weak.
939 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
940 __fesetenv instead of fesetenv.
941 (libc_feresetround_noex_ctx): Likewise.
942 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
943 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
944 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
945 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
946 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
947 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
948 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
949 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
950 (__feupdateenv): Likewise.
951 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
952 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
953 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
954 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
955
38949026
AJ
9562015-01-06 Aurelien Jarno <aurelien@aurel32.net>
957
1cf98e27 958 [BZ #17806]
38949026
AJ
959 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
960 addresses have been freed.
961
5fe55e9c
AJ
9622015-01-06 Aurelien Jarno <aurelien@aurel32.net>
963
964 * resolv/res_init.c (__res_vinit): Improve comments about nserv
965 and nservall.
966
dc8ab018
OB
9672015-01-06 Ondřej Bílka <neleai@seznam.cz>
968
969 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
970 Clean up check_pf allocation pattern. addresses
971
14bb4e57
AZ
9722015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973
974 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
975 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
976 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
977 * nptl/pthread_exit.c (__pthread_exit): Likewise.
978 * nptl/pthread_join.c (pthread_join): Likewise.
979 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
980 * sysdeps/posix/waitid.c (__waitid): Likewise.
981 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
982 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
983 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
984 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
985 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
986 Likewise.
987 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
988 (__libc_pread64): Likewise.
989 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
990 (__libc_pwrite): Likewise.
991 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
992 (__libc_pwrite64): Likewsie.
993 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
994 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
995 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
996 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
997 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
998 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
999 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1001 Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1003 (__libc_pread64): Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1005 Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1007 (__libc_pwrite64): Likewise.
1008 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1009 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1010 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1011 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1012 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1013 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1014 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1015 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1016 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1017 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1018 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1019 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1020 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1021 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1022 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1024 Likewise.
1025
10a5e112
AS
10262015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1027
1028 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1029 (CFLAGS-test-double.c): Likewise.
1030 (CFLAGS-test-ldouble.c): Likewise.
1031 (CPPFLAGS-test-ifloat.c): Likewise.
1032 (CPPFLAGS-test-idouble.c): Likewise.
1033 (CPPFLAGS-test-ildoubl.c): Likewise.
1034 (CFLAGS-test-test-fenv.c): Remove variable.
1035 (CFLAGS-test-misc.c): Likewise.
1036
57ada0e7
L
10372015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 [BZ #17797]
1040 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1041 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1042 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1043 CLOCKS_PER_SEC == 1000000.
1044 * time/clocktest.c (main): Replace %ld with %jd and cast to
1045 intmax_t.
1046
46abb64d
RM
10472015-01-05 Roland McGrath <roland@hack.frob.com>
1048
1049 * sysdeps/generic/unwind-resume.h: New file.
1050 * sysdeps/gnu/unwind-resume.c: Include it.
1051 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1052 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1053 argument list.
1054 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1055 global rather than static.
1056 (_Unwind_Resume): Update user.
1057 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1058 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1059 rather than static. Add __attribute__ ((cold)).
1060 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1061 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1062 * sysdeps/arm/arm-unwind-resume.S: New file.
1063 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1064 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1065 * sysdeps/arm/Makefile [$(subdir) = csu]
1066 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1067 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1068 Add rt-arm-unwind-resume.
1069 [$(subdir) = nptl]
1070 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1071 Add pt-arm-unwind-resume.
1072 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1073 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1074
ef9faf13
JM
10752015-01-05 Joseph Myers <joseph@codesourcery.com>
1076
1077 [BZ #17748]
1078 * include/fenv.h (__feholdexcept): Declare. Use
1079 libm_hidden_proto.
1080 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1081 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1082 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1083 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1084 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1085 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1086 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1087 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1088 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1089 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1090 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1091 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1092 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1093 (feholdexcept): Likewise.
1094 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1095 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1096 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1097 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1098 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1099 __feholdexcept instead of feholdexcept.
1100 (default_libc_feholdexcept_setround): Likewise.
1101
295a453e
SE
11022015-01-05 Steve Ellcey <sellcey@imgtec.com>
1103
1104 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1105 to avoid using stl/str to align destination.
1106
882c4b9f
SE
11072015-01-05 Steve Ellcey <sellcey@imgtec.com>
1108
1109 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1110
ac4c11f5
JM
11112015-01-05 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #17796]
1114 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1115 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1116 Define as weak alias not strong alias.
1117
03403e30
SE
11182015-01-05 Steve Ellcey <sellcey@imgtec.com>
1119
1120 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1121 bltzal with addiupc.
1122 (RTLD_START): Ditto.
1123
1dca195e
CM
11242015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1125
00b8b9ba
SP
1126 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1127 for __vdso_* functions in declarations.
1128 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1129 definitions.
1130 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1131 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1132
1dca195e
CM
1133 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1134 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1135 function with cast from llround().
1136 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1137 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1138 Define.
1139
a287953a
JM
11402015-01-05 Joseph Myers <joseph@codesourcery.com>
1141
ab70da77
JM
1142 [BZ #17793]
1143 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1144 Define as weak alias not strong alias.
1145
b8986484
JM
1146 [BZ #17635]
1147 * ctype/ctype-c99.c: New file. isblank implementation moved from
1148 ...
1149 * ctype/ctype-extn.c: ... here.
1150 (__isblank_l): Move to ...
1151 * ctype/ctype-c99_l.c: ... here. New file.
1152 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1153 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1154 Remove variable.
1155 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1156 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1157 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1158 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1159 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1160
a287953a
JM
1161 [BZ #17777]
1162 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1163 (posix_fadvise64): Define as weak alias not strong alias.
1164 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1165 (posix_fallocate64): Likewise.
1166 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1167 Remove variable.
1168 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1169 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1170 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1171 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1172 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1173
b1efe3bb
MF
11742015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1175
1176 [BZ #16191]
1177 * NEWS: Mention bug fix.
1178 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1179 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1180 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1181 (HOST_STACK_END_ADDR): Likewise.
1182
9706dc5f
JM
11832015-01-02 Joseph Myers <joseph@codesourcery.com>
1184
b93c2205
JM
1185 [BZ #17748]
1186 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1187 * math/fegetround.c (fegetround): Rename to __fegetround and
1188 define as weak alias of __fegetround. Use libm_hidden_weak.
1189 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1190 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1191 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1192 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1193 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1194 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1195 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1196 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1197 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1198 Undefine after rather than before function definition; use
1199 parentheses around function name in definition.
1200 (__fegetround): Also undefine macro after function definition.
1201 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1202 __fegetround and define as weak alias of __fegetround. Use
1203 libm_hidden_weak. Do not undefine as macro.
1204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1205 Likewise.
1206 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1207 __fegetround and define as weak alias of __fegetround. Use
1208 libm_hidden_weak.
1209 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1210 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1211 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1212 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1213 __fegetround and define as weak alias of __fegetround. Use
1214 libm_hidden_weak.
1215 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1216 __fegetround instead of fegetround.
1217
253a59cc
JM
1218 [BZ #17782]
1219 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1220 Condition macro definition on [__USE_MISC].
1221
27dae011
JM
1222 [BZ #17781]
1223 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1224 (struct sigaction): Change type of sa_flags field to int.
1225
172019c0
JM
1226 [BZ #17780]
1227 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1228 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1229 __glibc_reserved0.
1230
522ad1d6
JM
1231 * nptl/version.c (banner): Use single year in copyright notice.
1232
9706dc5f
JM
1233 * NEWS: Update copyright dates.
1234 * catgets/gencat.c (print_version): Likewise.
1235 * csu/version.c (banner): Likewise.
1236 * debug/catchsegv.sh: Likewise.
1237 * debug/pcprofiledump.c (print_version): Likewise.
1238 * debug/xtrace.sh (do_version): Likewise.
1239 * elf/ldconfig.c (print_version): Likewise.
1240 * elf/ldd.bash.in: Likewise.
1241 * elf/pldd.c (print_version): Likewise.
1242 * elf/sotruss.sh: Likewise.
1243 * elf/sprof.c (print_version): Likewise.
1244 * iconv/iconv_prog.c (print_version): Likewise.
1245 * iconv/iconvconfig.c (print_version): Likewise.
1246 * locale/programs/locale.c (print_version): Likewise.
1247 * locale/programs/localedef.c (print_version): Likewise.
1248 * login/programs/pt_chown.c (print_version): Likewise.
1249 * malloc/memusage.sh (do_version): Likewise.
1250 * malloc/memusagestat.c (print_version): Likewise.
1251 * malloc/mtrace.pl: Likewise.
1252 * manual/libc.texinfo: Likewise.
1253 * nptl/version.c (banner): Likewise.
1254 * nscd/nscd.c (print_version): Likewise.
1255 * nss/getent.c (print_version): Likewise.
1256 * nss/makedb.c (print_version): Likewise.
1257 * posix/getconf.c (main): Likewise.
1258 * scripts/test-installation.pl: Likewise.
1259 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1260
b8607aac
WN
12612015-01-02 Will Newton <will.newton@linaro.org>
1262
1263 * sysdeps/arm/armv7/configure: Removed.
1264 * sysdeps/arm/armv7/configure.ac: Likewise.
1265
b168057a
JM
12662015-01-02 Joseph Myers <joseph@codesourcery.com>
1267
1268 * All files with FSF copyright notices: Update copyright dates
1269 using scripts/update-copyrights.
1270 * intl/plural.c: Regenerated.
1271 * locale/programs/charmap-kw.h: Likewise.
1272 * locale/programs/locfile-kw.h: Likewise.
1273
b217c15f
SP
12742015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1275
1276 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1277
73a268c7
JM
12782014-12-31 Joseph Myers <joseph@codesourcery.com>
1279
1280 [BZ #17748]
1281 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1282 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1283 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1284 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1285 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1286 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1287 define as weak alias of __fegetenv. Use libm_hidden_weak.
1288 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1289 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1290 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1291 define as weak alias of __fegetenv. Use libm_hidden_weak.
1292 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1293 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1294 define as weak alias of __fegetenv. Use libm_hidden_weak.
1295 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1296 libm_hidden_def.
1297 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1298 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1299 Likewise.
1300 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1301 define as weak alias of __fegetenv. Use libm_hidden_weak.
1302 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1303 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1304 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1305 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1306 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1307 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1308 __fegetenv instead of fegetenv.
1309 (libc_feholdsetround_noex_ctx): Likewise.
1310
0bd95672
MF
13112014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1312
1313 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1314 (Elf_MIPS_ABIFlags_v0): New structure.
1315 (EF_MIPS_FP64): Define.
1316 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1317 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1318 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1319 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1320 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1321 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1322 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1323 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1324 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1325 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1326 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1327 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1328 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1329 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1330 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1331 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1332 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1333 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1334 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1335 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1336 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1337 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1338 field.
1339 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1340 EF_MIPS_FP64.
1341 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1342 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1343 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1344 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1345 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1346 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1347 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1348 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1349 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1350 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1351 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1352 record the current FP ABI extension.
1353 (mips-mode-switch): Define to show if kernel headers support mode
1354 switching.
1355 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1356 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1357 supported SYSV ABI version to 3.
1358 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1359 feature.
1360
f59ad976
RS
13612014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1362 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1365 path.
1366 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1367
4a3d3999
JM
13682014-12-31 Joseph Myers <joseph@codesourcery.com>
1369
1370 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1371 __fegetround and redefine to call __fegetround. Remove condition
1372 on [!__NO_MATH_INLINES].
1373 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1374 function.
1375 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1376 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1377 Remove macro.
1378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1379 instead of <fenv_libc.h>.
1380 (__llrintl): Call fegetround instead of __fegetround.
1381 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1382 instead of <fenv_libc.h>.
1383 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1384 (__lrintl): Call fegetround instead of __fegetround.
1385 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1386 instead of <fenv_libc.h>.
1387 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1388 (__rintl): Call fegetround instead of __fegetround.
1389
195f3afc
SP
13902014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1391
1392 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1393 arrays.
1394
7062bd42
L
13952014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1396
1397 [BZ #17775]
1398 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1399 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1400 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1401
07256e18
AS
14022014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1403
1404 * sysdeps/i386/tls-macros.h: Include <features.h>.
1405 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1406 (TLS_IE): Likewise.
1407 (TLS_LD): Likewise.
1408 (TLS_GD): Likewise.
1409 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1410 define for GCC >= 5.0.
1411
1ff950ad
CM
14122014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1413
1414 * math/test-fenv.c (test_single_exception, set_single_exc,
1415 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1416 feexcp_mask_test, feenable_test, fe_single_test): Add
1417 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1418 case where they are not used.
1419 * math/libm-test.inc: Likewise.
1420 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1421 unused in the absence of FP rounding/exception support.
1422 * stdio-common/tst-printf-round.c: Likewise.
1423 * stdlib/tst-strtod-round.c: Likewise.
1424 * stdlib/tst-strtod-underflow.c: Likewise.
1425
0747f818
JM
14262014-12-30 Joseph Myers <joseph@codesourcery.com>
1427
1428 [BZ #17723]
1429 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1430 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1431 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1432 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1433 libm_hidden_weak.
1434 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1435 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1436 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1437 libm_hidden_def.
1438 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1439 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1440 libm_hidden_weak.
1441 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1442 Likewise.
1443 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1444 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1445 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1446 libm_hidden_weak.
1447 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1448 libm_hidden_def.
1449 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1450 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1451 (__feraiseexcept): Likewise.
1452 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1453 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1454 libm_hidden_weak.
1455 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1456 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1457 libm_hidden_def.
1458 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1459 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1460 Use libm_hidden_def.
1461 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1462 libm_hidden_def.
1463 (feraiseexcept): Define as weak not strong alias. Use
1464 libm_hidden_weak.
1465 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1466 New inline function. Factored out of ...
1467 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1468 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1469 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1470 feraiseexcept.
1471 * math/w_acos.c (__acos): Likewise.
1472 * math/w_asin.c (__asin): Likewise.
1473 * math/w_ilogb.c (__ilogb): Likewise.
1474 * math/w_j0.c (y0): Likewise.
1475 * math/w_j1.c (y1): Likewise.
1476 * math/w_jn.c (yn): Likewise.
1477 * math/w_log.c (__log): Likewise.
1478 * math/w_log10.c (__log10): Likewise.
1479 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1480 * sysdeps/aarch64/fpu/math_private.h
1481 (libc_feupdateenv_test_aarch64): Likewise.
1482 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1483 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1484 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1485 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1486 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1487 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1488 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1489 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1490 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1491 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1492
8d2b2763
L
14932014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 [BZ #17732]
1496 * io/test-utime.c (main): Replace %ld with %jd and cast to
1497 intmax_t.
41fad830 1498 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1499 * nptl/tst-mutex5.c: Include <stdint.h>.
1500 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1501 * posix/tst-regex.c (run_test): Likewise.
1502 (run_test_backwards): Likewise.
5d619de4
L
1503 * rt/tst-clock.c: Include <stdint.h>.
1504 (clock_test): Replace %ld with %jd and cast to intmax_t.
1505 * rt/tst-cpuclock1.c: Include <stdint.h>.
1506 (do_test): Replace %lu with %ju and cast to uintmax_t.
1507 * rt/tst-cpuclock2.c: Include <stdint.h>.
1508 (do_test): Replace %lu with %ju and cast to uintmax_t.
1509 * rt/tst-mqueue1.c: Include <stdint.h>.
1510 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1511 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1512 intmax_t.
1513 * rt/tst-mqueue4.c (do_test): Likewise.
1514 * rt/tst-timer4.c: Include <stdint.h>.
1515 (check_ts): Replace %ld with %jd and cast to intmax_t.
1516 (do_test): Likewise.
ad86fbc3
L
1517 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1518 and cast to intmax_t.
37f46900 1519 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1520 * time/clocktest.c (main): Likewise.
1521 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1522 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1523
8b4416d8
AS
15242014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1525 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1528 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1529 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1530 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1531 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1532 version if bit_Fast_Unaligned_Load is set.
1533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1540 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1541 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1542 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1543 to 4.
1544 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1545 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1546 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1547 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1548
e47b8d3b
CM
15492014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1550
6d6d7fde
CM
1551 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1552 instead of #if to avoid a Wundef warning.
1553 * stdlib/tst-limits.c (do_test): Likewise.
1554
cd2c37c9
CM
1555 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1556 parallel other exception macros.
1557 (fegetenv): Convert from macro to extern inline so that it applies
1558 retroactively to inline functions already seen by the compiler.
1559 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1560
e47b8d3b
CM
1561 * posix/Makefile (before-compile): Use $(objpfx) for
1562 posix-conf-vars-def.h.
1563
4a6aca7b
SP
15642014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
7910c2ae
SP
1566 * posix/getconf.c (main): Use size_t for type of I.
1567 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1568 NSPEC.
1569
50cbbaa9
SP
1570 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1571 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1572 * posix/posix-envs.def: Likewise.
1573 * sysdeps/posix/sysconf.c: Likewise.
1574 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1575 (specs): Remove array.
1576 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1577 array.
1578
3b566046
SP
1579 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1580 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1581 (__sysconf): Use CONF_IS_* macros.
1582
4a6aca7b
SP
1583 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1584 ($(objpfx)posix-conf-vars-def.h): New target.
1585 * posix/posix-conf-vars.list: New file.
1586 * posix/posix-conf-vars.h: New file.
1587 * posix/confstr.c: Include posix-conf-vars.h.
1588 (confstr): Use CONF_IS_* macros.
1589 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1590 CONF_IS_* macros.
1591 * scripts/gen-posix-conf-vars.awk: New file.
1592
7c1395a7
CM
15932014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1594
0025b4cc
CM
1595 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1596 fegetround): Add no-op macros to avoid linknamespace issues.
1597
d8aaf74b
CM
1598 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1599 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1600
5d24aa60
CM
1601 * sysdeps/unix/sysv/linux/tile/sysdep.h
1602 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1603 assembly-specific section to avoid a redefinition warning.
1604
7c1395a7
CM
1605 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1606 long before casting to pointer to avoid a cast warning.
1607
3c87c616
CM
16082014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1609
1610 * sysdeps/tile/tilegx/Implies: New file.
1611
f559d8cf
RE
16122014-12-23 Richard Earnshaw <rearnsha@arm.com>
1613
1614 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1615
7d81e8d6
FW
16162014-12-23 Florian Weimer <fweimer@redhat.com>
1617
1618 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1619
90aa3d09
JM
16202014-12-22 Joseph Myers <joseph@codesourcery.com>
1621
1622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1623 not define.
1624 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1625 <kernel-features.h>.
1626 (__utimes) [__NR_utimes]: Make code unconditional.
1627 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1629 (__ASSUME_UTIMES): Do not undefine.
1630 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1631 (__ASSUME_UTIMES): Likewise.
1632 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1633 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1634 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1635 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1636
4c0c0e2a
SE
16372014-12-22 Steve Ellcey <sellcey@imgtec.com>
1638
1639 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1640
0dacd7a3
CM
16412014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1642
b638f96a
CM
1643 [BZ #17747]
1644 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1645 alias to weak alias for j0l, y0l.
1646 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1647 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1648
0dacd7a3
CM
1649 [BZ #17746]
1650 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1651 conversion.
1652
528479c4
SE
16532014-12-22 Steve Ellcey <sellcey@imgtec.com>
1654
1655 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1656 to zero if not already defined.
1657
f56f9124
JM
16582014-12-22 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #17724]
1661 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1662 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1663 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1664 (char *) casts added.
1665 * sysdeps/ieee754/k_standardf.c: New file.
1666 * sysdeps/ieee754/k_standardl.c: Likewise.
1667 * math/Makefile (libm-support): Remove k_standard.
1668 (libm-calls): Add k_standard.
1669
8622d556
WD
16702014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1671
1672 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1673 Optimize to avoid an unnecessary FPCR read.
1674
f3806bdb
WD
16752014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1676
1677 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1678 Optimize to reduce FPCR/FPSR accesses.
1679
9b47df58
WD
16802014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1681
1682 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1683 Call libc_fetestexcept_aarch64.
1684
97be3cac
WD
16852014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1686
1687 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1688 Call libc_fesetround_aarch64.
1689
935ab817
JM
16902014-12-22 Joseph Myers <joseph@codesourcery.com>
1691
1692 [BZ #17733]
1693 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1694 (__bind): Do not define as weak alias.
1695 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1696 define.
1697 (__getsockname): Do not define as weak alias.
1698
cc8623f1
WN
16992014-12-22 Will Newton <will.newton@linaro.org>
1700
1701 * manual/install.texi: Document that we require bison 2.7
1702 or above.
1703 * INSTALL: Regenerate.
1704 * configure.ac: Use AC_CHECK_PROG_VER instead of
1705 AC_PATH_PROG when checking for bison and check for
1706 version 2.7 or above.
1707 * configure: Regenerate.
1708
a19ca65a
CM
17092014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1710
92901170 1711 [BZ #17745]
e969965a
CM
1712 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1713 * sysdeps/tile/ffsll.c (ffsll): To here.
1714
a19ca65a
CM
1715 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1716
050f7298
L
17172014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1720 if not defined.
1721 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1722 definition.
1723 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1724 hidden ___tls_get_addr.
1725 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1726 hidden __tls_get_addr.
1727 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1728 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1729 Likewise.
1730
6df5547e
AS
17312014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1732
1733 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1734 _dl_init call.
1735
7432d613
L
17362014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1737
1738 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1739 from "call _dl_init@PLT".
1740 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1741
98fe149e
AK
17422014-12-21 Anders Kaseorg <andersk@mit.edu>
1743
1744 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1745 guarantees.
1746
d12455f5
CM
17472014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1748
1749 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1750
95dee05f
CM
17512014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1752
92901170 1753 [BZ #17744]
95dee05f
CM
1754 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1755 strnlen.
1756
2ef4b74a
SE
17572014-12-19 Steve Ellcey <sellcey@imgtec.com>
1758
1759 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1760 of multu on MIPSr6.
1761 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1762 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1763 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1764 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1765 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1766
17672014-12-19 Steve Ellcey <sellcey@imgtec.com>
1768
1769 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1770 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1771 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1772 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1773 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1774 mips32r6/mips64r6.
1775 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1776
3eb38795
OB
17772014-12-19 Ondřej Bílka <neleai@seznam.cz>
1778
1779 * string/strncat.c (STRNCAT): Simplify implementation.
1780
6d4188dd
DM
17812014-12-19 David S. Miller <davem@davemloft.net>
1782
0d4ba8be
DM
1783 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1784 access the quad as both a long double and as a series of 4 words.
1785
6d4188dd
DM
1786 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1787 link_map->l_info array access.
1788
4ef91cdc
CM
17892014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1790
804c54f7
CM
1791 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1792
4ef91cdc
CM
1793 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1794 * math/atest-exp2.c (TIMEOUT): Likewise.
1795 * math/atest-sincos.c (TIMEOUT): Likewise.
1796
afd176d6
L
17972014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1800 -Wno-error with -fno-builtin-lround.
1801
a4a43a90
TR
18022014-12-19 Torvald Riegel <triegel@redhat.com>
1803
1804 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1805 Contains futex constants and functions moved over from ...
1806 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1807 <lowlevellock-futex.h>.
1808 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1809 (lll_timedwait_tid): Add comments and parentheses around macro
1810 arguments.
1811
76f71081
TR
18122014-12-19 Torvald Riegel <triegel@redhat.com>
1813
1814 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1815 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1816 (__lll_private_flag): Remove.
1817 (lll_futex_wait): Likewise.
1818 (lll_futex_timed_wait): Likewise.
1819 (lll_futex_wake): Likewise.
1820 (lll_futex_requeue): Likewise.
1821 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1822 (__lll_timedwait_tid): Spell out argument names.
1823 (lll_timedwait_tid): Add comments and parentheses around macro
1824 arguments.
1825 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1826 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1827
6b814909
TR
18282014-12-19 Torvald Riegel <triegel@redhat.com>
1829
1830 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1831 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1832 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1833 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1834 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1835 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1836 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1837 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1838 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1839 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1841 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1842 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1843 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1844 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1845 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1846 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1847 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1848 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1849
9cd4d4ab
L
18502014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 * sysdeps/x86_64/x32/Makefile: New file.
1853
c9c1a2d0
L
18542014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1855
1856 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1857 1L with (mp_limb_t) 1.
1858
af102d95
RM
18592014-12-17 Roland McGrath <roland@hack.frob.com>
1860
dd690454
RM
1861 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1862 * nptl/libc_pthread_init.c: ... here.
1863 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1864 * nptl/register-atfork.c: ... here.
1865
74eb826c
RM
1866 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1867 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1868 Use assert_perror to check its return value.
1869 (__gai_create_helper_thread): Likewise.
1870
c9ce306b
RM
1871 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1872
af102d95
RM
1873 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1874
8ac5a76a
JM
18752014-12-17 Joseph Myers <joseph@codesourcery.com>
1876
ea41469b
JM
1877 [BZ #17725]
1878 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1879 __profil_counter.
1880 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1881 Likewise.
1882 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1883 Likewise.
1884 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1885 Likewise.
1886 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1887 (profil_counter): Likewise.
1888 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1889 (profil_counter): Likewise.
1890 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1891 Likewise.
1892 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1893 Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1895 (profil_counter): Likewise.
1896 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1897 Likewise.
1898 [!__profil_counter] (profil_counter): Define as weak alias of
1899 __profil_counter.
1900 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1901 (profil_counter): Rename to __profil_counter.
1902 [!__profil_counter] (profil_counter): Define as weak alias of
1903 __profil_counter.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1905 (profil_counter): Rename to __profil_counter.
1906 [!__profil_counter] (profil_counter): Define as weak alias of
1907 __profil_counter.
1908 * sysdeps/posix/profil.c: Update comment referring to
1909 profil_counter.
1910 (__profil): Use __profil_counter instead of profil_counter.
1911 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1912 __profil_counter. Use __profil_counter_ushort and
1913 __profil_counter_uint in definitions.
1914 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1915 instead of profil_counter_uint and profil_counter_ushort.
1916
8ac5a76a
JM
1917 [BZ #17722]
1918 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1919 define as weak alias of __inet_makeaddr.
1920 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1921 as weak alias of __inet_addr.
1922 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1923 as weak alias of __inet_pton. Use libc_hidden_weak.
1924 * include/arpa/inet.h (__inet_pton): Declare. Use
1925 libc_hidden_proto.
1926 (inet_makeaddr): Don't use libc_hidden_proto.
1927 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1928 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1929 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1930 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1931 Remove variable.
1932 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1933 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1934
66ce3cb1
SE
19352014-12-17 Steve Ellcey <sellcey@imgtec.com>
1936
1937 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1938
d22ce01b
SL
19392014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1940
1941 * stdio-common/bug-vfprintf-nargs.c (do_test):
1942 Cast value to intptr_t to avoid format warning
1943 for usage with PRIdPTR printing macro.
1944
eca2772b
SL
19452014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1946
1947 * libio/tst-widetext.c (do_test):
1948 Use format type %td instead of %Zd for ptrdiff_t
1949 in order to avoid format warning.
1950
bdf079da
AS
19512014-12-17 Andreas Schwab <schwab@suse.de>
1952
1953 * nscd/mem.c (gc): Add size_t cast to match printf format.
1954
3eb5d2fc
RM
19552014-12-16 Roland McGrath <roland@hack.frob.com>
1956
1957 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1958 (init): Apply PTR_MANGLE to pointers before storing them.
1959 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1960 before using them.
1961
d003ada2
JM
19622014-12-16 Joseph Myers <joseph@codesourcery.com>
1963
380292ba
JM
1964 [BZ #17719]
1965 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1966 define as weak alias of __memrchr.
1967 (__memrchr): Do not define as strong alias of memrchr.
1968 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1969 Remove variable.
1970 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1971 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1972 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1973
9a44d530
JM
1974 [BZ #17717]
1975 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1976 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1977 (if_indextoname): Rename to __if_indextoname and define as weak
1978 alias of __if_indextoname. Use libc_hidden_weak.
1979 (if_freenameindex): Rename to __if_freenameindex and define as
1980 weak alias of __if_freenameindex.
1981 (if_nameindex): Rename to __if_nameindex and define as weak alias
1982 of __if_nameindex.
1983 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1984 __if_nametoindex and define as weak alias of __if_nametoindex.
1985 Use libc_hidden_weak.
1986 (if_freenameindex): Rename to __if_freenameindex and define as
1987 weak alias of __if_freenameindex.
1988 (if_nameindex): Rename to __if_nameindex and define as weak alias
1989 of __if_nameindex.
1990 (if_indextoname): Rename to __if_indextoname and define as weak
1991 alias of __if_indextoname. Use libc_hidden_weak.
1992 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1993 __if_nametoindex and define as weak alias of __if_nametoindex.
1994 Use libc_hidden_weak.
1995 (if_freenameindex): Rename to __if_freenameindex and define as
1996 weak alias of __if_freenameindex. Use libc_hidden_weak.
1997 (if_nameindex_netlink): Use __if_freenameindex instead of
1998 if_freenameindex.
1999 (if_nameindex): Rename to __if_nameindex and define as weak alias
2000 of __if_nameindex. Use libc_hidden_weak.
2001 (if_indextoname): Rename to __if_indextoname and define as weak
2002 alias of __if_indextoname. Use libc_hidden_weak.
2003 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2004 libc_hidden_proto.
2005 [!_ISOMAC] (__if_freenameindex): Likewise.
2006 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2007 if_nametoindex.
2008 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2009 variable.
2010 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2011 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2012 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2013 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2014 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2015 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2016 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2017
d003ada2
JM
2018 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2019 Remove variable.
2020 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2021 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2022
a0d424ef
SP
20232014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2024
0cd85520
SP
2025 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2026 subscript above bounds'
2027
a0d424ef
SP
2028 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2029 bounds.
2030
0e426475
AS
20312014-12-16 Arjun Shankar <arjun.is@lostca.se>
2032
8b460906
AS
2033 * libio/tst-fopenloc.c: Use test-skeleton.c.
2034
fa13e15b
AS
2035 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2036 (entry): Rename to ITEM.
2037 (do_test, comp): Adjust.
2038
0e426475
AS
2039 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2040
4f646bce
TR
20412014-12-16 Torvald Riegel <triegel@redhat.com>
2042
2043 * string/tester.c: Include <libc-internal.h>.
2044 (test_memset): Ignore -Wmemset-transposed-args.
2045
a07c4427
TR
20462014-12-16 Torvald Riegel <triegel@redhat.com>
2047
2048 * misc/tst-mntent2.c (do_test): Fix warning.
2049
1469f466
TR
20502014-12-16 Torvald Riegel <triegel@redhat.com>
2051
2052 * elf/tst-unique4lib.cc(a): Mark as used.
2053
11e3417a
FW
20542014-12-16 Florian Weimer <fweimer@redhat.com>
2055
2056 [BZ #17630]
2057 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2058 names.
2059
ae61fc7b
AM
20602014-12-16 Allan McRae <allan@archlinux.org>
2061
2062 * stdio-common/Makefile (tests): Re-add bug26.
2063
363a9899
OB
20642014-12-15 Ondřej Bílka <neleai@seznam.cz>
2065
2066 [BZ #17657]
2067 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2068 static array.
2069
d52c62df
TR
20702014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2071
2072 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2073 (__lll_lock_wait): Likewise.
2074 (__lll_timedlock_wait): Likewise.
2075 (__lll_timedwait_tid): Likewise.
2076 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2077 (__lll_robust_timedlock_wait): Likewise.
2078 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2079 (lll_cond_trylock): Likewise.
2080 (__lll_lock): Likewise.
2081 (__lll_robust_lock): Likewise.
2082 (__lll_cond_lock): Likewise.
2083 (lll_robust_cond_lock): Likewise.
2084 (__lll_timedlock): Likewise.
2085 (__lll_robust_timedlock): Likewise.
2086 (__lll_unlock): Likewise.
2087 (__lll_robust_unlock): Likewise.
2088 (lll_wait_tid): Likewise.
2089 (lll_timedwait_tid): Likewise.
2090
045a6bcd
TR
20912014-12-15 Torvald Riegel <triegel@redhat.com>
2092
2093 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2094
7f786dc1
TR
20952014-12-15 Torvald Riegel <triegel@redhat.com>
2096
2097 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2098
e7e21cba
AZ
20992014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2100
2101 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2102 * stdio-common/tst-sprintf.c: Likewise.
2103
bc89c0fc
TR
21042014-12-15 Torvald Riegel <triegel@redhat.com>
2105
2106 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2107
a5357b7c
JL
21082014-12-15 Jeff Law <law@redhat.com>
2109
2110 [BZ #16617]
2111 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2112 on the heap. (CVE-2012-3406)
2113 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2114 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2115 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2116
3a12c70f
WN
21172014-12-15 Will Newton <will.newton@linaro.org>
2118
2119 * manual/install.texi: Bump required version of texinfo
2120 to 4.7 from 4.5.
2121 * INSTALL: Regenerated.
2122 * configure.ac: Check for makeinfo version 4.7 and above.
2123 * configure: Regenerated.
2124
e4f639e4
RM
21252014-12-12 Roland McGrath <roland@hack.frob.com>
2126
2127 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2128 PREFIX, string constant to insert between directory and name.
2129 * sysdeps/posix/shm_open.c: Update caller.
2130 * sysdeps/posix/shm_unlink.c: Likewise.
2131 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2132 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2133 (SEM_SHM_PREFIX): New macro.
2134 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2135 [$(have-thread-library) = no].
2136 * nptl/Makefile (libpthread-routines): Add shm-directory.
2137 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2138 * sysdeps/nptl/shm-directory.h: New file.
2139 * sysdeps/posix/shm-directory.c
2140 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2141 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2142 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2143 INTERNAL_SYSCALL.
2144 (__where_is_shmfs): Function removed.
2145 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2146 Variables removed.
2147 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2148 Use SHM_GET_NAME.
2149 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2150
2151 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2152 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2153 unconditional for use inside libpthread.
2154 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2155
439c43f6
RM
21562014-12-12 Roland McGrath <roland@hack.frob.com>
2157
c76d1ff5
RM
2158 * nptl/pthread_getaffinity.c: New file.
2159 * nptl/pthread_setaffinity.c: New file.
2160 * nptl/pthread_getname.c: New file.
2161 * nptl/pthread_setname.c: New file.
2162
439c43f6
RM
2163 * nptl/pthread_create.c (START_THREAD_DEFN)
2164 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2165
48e435cd
SL
21662014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2167 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168
2169 * resolv/res_send.c (send_vc): Disable warning resplen may
2170 be used uninitialized.
2171
9d9c0019
SL
21722014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2173
2174 * nptl/tst-mutex6.c
2175 (ATTR_NULL): New define checks ATTR against NULL.
2176 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2177 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2178
9173840b
JL
21792014-12-11 James Lemke <jwlemke@codesourcery.com>
2180
2181 [BZ #17581]
2182 * malloc/hooks.c
2183 (mem2mem_check): Revert my previous change.
2184 (malloc_check_get_size): Revert my previous change.
2185 (mem2chunk_check): Revert my previous change.
2186
78e21c5d
RM
21872014-12-11 Roland McGrath <roland@hack.frob.com>
2188
2189 * sysdeps/posix/shm-directory.c: New file.
2190 * sysdeps/posix/shm-directory.h: New file.
2191 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2192 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2193 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2194 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2195 Transmute EPERM to EACCES.
2196 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2197 from ...
2198 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2199 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2200
f82c43af
KK
22012014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2202
2203 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2204 pointer and cast to uintptr_t.
2205 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2206 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2207 Add cast to avoid warning.
2208 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2209
fc00cf7b
JM
22102014-12-11 Joseph Myers <joseph@codesourcery.com>
2211
2212 * nptl/semaphore.h: Move to ...
2213 * sysdeps/pthread/semaphore.h: ... here.
2214 * Makefile (installed-headers): Change nptl/semaphore.h to
2215 sysdeps/pthread/semaphore.h.
2216
1c4053db
RM
22172014-12-11 Roland McGrath <roland@hack.frob.com>
2218
73b0c1a1
RM
2219 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2220 generated error format strings.
2221
1c4053db
RM
2222 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2223 -Wformat-extra-args warnings for scanf formats.
2224 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2225 test of zero-length format (duh).
2226 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2227 corner-case scanf format test.
2228 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2229 generated fprintf format string.
2230 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2231 corner-case sprintf format tests.
2232 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2233 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2234 -Wformat-extra-args warnings throughout.
2235 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2236 (CFLAGS-scanf4.c): Likewise.
2237 (CFLAGS-scanf7.c): Likewise.
2238 (CFLAGS-tst-sprintf.c): Likewise.
2239 (CFLAGS-tst-printf.c): Likewise.
2240 (CFLAGS-tst-printfsz.c): Likewise.
2241
47d51f4f
JM
22422014-12-11 Joseph Myers <joseph@codesourcery.com>
2243
a1edbf3c
JM
2244 * include/cpio.h: New file.
2245 * include/fmtmsg.h: Likewise.
2246
47d51f4f
JM
2247 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2248 corresponding format argument to size_t.
2249 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2250 arguments.
2251 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2252 corresponding format argument to size_t.
2253 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2254 arguments.
2255 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2256 corresponding format argument to size_t.
2257 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2258 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2259 (CFLAGS-tst-mbswcs2.c): Likewise.
2260 (CFLAGS-tst-mbswcs3.c): Likewise.
2261 (CFLAGS-tst-mbswcs4.c): Likewise.
2262 (CFLAGS-tst-mbswcs5.c): Likewise.
2263 (CFLAGS-tst-trans.c): Likewise
2264
e9813cfb
RM
22652014-12-11 Roland McGrath <roland@hack.frob.com>
2266
2267 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2268 rather than assuming they won't contain any '%'s.
2269
f627ca82
CM
22702014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2271
2272 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2273 inhibit_loop_to_libcall to avoid recursive calls.
2274 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2275 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2276
7f296942
AZ
22772014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2278
2279 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2280 prototype.
2281
d0276e18
SE
22822014-12-11 Steve Ellcey <sellcey@imgtec.com>
2283
2284 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2285 integer value instead of boolean.
2286
fc56e970
SE
22872014-12-11 Steve Ellcey <sellcey@imgtec.com>
2288
2289 * malloc/malloc.c: Fix powerof2 check.
2290
40e53917
SL
22912014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2292
2293 * locale/programs/locfile.h (maybe_swap_uint32):
2294 Remove inline and add unused attribute.
2295
1ea166df
SL
22962014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2297
9d9c0019 2298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2299 Truncating assembler expression to a .long expression.
2300
acf869f4
AS
23012014-12-11 Andreas Schwab <schwab@suse.de>
2302
2303 * elf/rtld.c (struct map_args): Constify str member.
2304 (do_preload): Constify fname argument.
2305
9d969099
AZ
23062014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307
2308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2309 constants definition.
2310
da5bcaa4
AS
23112014-12-11 Andreas Schwab <schwab@suse.de>
2312
b0a3c164
AS
2313 [BZ #16657]
2314 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2315 FORCE_ELISION instead of DO_ELISION.
2316 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2317 Remove.
2318 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2319 Likewise.
2320
da5bcaa4
AS
2321 * iconvdata/gconv-modules: Remove duplicate entry.
2322
6d248857
WN
23232014-12-11 Will Newton <will.newton@linaro.org>
2324
2325 Merge gettext 0.19.3 into intl/.
2326
2327 This involves a number of cosmetic changes to comments
2328 and ANSI function definitions and prototypes throughout
2329 all the files. The gettext copyright header is used but
2330 with the date ranges taken from the glibc copy.
2331
2332 * NEWS: Add gettext merge to 2.21.
2333 * intl/bindtextdom.c: Switch to gettext copyright.
2334 Use ANSI definitions and prototypes.
2335 Use gl_* locking primitives rather than __libc_* ones.
2336 Use __builtin_expect rather than __glibc_likely/unlikely.
2337 * intl/dcgettext.c: Switch to gettext copyright.
2338 Use ANSI definitions and prototypes.
2339 * intl/dcigettext.c: Switch to gettext copyright.
2340 Use ANSI definitions and prototypes.
2341 (INTDIV0_RAISES_SIGFPE): New define.
2342 Use gl_* locking primitives rather than __libc_* ones.
2343 Include eval-plural.h instead of plural-eval.c.
2344 Use __builtin_expect rather than __glibc_likely/unlikely.
2345 * intl/dcngettext.c: Switch to gettext copyright.
2346 Use ANSI definitions and prototypes.
2347 * intl/dgettext.c: Likewise.
2348 * intl/dngettext.c: Likewise.
2349 * intl/plural-eval.c: Renamed to...
2350 * intl/eval-plural.h: ...this.
2351 * intl/explodename.c: Switch to gettext copyright.
2352 Use ANSI definitions and prototypes.
2353 (_nl_explode_name): Use strchr instead of __rawmemchr.
2354 * intl/finddomain.c: Switch to gettext copyright.
2355 Use ANSI definitions and prototypes.
2356 Use gl_* locking primitives rather than __libc_* ones.
2357 (_nl_find_domain): Use malloc rather than alloca for
2358 allocation of temporary locale name.
2359 * intl/gettext.c: Switch to gettext copyright.
2360 Use ANSI definitions and prototypes.
2361 * intl/gettextP.h: Switch to gettext copyright.
2362 Use ANSI definitions and prototypes.
2363 Use gl_* locking primitives rather than __libc_* ones.
2364 * intl/gmo.h: Switch to gettext copyright.
2365 (struct sysdep_string): Move struct segment_pair outside of
2366 struct definition.
2367 * intl/hash-string.c: Use ANSI definitions and prototypes.
2368 * intl/hash-string.h: Switch to gettext copyright.
2369 Use ANSI definitions and prototypes.
2370 * intl/l10nflist.c: Switch to gettext copyright.
2371 Use ANSI definitions and prototypes.
2372 (_nl_normalize_codeset): Avoid integer overflow.
2373 * intl/loadinfo.h: Switch to gettext copyright.
2374 Use ANSI definitions and prototypes.
2375 (LIBINTL_DLL_EXPORTED): New define.
2376 (PATH_SEPARATOR): New define.
2377 * intl/loadmsgcat.c: Switch to gettext copyright.
2378 * intl/localealias.c: Switch to gettext copyright.
2379 Use ANSI definitions and prototypes.
2380 (_nl_expand_alias): Use PATH_SEPARATOR.
2381 * intl/ngettext.c: Switch to gettext copyright.
2382 Use ANSI definitions and prototypes.
2383 * intl/plural-exp.c: Likewise.
2384 * intl/plural-exp.h: Switch to gettext copyright.
2385 Use ANSI definitions and prototypes.
2386 (struct expression): Move definition of enum operator outside
2387 of struct definition.
2388 * intl/plural.c: Regenerate.
2389 * intl/plural.y: Switch to gettext copyright.
2390 Use ANSI definitions and prototypes.
2391 Port to bison 3.0.
2392 * intl/textdomain.c: Switch to gettext copyright.
2393 Use ANSI definitions and prototypes.
2394 Use gl_* locking primitives rather than __libc_* ones.
2395
48c43298
SE
23962014-12-10 Steve Ellcey <sellcey@imgtec.com>
2397
2398 * debug/warning-nop.c: Add used atrribute.
2399
2b89bce9
JM
24002014-12-10 Joseph Myers <joseph@codesourcery.com>
2401
c153ac9f
JM
2402 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2403
2b89bce9
JM
2404 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2405 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2406 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2407
2cfbdb9a
JM
24082014-12-10 Joseph Myers <joseph@codesourcery.com>
2409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2410
2411 [BZ #17634]
2412 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2413 Undefine after defining function. Define as weak alias of
2414 __wcschr. Use libc_hidden_weak.
2415 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2416 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2417 (libc_hidden_def): Also define __GI___wcschr alias.
2418 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2419 __wcschr and define as weak alias of __wcschr.
2420 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2421 __wcschr.
2422 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2423 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2424 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2425 libc_hidden_weak. Do not use libc_hidden_def.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2427 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2428 __GI___wcschr alias.
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2430 [IS_IN (libc)] (wcschr): Define as macro expanding to
2431 __redirect_wcschr.
2432 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2433 [IS_IN (libc)] (__wcschr_power6): Likewise.
2434 [IS_IN (libc)] (__wcschr_power7): Likewise.
2435 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2436 instead of wcschr.
2437 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2438 __libc_wcschr.
2439 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2440 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2441 __wcschr and define as weak alias of __wcschr. Use
2442 libc_hidden_builtin_def.
2443 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2444 as weak alias of __wcschr. Use libc_hidden_weak.
2445 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2446 wcschr.
2447 * time/era.c (_nl_init_era_entries): Likewise.
2448 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2449 variable.
2450 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2451 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2452
1b8bf351
JM
24532014-12-10 Joseph Myers <joseph@codesourcery.com>
2454
2455 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2456 format for long int variable.
2457
f5f46d51
AK
24582014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2459
2460 [BZ #10672]
07008f7d 2461 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2462 qsort stable.
2463
217a74a8
AS
24642014-12-10 Andreas Schwab <schwab@suse.de>
2465
2466 [BZ #12847]
2467 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2468 user-controlled locks.
2469
aa76a5c7
RE
24702014-12-10 Richard Earnshaw <rearnsha@arm.com>
2471
2472 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2473 register.
2474
2084e7ca
JM
24752014-12-10 Joseph Myers <joseph@codesourcery.com>
2476
a4ecc9eb
JM
2477 * configure.ac (--disable-werror): New configure option.
2478 (enable_werror): New AC_SUBST.
2479 * configure: Regenerated.
2480 * config.make.in (enable-werror): New variable.
2481 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2482 -Wno-error=undef.
2483 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2484 * manual/install.texi (Configuring and compiling): Document
2485 --disable-werror.
2486 * INSTALL: Regenerated.
2487 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2488 (CFLAGS-tst-chk2.c): Likewise.
2489 (CFLAGS-tst-chk3.c): Likewise.
2490 (CFLAGS-tst-chk4.cc): Likewise.
2491 (CFLAGS-tst-chk5.cc): Likewise.
2492 (CFLAGS-tst-chk6.cc): Likewise.
2493 (CFLAGS-tst-lfschk1.c): Likewise.
2494 (CFLAGS-tst-lfschk2.c): Likewise.
2495 (CFLAGS-tst-lfschk3.c): Likewise.
2496 (CFLAGS-tst-lfschk4.cc): Likewise.
2497 (CFLAGS-tst-lfschk5.cc): Likewise.
2498 (CFLAGS-tst-lfschk6.cc): Likewise.
2499
0f88636c
JM
2500 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2501 (main): Disable -Wdeprecated-declarations around calls to
2502 register_printf_function.
2503
c81e9deb
JM
2504 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2505 (do_test): Disable -Wdiv-by-zero around some calls to
2506 fwrite_unlocked and fread_unlocked.
2507
2084e7ca
JM
2508 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2509 (DIAG_POP_NEEDS_COMMENT): Likewise.
2510 (_DIAG_STR1): Likewise.
2511 (_DIAG_STR): Likewise.
2512 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2513 * stdio-common/bug21.c: Include <libc-internal.h>.
2514 (do_test): Disable -Wformat around call to sscanf.
2515 * stdio-common/scanf14.c: Include <libc-internal.h>.
2516 (main): Disable -Wformat around some calls to scanf functions.
2517
df7ecc6b
TR
25182014-12-09 Torvald Riegel <triegel@redhat.com>
2519
2520 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2521
2aa3862e
AZ
25222014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2523
2524 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2525 stack variable alignment.
2526
c5c2b7c3
JM
25272014-12-06 Joseph Myers <joseph@codesourcery.com>
2528
2529 [BZ #17682]
2530 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2531 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2532 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2533 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2534 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2535 __getrlimit instead of getrlimit.
2536 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2537 __gettimeofday instead of gettimeofday.
2538 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2539 Likewise.
2540 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2541 Likewise.
2542 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2543 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2544 Remove variable.
2545 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2546 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2547
9752c3cd
AZ
25482014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2551 for wide-character tests.
2552
4bee4cd9
RM
25532014-12-04 Roland McGrath <roland@hack.frob.com>
2554
2555 * io/openat64.c: #include <libc-internal.h>
2556 (__openat64): Prototypify. Use ignore_value on MODE.
2557 * io/openat.c: Likewise.
2558 * misc/reboot.c: #include <libc-internal.h>
2559 (reboot): Prototypify. Use ignore_value on HOWTO.
2560 * misc/ptrace.c: #include <libc-internal.h>
2561 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2562
84dbedb6
JM
25632014-12-04 Joseph Myers <joseph@codesourcery.com>
2564
2565 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2566 XPG4, UNIX98 and XOPEN2K.
2567 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2568 Remove variable.
2569 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2570
b7a3e1c4 25712014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2572
af50dfc1 2573 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2574 * libio/iofopen.c: Likewise.
2575 * libio/wfileops.c: Likewise.
2576
fe8b4d98
SP
2577 [BZ #17653]
2578 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2579 offset on EOF.
2580 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2581 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2582 (fgets_func): Function pointer to fgets and fgetws.
2583 (do_ftell_test): Add test to verify ftell value after read
2584 EOF.
2585 (do_test): Set fgets_func.
2586
61b4f792
SP
2587 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2588 O_TRUNC flag for w and w+ modes.
2589 (do_rewind_test): Likewise.
2590 (do_ftell_test): Likewise.
2591 (do_write_test): Likewise.
2592
be349d70
SP
2593 [BZ #17647]
2594 * libio/fileops.c (do_ftell): Seek only when there are
2595 unflushed writes.
2596 * libio/wfileops.c (do_ftell_wide): Likewise.
2597 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2598 test case.
2599 (do_one_test): Call it.
2600
e3d6dba5
JM
26012014-12-03 Joseph Myers <joseph@codesourcery.com>
2602
2603 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2604 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2605 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2606 Remove variable.
2607 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2608 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2609 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2610
7f994279
JM
26112014-12-02 Joseph Myers <joseph@codesourcery.com>
2612
28a91e8f
JM
2613 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2614 Remove variable.
2615 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2616
7f994279
JM
2617 [BZ #17668]
2618 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2619 as weak alias of __getifaddrs. Use libc_hidden_weak.
2620 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2621 __freeifaddrs. Use libc_hidden_weak.
2622 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2623 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2624 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2625 __freeifaddrs. Use libc_hidden_weak.
2626 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2627 __getifaddrs and define as weak alias of __getifaddrs. Use
2628 libc_hidden_weak.
2629 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2630 __freeifaddrs. Use libc_hidden_weak.
2631 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2632 Remove variable.
2633 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2634 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2635
bbe4c142
PJ
26362014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2637
2638 [BZ #17601]
2639 * sysdeps/mips/start.S (__start): Use indirect jump to call
2640 __libc_start_main.
2641
66cadc05
JM
26422014-12-02 Joseph Myers <joseph@codesourcery.com>
2643
909e16d9
JM
2644 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2645
4e0b9016
JM
2646 * nptl/tst-mutex1.c: Include <stdbool.h>.
2647 [!ATTR] (ATTR_NULL): New macro.
2648 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2649 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2650 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2651
b1aff6a4
JM
2652 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2653 to char *.
2654
266865c0
JM
2655 [BZ #17665]
2656 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2657 Change conditional to [__USE_MISC].
2658
84e5e756
JM
2659 [BZ #17664]
2660 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2661 fgets_unlocked.
2662 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2663 __fgets_unlocked.
2664 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2665 fgets_unlocked.
2666 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2667 Remove variable.
2668 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2669 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2670 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2671 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2672 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2673 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2674 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2675 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2676 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2677
66cadc05
JM
2678 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2679
2e8a2de2 26802014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2681
2682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2683 Remove strpbrk objects.
2684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2685 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2686 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2687 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2688 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2689 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2690
bb2542e0
AZ
2691 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2692 Remove strcspn objects.
2693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2694 (__libc_ifunc_impl_list): Remove strcspn implementation.
2695 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2696 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2697 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2698 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2699
2700 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2701 Remove strspn objetcs.
2702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2703 (__libc_ifunc_impl_list): Remove strspn implementation.
2704 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2705 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2706 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2707 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2708
08f1e1d2
JL
27092014-12-01 James Lemke <jwlemke@codesourcery.com>
2710
2711 [BZ #17581]
2712 * malloc/hooks.c
2713 (mem2mem_check): Add a terminator to the chain of checking blocks.
2714 (malloc_check_get_size): Use it here.
2715 (mem2chunk_check): Ditto.
2716
a8a7d7d2
RS
27172014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2718
2719 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2720 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2721
97114a38
CD
27222014-11-29 Carlos O'Donell <carlos@redhat.com>
2723
c8dc1727
CD
2724 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2725
6d03458e
CD
2726 * nptl/nptl-init.c: Include libc-internal.h.
2727 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2728
97114a38
CD
2729 * elf/ldconfig.c (search_dir): Expand comment.
2730
0e7e69ba
JM
27312014-11-29 Joseph Myers <joseph@codesourcery.com>
2732
2733 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2734 variable.
2735 (linknamespace-symlist-stdlibs-tests): Likewise.
2736 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2737 instead of $(objpfx)symlist-stdlibs.
2738 (linknamespace-libs-isoc): New variable.
2739 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2740 (linknamespace-libs-ISO): New variable.
2741 (linknamespace-libs-ISO99): Likewise.
2742 (linknamespace-libs-ISO11): Likewise.
2743 (linknamespace-libs-XPG3): Likewise.
2744 (linknamespace-libs-XPG4): Likewise.
2745 (linknamespace-libs-POSIX): Likewise.
2746 (linknamespace-libs-UNIX98): Likewise.
2747 (linknamespace-libs-XOPEN2K): Likewise.
2748 (linknamespace-libs-POSIX2008): Likewise.
2749 (linknamespace-libs-XOPEN2K8): Likewise.
2750 ($(objpfx)symlist-stdlibs): Replace by
2751 $(linknamespace-symlist-stdlibs-tests). Use
2752 $(linknamespace-libs-$*) as set of libraries.
2753 ($(linknamespace-header-tests)): Update dependencies. Use
2754 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2755 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2756 * conform/linknamespace.pl: Remove comment about considering
2757 definitions of symbols from irrelevant libraries.
2758
d8dd0080
L
27592014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 [BZ #13862]
2762 * elf/dl-tls.c: Include <atomic.h>.
2763 (oom): Remove #ifdef SHARED/#endif.
2764 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2765 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2766 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2767 big enough.
2768 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2769 * nptl/Makefile (tests): Add tst-stack4.
2770 (modules-names): Add tst-stack4mod.
2771 ($(objpfx)tst-stack4): New.
2772 (tst-stack4mod.sos): Likewise.
2773 ($(objpfx)tst-stack4.out): Likewise.
2774 ($(tst-stack4mod.sos)): Likewise.
2775 (clean): Likewise.
2776 * nptl/tst-stack4.c: New file.
2777 * nptl/tst-stack4mod.c: Likewise.
2778
167da422
B
27792014-11-27 J. Brown <jb999@gmx.de>
2780
2781 * sysdeps/x86/bits/string.h: Add recent CPUs.
2782
9114625b
JM
27832014-11-27 Joseph Myers <joseph@codesourcery.com>
2784
6b5189eb
JM
2785 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2786 sigblock.
2787
49051f8e
JM
2788 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2789 feof.
2790
9114625b
JM
2791 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2792 variable.
2793
e7300fef
SL
27942014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2795
2796 * nscd/connections.c: Include libc-internal.h because of macro
2797 usage ignore_value.
2798
1721f0a4
SP
27992014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2800
2801 * string/bits/string3.h (__warn_memset_zero_len): Don't
2802 declare for gcc newer than 5.0.
2803 (memset): Don't test for zero-length __LEN for gcc newer than
2804 5.0.
2805
be970916
JM
28062014-11-27 Joseph Myers <joseph@codesourcery.com>
2807
d88548f4
JM
2808 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2809 size_t for %zu format.
2810
be970916
JM
2811 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2812 difference, not %ju.
2813
3b20fd5c
JM
28142014-11-26 Joseph Myers <joseph@codesourcery.com>
2815
8915eace
JM
2816 * include/libc-internal.h (ignore_value): New macro.
2817 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2818 with ignore_value.
2819
f1a5a0e3
JM
2820 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2821 definition.
2822
59ef1715
JM
2823 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2824 pthread_cleanup_push to void *.
2825
a6f3079b
JM
2826 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2827 Undefine.
2828
706688aa
JM
2829 [BZ #16619]
2830 [BZ #16740]
2831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2832 instead of 1L << 52.
2833
12da14a5
JM
2834 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2835 * libio/bug-rewind2.c (do_test): Likewise.
2836
bd5dadac
JM
2837 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2838 * debug/test-strcpy_chk-ifunc.c: Likewise.
2839 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2840 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2841 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2842 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2843 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2844 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2845 * Rules [$(multi-arch) = no] (tests): Do not filter out
2846 $(tests-ifunc).
2847 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2848 * debug/Makefile (tests-ifunc): Remove variable.
2849 (tests): Do not add $(tests-ifunc).
2850 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2851 (tests): Do not add $(tests-ifunc).
2852 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2853 [TEST_IFUNC]: Remove conditionals.
2854 * string/test-string.h (TEST_IFUNC): Remove macro.
2855 [TEST_IFUNC]: Remove conditionals.
2856
3b20fd5c
JM
2857 * string/test-strchr.c [!WIDE] (L): New macro.
2858 [WIDE] (L): Likewise.
2859 (check1): Use CHAR instead of char. Use L on string and character
2860 constants.
2861
704f7947
AZ
28622014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2863
2864 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2865 tests.
2866 * sysdeps/powerpc/bits/atomic.h
2867 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2868 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2869 (atomic_exchange_and_add_acq): Likewise.
2870 (atomic_exchange_and_add_rel): Likewise.
2871 * sysdeps/powerpc/powerpc32/bits/atomic.h
2872 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2873 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2874 * sysdeps/powerpc/powerpc64/bits/atomic.h
2875 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2876 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2877
cdcb42d7
TR
28782014-11-26 Torvald Riegel <triegel@redhat.com>
2879
2880 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2881 Change synchronization of __sched_fifo_min_prio and
2882 __sched_fifo_max_prio.
2883 * nptl/pthread_mutexattr_getprioceiling.c
2884 (pthread_mutexattr_getprioceiling): Likewise.
2885 * nptl/pthread_mutexattr_setprioceiling.c
2886 (pthread_mutexattr_setprioceiling): Likewise.
2887 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2888 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2889 Likewise.
2890
c82f5c0c
JM
28912014-11-26 Joseph Myers <joseph@codesourcery.com>
2892
2893 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2894 void.
2895
439e1ad6
JM
28962014-11-25 Joseph Myers <joseph@codesourcery.com>
2897
2898 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2899 third argument const.
2900
b1eda10e
PE
29012014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2902
2903 fnmatch: work around GCC compiler warning bug with uninit var
2904 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2905 This works around a bug with x86-64 GCC 4.9.2 and earlier
2906 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2907 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2908 used uninitialized in this function [-Wmaybe-uninitialized]".
2909
bde2667a
JM
29102014-11-25 Joseph Myers <joseph@codesourcery.com>
2911
2912 * posix/bug-regex31.c (main): Return RES not 0.
2913
5fbb5691
AB
29142014-11-25 Anton Blanchard <anton@samba.org>
2915
2916 * sysdeps/powerpc/bits/atomic.h
2917 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2918
467fec0b
BM
29192014-11-24 Sterling Augustine <saugustine@google.com>
2920
2921 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2922
e9ff8efb
RC
29232014-11-24 Ryan Cumming <etaoins@gmail.com>
2924
2925 [BZ #17608]
2926 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2927
9744496f
JM
29282014-11-24 Joseph Myers <joseph@codesourcery.com>
2929
2930 [BZ #17633]
2931 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2932 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2933 variable.
2934 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2935 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2936
6423d475
WD
29372014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2938
2939 * string/strncpy.c (strncpy): Improve performance by using memset.
2940
29412014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2942
2943 * string/strcpy.c (strcpy):
2944 Improve performance by using strlen and memcpy.
2945
5d178c37
LH
29462014-11-24 Leonhard Holz <leonhard.holz@web.de>
2947
2948 * string/strcoll_l.c (get_next_seq): __always_inline.
2949 * string/strcoll_l.c (do_compare): __always_inline.
2950
279bc5b3
SP
29512014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2952
7a9ebfa1
SP
2953 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2954 defined.
2955 * include/mqueue.h: Likewise.
2956 * include/stdlib.h: Likewise.
2957
4f41c682
SP
2958 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2959 (get_null_defines): Adjust.
2960 * sunrpc/Makefile: Adjust comment.
2961 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2962 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2963 (CFLAGS-interp.c): Likewise.
2964 (CFLAGS-ldconfig.c): Likewise.
2965 (CPPFLAGS-.os): Likewise.
2966 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2967 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2968 * extra-modules.mk (extra-modules.mk): Likewise.
2969 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2970 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2971 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2972 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2973 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2974 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2975 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2976 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2977 * iconvdata/Makefile (CPPFLAGS): Likewise.
2978 (cpp-srcs-left): Add libof for all iconvdata routines.
2979 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2980 * include/assert.h: Likewise.
2981 * include/ctype.h: Likewise.
2982 * include/errno.h: Likewise.
2983 * include/libc-symbols.h: Likewise.
2984 * include/math.h: Likewise.
2985 * include/netdb.h: Likewise.
2986 * include/resolv.h: Likewise.
2987 * include/stdio.h: Likewise.
2988 * include/stdlib.h: Likewise.
2989 * include/string.h: Likewise.
2990 * include/sys/stat.h: Likewise.
2991 * include/wctype.h: Likewise.
2992 * intl/l10nflist.c: Likewise.
2993 * libidn/idn-stub.c: Likewise.
2994 * libio/libioP.h: Likewise.
2995 * nptl/libc_multiple_threads.c: Likewise.
2996 * nptl/pthreadP.h: Likewise.
2997 * posix/regex_internal.h: Likewise.
2998 * resolv/res_hconf.c: Likewise.
2999 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3000 * sysdeps/arm/memmove.S: Likewise.
3001 * sysdeps/arm/sysdep.h: Likewise.
3002 * sysdeps/generic/_itoa.h: Likewise.
3003 * sysdeps/generic/symbol-hacks.h: Likewise.
3004 * sysdeps/gnu/errlist.awk: Likewise.
3005 * sysdeps/gnu/errlist.c: Likewise.
3006 * sysdeps/i386/i586/memcpy.S: Likewise.
3007 * sysdeps/i386/i586/memset.S: Likewise.
3008 * sysdeps/i386/i686/memcpy.S: Likewise.
3009 * sysdeps/i386/i686/memmove.S: Likewise.
3010 * sysdeps/i386/i686/mempcpy.S: Likewise.
3011 * sysdeps/i386/i686/memset.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3022 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3029 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3030 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3039 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3059 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3064 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3067 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3070 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3073 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3074 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3075 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3076 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3077 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3078 * sysdeps/posix/closedir.c: Likewise.
3079 * sysdeps/posix/opendir.c: Likewise.
3080 * sysdeps/posix/readdir.c: Likewise.
3081 * sysdeps/posix/rewinddir.c: Likewise.
3082 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3083 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3084 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3085 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3086 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3087 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3093 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3095 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3096 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3097 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3098 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3101 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3105 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3118 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3119 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3120 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3121 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3123 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3125 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3126 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3127 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3128 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3129 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3130 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3131 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3132 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3133 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3134 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3135 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3136 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3139 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3140 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3141 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3142 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3143 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3144 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3145 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3146 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3147 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3148 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3149 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3150 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3151 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3153 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3154 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3155 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3156 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3157 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3158 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3159 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3160 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3161 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3162 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3163 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3164 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3165 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3166 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3168 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3169 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3170 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3171 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3172 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3173 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3174 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3180 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3181 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3182 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3183 * sysdeps/unix/alpha/sysdep.S: Likewise.
3184 * sysdeps/unix/alpha/sysdep.h: Likewise.
3185 * sysdeps/unix/make-syscalls.sh: Likewise.
3186 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3188 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3189 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3190 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3191 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3192 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3193 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3194 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3195 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3196 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3197 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3198 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3200 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3201 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3202 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3203 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3204 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3205 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3206 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3207 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3208 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3209 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3210 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3211 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3212 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3215 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3220 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3224 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3225 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3226 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3227 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3229 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3233 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3236 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3237 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3238 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3239 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3241 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3242 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3244 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3245 * sysdeps/x86_64/memcpy.S: Likewise.
3246 * sysdeps/x86_64/memmove.c: Likewise.
3247 * sysdeps/x86_64/memset.S: Likewise.
3248 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3251 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3252 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3255 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3256 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3257 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3258 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3260 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3261 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3262 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3263 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3264 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3265 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3266 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3267 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3268 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3269 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3272 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3273 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3274 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3275 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3276 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3277 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3278 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3279 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3280 * sysdeps/x86_64/strcmp.S: Likewise.
3281
76ca86a5
SP
3282 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3283
a3848485
SP
3284 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3285 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3286 * elf/rtld-Rules: Likewise.
3287 * elf/setup-vdso.h: Likewise.
3288 * include/assert.h: Likewise.
3289 * include/bits/stdlib-float.h: Likewise.
3290 * include/errno.h: Likewise.
3291 * include/sys/stat.h: Likewise.
3292 * include/unistd.h: Likewise.
3293 * sysdeps/aarch64/setjmp.S: Likewise.
3294 * sysdeps/alpha/setjmp.S: Likewise.
3295 * sysdeps/arm/__longjmp.S: Likewise.
3296 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3297 * sysdeps/arm/setjmp.S: Likewise.
3298 * sysdeps/arm/sysdep.h: Likewise.
3299 * sysdeps/generic/_itoa.h: Likewise.
3300 * sysdeps/generic/dl-sysdep.h: Likewise.
3301 * sysdeps/generic/ldsodefs.h: Likewise.
3302 * sysdeps/i386/dl-tls.h: Likewise.
3303 * sysdeps/i386/setjmp.S: Likewise.
3304 * sysdeps/m68k/setjmp.c: Likewise.
3305 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3306 * sysdeps/mach/hurd/opendir.c: Likewise.
3307 * sysdeps/posix/getcwd.c: Likewise.
3308 * sysdeps/posix/opendir.c: Likewise.
3309 * sysdeps/posix/profil.c: Likewise.
3310 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3312 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3314 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3316 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3317 * sysdeps/s390/dl-tls.h: Likewise.
3318 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3319 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3320 * sysdeps/sh/sh3/setjmp.S: Likewise.
3321 * sysdeps/sh/sh4/setjmp.S: Likewise.
3322 * sysdeps/unix/alpha/sysdep.h: Likewise.
3323 * sysdeps/unix/arm/sysdep.S: Likewise.
3324 * sysdeps/unix/i386/sysdep.S: Likewise.
3325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3326 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3327 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3328 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3329 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3330 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3332 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3333 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3334 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3335 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3336 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3340 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3341 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3344 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3348 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3349 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3352 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3353 * sysdeps/x86_64/setjmp.S: Likewise.
3354
a109996e
SP
3355 * include/math.h: Use IS_IN instead of IS_IN_libm.
3356 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3368 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3376 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3377 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3378 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3379 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3380 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3381 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3383 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3384 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3385 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3386 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3387 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3388 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3390 Likewise.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3392 Likewise.
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3394 Likewise.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3396 Likewise.
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3398 Likewise.
3399 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3401 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3402 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3403 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3404 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3410 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3413 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3415 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3416 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3419 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3422 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3423 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3425 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3426
ce9f10f7
SP
3427 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3428 * nptl/pthreadP.h: Likewise.
3429 * nptl_db/structs.def: Likewise.
3430 * sysdeps/arm/sysdep.h: Likewise.
3431 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3432 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3433 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3434 * sysdeps/unix/alpha/sysdep.h: Likewise.
3435 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3437 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3438 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3439 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3440 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3441 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3442 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3443 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3444 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3445 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3446 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3447 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3448 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3453 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3456 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3457 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3458 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3461
016afc75
SP
3462 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3463 * nptl/pthreadP.h: Likewise.
3464 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3465 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3466 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3467 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3468 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3469 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3470 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3471 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3472 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3473 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3474 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3475 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3477 Likewise.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3479 Likewise.
3480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3482 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3485 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3486 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3488
9b42a0b3
SP
3489 * dlfcn/dladdr.c: Use IS_IN.
3490 * dlfcn/dladdr1.c: Likewise.
3491 * dlfcn/dlclose.c: Likewise.
3492 * dlfcn/dlerror.c: Likewise.
3493 * dlfcn/dlinfo.c: Likewise.
3494 * dlfcn/dlmopen.c: Likewise.
3495 * dlfcn/dlopen.c: Likewise.
3496 * dlfcn/dlsym.c: Likewise.
3497 * dlfcn/dlvsym.c: Likewise.
3498
85f36372
SP
3499 * include/ifaddrs.h: Use IS_IN.
3500 * inet/check_pf.c: Likewise.
3501 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3502 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3503
fb6784e3
SP
3504 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3505 IS_IN_ldconfig.
3506 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3507 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3508
2886d2d1
SP
3509 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3510 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3511 IS_IN (libc).
3512
9a484857
SP
3513 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3514
a10178bd
SP
3515 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3516 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3517 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3518 * include/libc-symbols.h (IS_IN_LIB): New macro.
3519 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3520 * include/netdb.h: Likewise.
3521 * include/stap-probe.h: Remove all uses of IN_LIB.
3522
279bc5b3
SP
3523 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3524 instead of IN_MODULE.
3525 * include/libc-symbols.h (IN_MODULE): Define using
3526 MODULE_NAME.
3527 (PASTE_NAME, PASTE_NAME1): New macros.
3528 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3529 of IN_LIB.
3530 (STAP_PROBE_ASM): Likewise.
3531
e0cfa510
ST
35322014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3533
3534 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3535 __mach_init in dlopened libc.
3536
34d97d87
MF
35372014-11-22 Mike Frysinger <vapier@gentoo.org>
3538
3539 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3540 * sysdeps/arm/preconfigure: Regenerate.
3541
33cd1f74
RM
35422014-11-21 Roland McGrath <roland@hack.frob.com>
3543
3544 * nptl/pthread_create.c (__pthread_create_2_1): Set
3545 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3546 when copying values from IATTR into PD.
3547
8c230039
WN
35482014-11-21 Will Newton <will.newton@linaro.org>
3549 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3550
6d3db89b
AP
3551 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3552 Refactor inline-asm. Also add comment.
3553
01194ba1
WN
3554 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3555 ElfW macro instead of hardcoded Elf64 types.
3556 (la_aarch64_gnu_pltenter): Likewise.
3557 * sysdeps/aarch64/dl-machine.h
3558 (elf_machine_runtime_setup): Use ElfW(Addr).
3559
8c230039
WN
3560 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3561 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3562 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3563 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3564 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3565 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3566 (R_AARCH64_TLS_DTPMOD): This.
3567 (R_AARCH64_TLS_DTPREL64): Rename to ...
3568 (R_AARCH64_TLS_DTPREL): This.
3569 (R_AARCH64_TLS_TPREL64): Rename to ...
3570 (R_AARCH64_TLS_TPREL): This.
3571 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3572 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3573 R_AARCH64_TLS_TPREL64.
3574 (elf_machine_rela): Likewise.
3575
0d79fa53
TR
35762014-11-21 Torvald Riegel <triegel@redhat.com>
3577
3578 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3579 by setting it to 0. 64b atomics are not supported currently.
3580
b59d114b
AO
35812014-11-21 Alexandre Oliva <aoliva@redhat.com>
3582
3583 [BZ #16469]
3584 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3585 search domain names.
3586
f3d945d5
AO
35872014-11-21 Alexandre Oliva <aoliva@redhat.com>
3588
3589 [BZ #16469]
3590 * NEWS: Update.
3591 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3592 trailing dot.
3593 * posix/tst-getaddrinfo5.c: New.
3594 * posix/Makefile (tests): Add it.
3595
49698902
AO
35962014-11-21 Alexandre Oliva <aoliva@redhat.com>
3597
3598 [BZ #14498]
3599 * NEWS: Fixed.
3600 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3601 after parsing line but before break_if_match.
3602 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3603 if there is a protocol mismatch.
3604
81959214
MS
36052014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3606
3607 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3608 because the potential race is on the user-supplied stream.
3609
7729e0e9
AO
36102014-11-21 Alexandre Oliva <aoliva@redhat.com>
3611
3612 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3613 string literal if not passed a buffer.
3614 * manual/job.texi (ctermid): Update reasoning, note deviation
3615 from posix, suggest mtasurace when not passed a buffer, for
3616 future non-preliminary safety notes.
3617
a4ea5e28
AO
36182014-11-21 Alexandre Oliva <aoliva@redhat.com>
3619
3620 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3621 of not passing it a buffer.
3622 Reported by Peng Haitao.
3623
a2b581cb
AO
36242014-11-21 Alexandre Oliva <aoliva@redhat.com>
3625
3626 * manual/Makefile ($(objpfx)stamp-summary): Require
3627 check-safety.sh to pass.
3628 * manual/check-safety.sh: Wish for verification that every
3629 @deftypefn and @deftypefun is followed by a @safety remark.
3630
f214ff74
RM
36312014-11-20 Roland McGrath <roland@hack.frob.com>
3632
7f0dfae0
RM
3633 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3634
2f531bbb
RM
3635 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3636 PTHREAD_CANCEL_ASYNCHRONOUS.
3637 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3638 send SIGCANCEL.
3639
f214ff74
RM
3640 * nptl/default-sched.h: New file.
3641 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3642 * nptl/pthread_create.c: Include it.
3643 (__pthread_create_2_1): Use collect_default_sched instead of making
3644 Linux syscalls here directly.
3645
e37c91d4
TR
36462014-11-20 Torvald Riegel <triegel@redhat.com>
3647
3648 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3649 __pthread_once): Use C11 atomics.
3650
1eccfecd
TR
36512014-11-20 Torvald Riegel <triegel@redhat.com>
3652
3653 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3654
ff871426
TR
36552014-11-20 Torvald Riegel <triegel@redhat.com>
3656
3657 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3658 atomic_thread_fence_acquire, atomic_thread_fence_release,
3659 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3660 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3661 atomic_compare_exchange_weak_relaxed,
3662 atomic_compare_exchange_weak_acquire,
3663 atomic_compare_exchange_weak_release,
3664 atomic_exchange_acquire, atomic_exchange_release,
3665 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3666 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3667 atomic_fetch_and_acquire,
3668 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3669
1ea339b6
TR
36702014-11-20 Torvald Riegel <triegel@redhat.com>
3671
3672 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3673 USE_ATOMIC_COMPILER_BUILTINS): Define.
3674 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3675 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3676 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3677 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3678 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3679 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3680 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3681 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3682 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3683 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3684 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3685 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3686 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3687 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3688 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3689 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3690 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3691 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3692 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3693 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3694 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3695 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3696 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3697 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3698 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3699 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3700 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3701 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3702 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3703 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3704 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3705 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3706 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3707 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3708 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3709 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3710 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3711 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3712 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3714
cbd463e2
RM
37152014-11-19 Roland McGrath <roland@hack.frob.com>
3716
d960211f
RM
3717 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3718 the sched_priority value here. It was already checked when the user
3719 called pthread_attr_setschedparam.
3720
cbd463e2
RM
3721 * nptl/tst-bad-schedattr.c: New file.
3722 * nptl/Makefile (tests): Add it.
3723
a39208bd
CD
37242014-11-19 Carlos O'Donell <carlos@redhat.com>
3725 Florian Weimer <fweimer@redhat.com>
3726 Joseph Myers <joseph@codesourcery.com>
3727 Adam Conrad <adconrad@0c3.net>
3728 Andreas Schwab <schwab@suse.de>
3729 Brooks <bmoses@google.com>
3730
3731 [BZ #17625]
3732 * wordexp-test.c (__dso_handle): Add prototype.
3733 (__register_atfork): Likewise.
3734 (__app_register_atfork): New function.
3735 (registered_forks): New global.
3736 (register_fork): New function.
3737 (test_case): Add 3 new tests for WRDE_CMDSUB.
3738 (main): Call __app_register_atfork.
3739 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3740 fork count is non-zero fail the test.
3741 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3742 is set.
3743 (parse_dollars): Remove check for WRDE_NOCMD.
3744 (parse_dquote): Likewise.
3745
9cd47470
SP
37462014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3747
130ac68c
SP
3748 * Makeconfig (built-modules): List non-library modules to be
3749 built.
3750 (module-cppflags): Include libc-modules.h for
3751 everything except shlib-versions.v.i.
3752 (CPPFLAGS): Use it.
3753 (before-compile): Add libc-modules.h.
3754 ($(common-objpfx)libc-modules.h,
3755 $(common-objpfx)libc-modules.stmp): New targets.
3756 (common-generated): Add libc-modules.h and libc-modules.stmp.
3757 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3758 * include/libc-symbols.h: Don't include libc-modules.h.
3759 * include/libc-modules.h: Remove file.
3760 * scripts/gen-libc-modules.awk: New script to generate
3761 libc-modules.h.
3762 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3763 Depend on libc-modules.stmp.
3764
286663c3
SP
3765 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3766
9cd47470
SP
3767 * Makeconfig (in-module): Get value of libof set for the
3768 translation unit.
3769 (CPPFLAGS): Use $(in-module).
3770 * Makerules: Don't suffix routine names for nonlib.
3771 * include/libc-modules.h: New file.
3772 * include/libc-symbols.h: Include libc-modules.h
3773 (IS_IN): New macro to replace IS_IN_* macros.
3774 * elf/Makefile: Set libof-* for each routine.
3775 * elf/rtld-Rules: Likewise.
3776 * extra-modules.mk: Likewise.
3777 * iconv/Makefile: Likewise.
3778 * iconvdata/Makefile: Likewise.
3779 * locale/Makefile: Likewise.
3780 * malloc/Makefile: Likewise.
3781 * nss/Makefile: Likewise.
3782 * sysdeps/gnu/Makefile: Likewise.
3783 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3784 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3785 * sysdeps/s390/s390-64/Makefile: Likewise.
3786 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3787 CPPFLAGS for nscd instead of nonlib.
3788
32fed10f
RM
37892014-11-18 Roland McGrath <roland@hack.frob.com>
3790
d71035bd
RM
3791 * nptl/createthread.c: New file.
3792
6540b991
RM
3793 * nptl/createthread.c: Moved ...
3794 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3795
32fed10f
RM
3796 * nptl/createthread.c: Add proper top-line comment.
3797 (do_clone): Folded into ...
3798 (create_thread): ... here. Take new arguments STOPPED_START and
3799 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3800 increment __nptl_threads, do event-reporting logic, do
3801 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3802 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3803 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3804 just send SIGCANCEL.
3805 * nptl/pthread_create.c: Forward-declare create_thread before
3806 including createthread.c.
3807 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3808 declaration, and new macro START_THREAD_SELF to replace argument.
3809 Remove return statement.
3810 (report_thread_creation): New function.
3811 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3812 synchronization logic, and __nptl_nthreads increment here, around
3813 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3814 PD->parent_cancelhandling here, before create_thread. When
3815 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3816 __deallocate_stack, and ENOMEM translation here.
3817
107a5bf0
JM
38182014-11-18 Joseph Myers <joseph@codesourcery.com>
3819
3820 [BZ #17616]
3821 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3822 (mptwo): Rename to __mptwo.
3823 (__inv): Use __mptwo instead of mptwo.
3824 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3825 (mptwo): Rename to __mptwo.
3826 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3827 of mpone and __mptwo instead of mptwo.
3828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3829 instead of mpone.
3830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3831 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3832 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3833 of mpone and __mptwo instead of mptwo.
3834 (__mpranred): Use __mpone instead of mpone.
3835 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3836 variable.
3837 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3838 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3839 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3840 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3841 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3842 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3843 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3844 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3845 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3846 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3847 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3848 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3849 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3850 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3851 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3852 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3853 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3854 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3855 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3856
3b679ab3
TV
38572014-11-18 Tom de Vries <tom@codesoucery.com>
3858
3859 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3860 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3861
38622014-11-17 Richard Henderson <rth@redhat.com>
3863
3864 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3865 (_FP_PACK_RAW_2): Remove.
3866 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3867 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3868 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3869 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3870 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3871 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3872 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3873 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3874 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3875 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3876 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3877 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3878 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3879 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3880 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3881 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3882
0781a777
RM
38832014-11-14 Roland McGrath <roland@hack.frob.com>
3884
3885 * signal/signal.h [__USE_MISC]
3886 (struct sigvec): Remove type.
3887 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3888 (sigvec): Remove declaration.
3889 * sysdeps/posix/sigvec.c: Moved ...
3890 * signal/sigvec.c: ... here, replacing old file.
3891 (struct sigvec): New type, copied from old signal.h definition.
3892 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3893 (__sigvec): Convert definition to prototype.
3894 (sigvec): Replace weak_alias with compat_symbol.
3895 * signal/Versions (libc: GLIBC_2.21): New version set.
3896 * include/signal.h: Remove __sigvec declaration.
3897 * sysdeps/unix/bsd/sigvec.c: Remove file.
3898 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3899 * manual/signal.texi (BSD Handler): Remove subsection.
3900 Move siginterrupt up to ...
3901 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3902 (Blocking in BSD): Fold subsection into its parent.
3903 * NEWS: Mention sigvec removal.
3904
a4733812
JM
39052014-11-14 Joseph Myers <joseph@codesourcery.com>
3906
5ae4fe60
JM
3907 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3908 (DLA_FMS): Make definition conditional only on [__FMA4__].
3909 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3910 definition.
3911
6a0dd472
JM
3912 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3913 Make definition conditional only on [PROF].
3914 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3915 definition.
3916 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3917 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3918
a4733812
JM
3919 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3920 !__GNUC__].
3921 * include/signal.h (__sigpause): Move declaration above call to
3922 libc_hidden_proto.
3923 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3924 variable.
3925 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3926 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3927
cf7246dd
DM
39282014-11-14 David S. Miller <davem@davemloft.net>
3929
3930 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3931 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3932
c1b0aadc
JM
39332014-11-14 Joseph Myers <joseph@codesourcery.com>
3934
4863355a
JM
3935 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3936 * configure: Regenerated.
3937 * manual/install.texi (Tools for Compilation): Document a
3938 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3939 compiler verified to work.
3940 * INSTALL: Regenerated.
3941
c1b0aadc
JM
3942 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3943 redeclare with asm name.
3944 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3945 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3946 including <string.h>.
3947 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3948 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3949 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3950 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3951 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3953 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3954
2a1cfd94
JM
39552014-11-13 Joseph Myers <joseph@codesourcery.com>
3956
bf438382
JM
3957 * stdlib/strtol.c (__strtol): Use prototype definition.
3958
2a1cfd94
JM
3959 [BZ #17594]
3960 * stdlib/strtol.c (SYM__): New macro.
3961 (SYM__1): Likewise.
3962 (__strtol): Likewise.
3963 (strtol): Rename to __strtol and define as weak alias of
3964 __strtol. Use libc_hidden_weak.
3965
20ed0d26
SL
39662014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3967
3968 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3969 Use numbered labels in inline assembly.
3970
53244a4e
SL
39712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3972
3973 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3974 Add setjmp LIBC_PROBE.
3975 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3976 Likewise.
3977 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3978 Add longjmp, longjmp_target LIBC_PROBE.
3979 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3980 Likewise.
3981
47df8251
SL
39822014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3983
3984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3985 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3986 to get rid of unused variable warning.
3987
618cebef
SL
39882014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3989
3990 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3991 Check for unwind_backtrace == NULL only in SHARED case.
3992 (__backchain_backtrace): Compile only in SHARED case.
3993 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3994 Likewise.
3995 (__backchain_backtrace): Declare as static.
3996
c6aab2cb
RM
39972014-11-12 Roland McGrath <roland@hack.frob.com>
3998
3999 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4000 (__libc_multiple_threads_ptr): Variable moved ...
4001 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4002
5a6fa4d7
JM
40032014-11-12 Joseph Myers <joseph@codesourcery.com>
4004
24f4f825
JM
4005 * conform/GlibcConform.pm: New file.
4006 * conform/conformtest.pl: Use GlibcConform module.
4007 * conform/linknamespace.pl: New file.
4008 * conform/list-header-symbols.pl: Likewise.
4009 * conform/Makefile (linknamespace-symlists-base): New variable.
4010 (linknamespace-symlists-tests): Likewise.
4011 (linknamespace-header-base): Likewise.
4012 (linknamespace-header-tests): Likewise.
4013 (tests-special): Add new tests.
4014 ($(linknamespace-symlists-tests)): New rule.
4015 (linknamespace-libs): New variable.
4016 ($(objpfx)symlist-stdlibs): New rule.
4017 ($(linknamespace-header-tests)): Likewise.
4018 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4019 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4020 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4021 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4022 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4023 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4024 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4025 (test-xfail-ISO/math.h/linknamespace): Likewise.
4026 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4027 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4028 (test-xfail-ISO/time.h/linknamespace): Likewise.
4029 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4030 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4031 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4032 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4033 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4034 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4035 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4036 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4037 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4038 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4039 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4040 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4041 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4042 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4043 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4044 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4045 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4046 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4047 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4048 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4049 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4050 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4051 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4052 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4053 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4054 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4055 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4056 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4057 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4058 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4059 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4060 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4061 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4062 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4063 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4064 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4065 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4066 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4067 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4068 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4069 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4070 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4071 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4072 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4073 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4074 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4075 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4076 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4077 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4078 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4079 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4080 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4081 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4082 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4083 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4084 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4085 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4086 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4087 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4088 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4089 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4090 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4091 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4092 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4093 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4094 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4095 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4096 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4097 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4098 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4099 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4100 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4101 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4102 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4103 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4104 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4105 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4106 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4107 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4108 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4109 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4110 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4111 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4112 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4113 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4114 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4115 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4116 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4117 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4118 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4119 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4120 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4121 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4122 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4123 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4124 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4125 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4126 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4127 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4128 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4129 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4130 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4131 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4132 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4133 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4134 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4135 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4136 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4137 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4138 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4139 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4140 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4141 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4142 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4143 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4144 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4145 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4146 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4147 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4148 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4149 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4150 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4151 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4152 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4153 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4154 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4155 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4156 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4157 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4158 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4159 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4160 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4161 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4162 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4163 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4164 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4165 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4166 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4167 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4168 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4169 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4170 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4171 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4172 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4173 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4174 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4175 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4176 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4177 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4178 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4179
cc67478e
JM
4180 [BZ #17589]
4181 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4182 of fgets_unlocked.
4183
9975e3d3
JM
4184 [BZ #17585]
4185 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4186 (memmem): Rename to __memmem and define as weak alias of
4187 __memmem. Use libc_hidden_weak.
4188 (__memmem): Use libc_hidden_def.
4189 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4190 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4191 memmem.
4192
c4eae752
JM
4193 [BZ #17582]
4194 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4195 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4196 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4197 and define as weak alias of __fgets_unlocked. Use
4198 libc_hidden_weak.
4199 (__fgets_unlocked): Use libc_hidden_def.
4200 * include/stdio.h (__fgets_unlocked): Declare. Use
4201 libc_hidden_proto.
4202 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4203 __fgets_unlocked instead of fgets_unlocked.
4204 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4205 (GET_NPROCS_CONF_PARSER): Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4207 (GET_NPROCS_CONF_PARSER): Likewise.
4208
01cad84e
JM
4209 [BZ #17574]
4210 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4211 weak alias of __wmemset. Use libc_hidden_weak.
4212 (__wmemset): Use libc_hidden_def.
4213 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4214 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4215 of wmemset.
4216
939da411
JM
4217 [BZ #17573]
4218 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4219 with asm name __mempcpy.
4220 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4221
293d9a41
JM
4222 [BZ #17572]
4223 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4224 and define as weak alias of __rawmemchr.
4225 (__rawmemchr): Do not define as strong alias of rawmemchr.
4226
bef8fd60
JM
4227 [BZ #17571]
4228 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4229 alias of __qsort_r.
4230 (qsort): Call __qsort_r instead of qsort_r.
4231 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4232 (__qsort_r): Declare. Call libc_hidden_proto.
4233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4234 instead of qsort_r.
4235 * nscd/gai.c (__qsort_r): Define to qsort_r.
4236 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4237 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4238 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4239
c52ff39e
JM
4240 [BZ #17570]
4241 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4242 define as weak alias of __malloc_info.
4243
2f5c1b00
JM
4244 [BZ #17584]
4245 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4246 as weak alias of __rewinddir. Don't use libc_hidden_def.
4247 (__rewinddir): Use libc_hidden_def.
4248 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4249 as weak alias of __rewinddir. Don't use libc_hidden_def.
4250 (__rewinddir): Use libc_hidden_def.
4251 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4252 weak alias of __rewinddir. Don't use libc_hidden_def.
4253 (__rewinddir): Use libc_hidden_def.
4254 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4255 (__rewinddir): Use libc_hidden_proto.
4256 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4257 rewinddir.
4258 (__getcwd): Use __rewinddir instead of rewinddir.
4259
5a6fa4d7
JM
4260 [BZ #17583]
4261 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4262 alias of __fileno. Use libc_hidden_weak.
4263 (__fileno): Use libc_hidden_def.
4264 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4265 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4266 alias of __ftello.
4267 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4268 __ftello.
4269 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4270 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4271 libc_hidden_def.
4272 (fread_unlocked): Don't use libc_hidden_ver.
4273 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4274 and define as weak alias of __fread_unlocked. Don't use
4275 libc_hidden_def.
4276 (__fread_unlocked): Use libc_hidden_def.
4277 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4278 (ftello): Don't use libc_hidden_proto.
4279 (__ftello): Declare. Use libc_hidden_proto.
4280 (fread_unlocked): Don't use libc_hidden_proto.
4281 (__fread_unlocked): Declare. Use libc_hidden_proto.
4282 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4283 and __ftello instead of fileno, fread_unlocked and ftello.
4284
2581b98e
SP
42852012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4286
4287 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4288 GOT12.
4289 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4290 Likewise.
4291 (_dl_start_user): Likewise.
4292 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4293
533bb7c2
SP
42942014-11-12 Carlos O'Donell <carlos@redhat.com>
4295 Siddhesh Poyarekar <siddhesh@redhat.com>
4296
4297 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4298 Move argv and envp down instead of moving argc up.
4299 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4300
fffa1cf8
LH
43012014-11-12 Leonhard Holz <leonhard.holz@web.de>
4302
4303 [BZ #17506]
4304 * test-skeleton.c (main): Return successful if one of
4305 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4306 * string/tst-strcoll-overflow.c: Define expected status.
4307
fb89b46d
TU
43082014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4309
4310 [BZ #17475]
4311 * locale/iso-639.def: Define Bhili and Tulu language codes.
4312
5c40c3ba
AH
43132014-11-11 Alan Hayward <alan.hayward@arm.com>
4314
4315 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4316
b17fe01b 43172014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4318
4319 [BZ #17555]
4320 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4321
bd805071
AS
43222014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4323
4324 * configure.ac: Updated check of minimal required version to
4325 2.22.
4326 * manual/install.texi (Tools for Compilation): Updated version
4327 number.
4328 * configure: Regenerated.
4329 * INSTALL: Likewise.
4330
1400983e
AS
43312014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4334 __tls_get_addr.
4335
2c46a66a
JM
43362014-11-07 Joseph Myers <joseph@codesourcery.com>
4337
4338 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4339 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4340 (__waitpid): Don't define as alias. Use libc_hidden_def not
4341 libc_hidden_weak.
4342 (waitpid): Define as alias of __waitpid.
4343 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4344 __waitpid.
4345 (__waitpid): Don't define as alias. Use libc_hidden_def not
4346 libc_hidden_weak.
4347 (waitpid): Define as alias of __waitpid.
4348 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4349 __libc_waitpid alias.
4350 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4352 Likewise.
4353 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4355 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4356 alias.
4357 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4358 __waitpid.
4359 (__waitpid): Don't define as alias. Use libc_hidden_def not
4360 libc_hidden_weak.
4361 (waitpid): Define as alias of __waitpid.
4362
da53d6db
CD
43632014-11-06 Carlos O'Donell <carlos@redhat.com>
4364
a2887bdb
CD
4365 * manual/llio.texi: Add comment that write safety has been
4366 fixed in Linux.
4367
da53d6db
CD
4368 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4369 (localplt-build-dso): Add elf/ld.so.
4370 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4371 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4372 and free for ld.so.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4374 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4376 Likewise.
4377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4378 Likewise.
4379 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4380 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4381 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4382 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4383 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4384 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4385 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4386 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4387 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4390
9cf27b8d
JM
43912014-11-05 Joseph Myers <joseph@codesourcery.com>
4392
4393 [BZ #14132]
4394 * include/libc-symbols.h (INTUSE): Remove macro.
4395 (INTDEF): Likewise.
4396 (INTVARDEF): Likewise.
4397 (_INTVARDEF): Likewise.
4398 (INTDEF2): Likewise.
4399 (INTVARDEF2): Likewise.
4400 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4401 rtld_hidden_def instead of INTVARDEF.
4402 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4403 (_dl_starting_up_internal): Remove declaration.
4404 (_dl_starting_up): Use rtld_hidden_proto.
4405 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4406 declaration.
4407 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4408 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4409 _dl_starting_up.
4410 * elf/dl-writev.h (_dl_writev): Likewise.
4411 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4412 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4413 _dl_starting_up_internal.
4414
af83568d
AZ
44152014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4416
4417 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4418 test-skeleton.c.
4419
b01ee67c
WN
44202014-11-05 Will Newton <will.newton@linaro.org>
4421
4422 * benchtests/Makefile: (bench-malloc): Add malloc thread
4423 scalability benchmark.
4424 * benchtests/bench-malloc-threads.c: New file.
4425
be9d4ccc
RE
44262014-11-05 Richard Earnshaw <rearnsha@arm.com>
4427
4428 * sysdeps/aarch64/strchrnul.S: New file.
4429
7110166d
AZ
44302014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4431
4432 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4433 definition.
4434 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4435 Likwise.
4436 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4437 Likewise.
4438 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4439 Likewise.
4440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4441 Likewise.
4442 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4443 Likewise.
4444
44452014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4446
4447 * catgets/test-gencat.c: Use test-skeleton.c.
4448 * catgets/tst-catgets.c: Likewise.
4449 * csu/tst-empty.c: Likewise.
4450 * elf/tst-audit2.c: Likewise.
4451 * elf/tst-global1.c: Likewise.
4452 * elf/tst-pathopt.c: Likewise.
4453 * elf/tst-piemod1.c: Likewise.
4454 * elf/tst-tls10.c: Likewise.
4455 * elf/tst-tls11.c: Likewise.
4456 * elf/tst-tls12.c: Likewise.
4457 * gnulib/tst-gcc.c: Likewise.
4458 * iconvdata/tst-e2big.c: Likewise.
4459 * iconvdata/tst-loading.c: Likewise.
4460 * iconv/tst-iconv1.c: Likewise.
4461 * iconv/tst-iconv2.c: Likewise.
4462 * inet/test-inet6_opt.c: Likewise.
4463 * inet/tst-gethnm.c: Likewise.
4464 * inet/tst-network.c: Likewise.
4465 * inet/tst-ntoa.c: Likewise.
4466 * intl/tst-codeset.c: Likewise.
4467 * intl/tst-gettext2.c: Likewise.
4468 * intl/tst-gettext3.c: Likewise.
4469 * intl/tst-ngettext.c: Likewise.
4470 * intl/tst-translit.c: Likewise.
4471 * io/test-stat.c: Likewise.
4472 * libio/test-fmemopen.c: Likewise.
4473 * libio/tst-freopen.c: Likewise.
4474 * libio/tst-sscanf.c: Likewise.
4475 * libio/tst-ungetwc1.c: Likewise.
4476 * libio/tst-ungetwc2.c: Likewise.
4477 * libio/tst-widetext.c: Likewise.
4478 * localedata/tst-ctype.c: Likewise.
4479 * localedata/tst-digits.c: Likewise.
4480 * localedata/tst-leaks.c: Likewise.
4481 * localedata/tst-mbswcs1.c: Likewise.
4482 * localedata/tst-mbswcs2.c: Likewise.
4483 * localedata/tst-mbswcs3.c: Likewise.
4484 * localedata/tst-mbswcs4.c: Likewise.
4485 * localedata/tst-mbswcs5.c: Likewise.
4486 * localedata/tst-setlocale.c: Likewise.
4487 * localedata/tst-trans.c: Likewise.
4488 * localedata/tst-wctype.c: Likewise.
4489 * localedata/tst-xlocale1.c: Likewise.
4490 * login/tst-grantpt.c: Likewise.
4491 * malloc/tst-calloc.c: Likewise.
4492 * malloc/tst-malloc.c: Likewise.
4493 * malloc/tst-mallocstate.c: Likewise.
4494 * malloc/tst-mcheck.c: Likewise.
4495 * malloc/tst-mtrace.c: Likewise.
4496 * malloc/tst-obstack.c: Likewise.
4497 * math/atest-exp2.c: Likewise.
4498 * math/atest-exp.c: Likewise.
4499 * math/atest-sincos.c: Likewise.
4500 * math/test-matherr.c: Likewise.
4501 * math/test-misc.c: Likewise.
4502 * math/test-powl.c: Likewise.
4503 * math/tst-definitions.c: Likewise.
4504 * misc/tst-dirname.c: Likewise.
4505 * misc/tst-efgcvt.c: Likewise.
4506 * misc/tst-fdset.c: Likewise.
4507 * misc/tst-hsearch.c: Likewise.
4508 * misc/tst-mntent2.c: Likewise.
4509 * nptl/tst-sem7.c: Likewise.
4510 * nptl/tst-sem8.c: Likewise.
4511 * nptl/tst-sem9.c: Likewise.
4512 * nss/test-netdb.c: Likewise.
4513 * posix/tst-fnmatch.c: Likewise.
4514 * posix/tst-getlogin.c: Likewise.
4515 * posix/tst-gnuglob.c: Likewise.
4516 * posix/tst-mmap.c: Likewise.
4517 * pwd/tst-getpw.c: Likewise.
4518 * resolv/tst-inet_ntop.c: Likewise.
4519 * rt/tst-timer.c: Likewise.
4520 * stdio-common/test-fseek.c: Likewise.
4521 * stdio-common/test-popen.c: Likewise.
4522 * stdio-common/test-vfprintf.c: Likewise.
4523 * stdio-common/tst-cookie.c: Likewise.
4524 * stdio-common/tst-fileno.c: Likewise.
4525 * stdio-common/tst-gets.c: Likewise.
4526 * stdio-common/tst-obprintf.c: Likewise.
4527 * stdio-common/tst-perror.c: Likewise.
4528 * stdio-common/tst-sprintf2.c: Likewise.
4529 * stdio-common/tst-sprintf3.c: Likewise.
4530 * stdio-common/tst-sprintf.c: Likewise.
4531 * stdio-common/tst-swprintf.c: Likewise.
4532 * stdio-common/tst-tmpnam.c: Likewise.
4533 * stdio-common/tst-unbputc.c: Likewise.
4534 * stdio-common/tst-wc-printf.c: Likewise.
4535 * stdlib/tst-environ.c: Likewise.
4536 * stdlib/tst-fmtmsg.c: Likewise.
4537 * stdlib/tst-limits.c: Likewise.
4538 * stdlib/tst-rand48-2.c: Likewise.
4539 * stdlib/tst-rand48.c: Likewise.
4540 * stdlib/tst-random2.c: Likewise.
4541 * stdlib/tst-random.c: Likewise.
4542 * stdlib/tst-strtol.c: Likewise.
4543 * stdlib/tst-strtoll.c: Likewise.
4544 * stdlib/tst-tls-atexit.c: Likewise.
4545 * stdlib/tst-xpg-basename.c: Likewise.
4546 * string/test-ffs.c: Likewise.
4547 * string/tst-bswap.c: Likewise.
4548 * string/tst-inlcall.c: Likewise.
4549 * string/tst-strtok.c: Likewise.
4550 * string/tst-strxfrm.c: Likewise.
4551 * sysdeps/x86_64/tst-audit10.c: Likewise.
4552 * sysdeps/x86_64/tst-audit3.c: Likewise.
4553 * sysdeps/x86_64/tst-audit4.c: Likewise.
4554 * sysdeps/x86_64/tst-audit5.c: Likewise.
4555 * time/tst-ftime_l.c: Likewise.
4556 * time/tst-getdate.c: Likewise.
4557 * time/tst-mktime3.c: Likewise.
4558 * time/tst-mktime.c: Likewise.
4559 * time/tst-posixtz.c: Likewise.
4560 * time/tst-strptime2.c: Likewise.
4561 * time/tst-strptime3.c: Likewise.
4562 * wcsmbs/tst-btowc.c: Likewise.
4563 * wcsmbs/tst-mbrtowc.c: Likewise.
4564 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4565 * wcsmbs/tst-wchar-h.c: Likewise.
4566 * wcsmbs/tst-wcpncpy.c: Likewise.
4567 * wcsmbs/tst-wcrtomb.c: Likewise.
4568 * wcsmbs/tst-wcsnlen.c: Likewise.
4569 * wcsmbs/tst-wcstof.c: Likewise.
4570
2004e7fb
JM
45712014-11-04 Joseph Myers <joseph@codesourcery.com>
4572
ab97ee8f
JM
4573 [BZ #14132]
4574 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4575 INTDEF.
4576 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4577 declaration.
4578 (_dl_mcount): Use rtld_hidden_proto.
4579 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4580 _dl_mcount.
4581 * elf/rtld.c (_rtld_global_ro): Likewise.
4582
c5684fdb
JM
4583 [BZ #14132]
4584 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4585 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4586 of _dl_init_internal.
4587 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4588 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4589 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4590 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4591 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4592 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4593 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4594 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4595 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4596 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4597 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4598 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4599 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4600 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4601 * sysdeps/tile/dl-start.S (_start): Likewise.
4602 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4603 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4604
4243cbea
JM
4605 [BZ #14132]
4606 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4607 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4608 (rtld_progname): Make macro definition unconditional.
4609 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4610 INTDEF.
4611 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4612 (dl_main): Likewise.
4613 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4614 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4615 instead of _dl_argv_internal.
4616 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4617 __GI__dl_argv instead of INTUSE(_dl_argv).
4618 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4619 __GI__dl_argv instead of _dl_argv_internal.
4620
2004e7fb
JM
4621 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4622 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4623 macro.
4624 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4625 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4626 New macro.
4627 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4628 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4629 macro.
4630 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4631 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4632
97827bfc
AS
46332014-11-04 Andreas Schwab <schwab@suse.de>
4634
4635 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4636
5e4df284
AZ
46372014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4640 mtvsrd instruction in binary form.
4641
04b76b5a
AS
46422014-11-03 Andreas Schwab <schwab@suse.de>
4643
4644 [BZ #17522]
4645 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4646 for less than MB_LEN_MAX use a local buffer of that size.
4647 * libio/tst-fputws.c: New file.
4648 * libio/Makefile (tests): Add tst-fputws.
4649
4c6da7da
JM
46502014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4651
4652 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4653 the size of the fpu_fr.fpu_dregs[] array.
4654
1679ba8e
JM
46552014-11-01 Joseph Myers <joseph@codesourcery.com>
4656
4657 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4658 (__nanosleep): Do not define as alias.
4659 (nanosleep): Define as alias of __nanosleep.
4660 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4661 __libc_nanosleep name.
4662
2626c183
JM
46632014-10-31 Joseph Myers <joseph@codesourcery.com>
4664
4665 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4666 install.texi in comment.
4667
7f981fc2
TR
46682014-10-31 Torvald Riegel <triegel@redhat.com>
4669
4670 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4671 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4672 ... add here and use lwsync or sync ...
4673 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4674 ... and add here using lwsync.
4675
d6f373d2
MF
46762014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4677
4678 * elf/dl-machine-reject-phdr.h: New file.
4679 * elf/dl-load.c: #include that.
4680 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4681 if that returned true.
4682
67c37987
RM
46832014-10-31 Roland McGrath <roland@hack.frob.com>
4684
4685 [BZ #17496]
4686 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4687 gen-as-const-headers chunk. Add a big scare comment after the last
4688 safe place to touch before-compile.
4689
94a42455 46902014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4691
f3f5d895
JM
4692 * manual/install.texi (Tools for Compilation): Update autoconf
4693 version requirements.
4694 * INSTALL: Regenerated.
4695
f62ff286
JM
4696 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4697 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4698 (__libc_pselect): Likewise.
94a42455
JM
4699
4700 [BZ #14138]
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4705
ff9dbdc0
TR
47062014-10-31 Torvald Riegel <triegel@redhat.com>
4707
4708 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4709 correct barrier instruction.
4710 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4711 Likewise.
4712 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4713 Likewise.
4714
b4f66884
RM
47152014-10-30 Roland McGrath <roland@hack.frob.com>
4716
4717 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4718 after defining inlines. Instead, just use parens to defeat macro
4719 expansion of __isctype in its declaration.
4720
e19c95fd
JM
47212014-10-30 Joseph Myers <joseph@codesourcery.com>
4722
4723 * include/sys/uio.h (__libc_readv): Remove declaration.
4724 (__libc_writev): Likewise.
4725 * misc/readv.c (__libc_readv): Rename to __readv.
4726 (__readv): Do not define as alias.
4727 (readv): Define as alias of __readv.
4728 * misc/writev.c (__libc_writev): Rename to __writev.
4729 (__writev): Do not define as alias.
4730 (writev): Define as alias of __writev.
4731 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4732 (__readv): Do not define as alias.
4733 (readv): Define unconditionally as alias of __readv.
4734 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4735 (__writev): Do not define as alias.
4736 (writev): Define unconditionally as alias of __writev.
4737 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4738 name.
4739 (writev): Do not define __libc_writev name.
4740
65b00b6c
RM
47412014-10-30 Roland McGrath <roland@hack.frob.com>
4742
4743 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4744 (convert_charseq): New function, broken out of ...
4745 (use_from_charmap): ... here. Call it.
4746 (use_to_charmap): Use convert_charseq and free instead of duplicating
4747 its code with a variable-length stack struct.
4748
d4e157aa
JM
47492014-10-30 Joseph Myers <joseph@codesourcery.com>
4750
4751 * include/fcntl.h (__libc_creat): Remove declaration.
4752 * io/creat.c (__libc_creat): Rename to creat.
4753 (creat): Do not define as alias.
4754 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4755 of creat instead of __libc_creat.
4756 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4757 to creat.
4758 (creat): Do not define as alias.
4759 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4760 __libc_creat.
4761 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4762 __libc_creat name.
4763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4764 Likewise.
4765
0c6891a0
CD
47662014-10-29 Carlos O'Donell <carlos@redhat.com>
4767
4768 * manual/llio.texi: Add comments discussing why write() may be
4769 considered MT-unsafe on Linux.
4770
cc00cece
CD
47712014-10-28 Carlos O'Donell <carlos@redhat.com>
4772
4773 * dl-load.c (local_strdup): Remove.
4774 (expand_dynamic_string_token): Use __strdup.
4775 (decompose_rpath): Likewise.
4776 (_dl_map_object): Likewise.
4777
51e623f2
JM
47782014-10-28 Joseph Myers <joseph@codesourcery.com>
4779
4780 [BZ #14132]
4781 * sysdeps/generic/unwind-dw2-fde.c
4782 (__register_frame_info_bases_internal): Do not declare.
4783 (__register_frame_info_table_bases_internal): Likewise.
4784 (__deregister_frame_info_bases_internal): Likewise.
4785 (__register_frame_info_bases): Declare and use hidden_proto before
4786 definition. Use hidden_def instead of INTDEF.
4787 (__register_frame_info_table_bases): Likewise.
4788 (__deregister_frame_info_bases): Likewise.
4789 (__register_frame_info): Do not use INTUSE.
4790 (__register_frame): Likewise.
4791 (__register_frame_info_table): Likewise.
4792 (__register_frame_table): Likewise.
4793 (__deregister_frame_info): Likewise.
4794 (__deregister_frame): Likewise.
4795
03d41216
GC
47962014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4797
4798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4799 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4800 not undefine.
4801 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4802 Likewise.
4803 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4804 Likewise.
4805
a4b3624d
JM
48062014-10-27 Joseph Myers <joseph@codesourcery.com>
4807
4808 [BZ #14138]
4809 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4810 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4812 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4813 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4814 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4815 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4817 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4818 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4819 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4820 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4821 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4822 syscall.
4823 (setfsuid): Likewise.
4824 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4825 (setfsuid): Likewise.
4826 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4827 (setfsuid): Likewise.
4828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4829 Likewise.
4830 (setfsuid): Likewise.
4831 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4832 (setfsuid): Likewise.
4833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4834 Likewise.
4835 (setfsuid): Likewise.
4836
3574f2fd
AS
48372014-10-27 Andreas Schwab <schwab@suse.de>
4838
4839 [BZ #17501]
4840 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4841 check for Slow_SSE4_2 feature bit.
4842 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4843 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4844 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4845 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4846
70996a37
RM
48472014-10-24 Roland McGrath <roland@hack.frob.com>
4848
461a7b1e
RM
4849 * configure.ac: Validate compiler version with a empirical test of
4850 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4851 $CC -v output.
4852 * configure: Regenerated.
4853
70996a37
RM
4854 * inet/htons.c (htons): Prototypify.
4855 * inet/htonl.c (htonl): Likewise.
4856
e80514b5
WD
48572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4858
4859 * string/strncat.c (strncat): Improve performance by using strlen.
4860
6e46de42
WD
48612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4862
4863 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4864
6a9ad2fa
WD
48652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4866
4867 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4868 Call libc_fetestexcept_aarch64.
4869
1c8810ed
WD
48702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4871
4872 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4873 Call libc_feholdexcept_aarch64.
4874
8b1af712
WD
48752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4876
4877 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4878 Call get_rounding_mode.
4879
a7b00c11
WD
48802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4881
4882 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4883 Simplify logic.
4884
3a84f1a6
WD
48852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4886
4887 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4888 Simplify logic.
4889
48eb7a94
JM
48902014-10-24 Joseph Myers <joseph@codesourcery.com>
4891
c8bc4038
JM
4892 [BZ #14138]
4893 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4894 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4895 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4896 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4897 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4898 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4899 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4900 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4901 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4902 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4903 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4904 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4905 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4906 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4907 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4908 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4909 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4910 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4911 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4912 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4913 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4916 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4918 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4920 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4921 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4922 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4923 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4924 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4925 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4926 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4927 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4933 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4934 syscall.
4935 (geteuid): Likewise.
4936 (getgid): Likewise.
4937 (getuid): Likewise.
4938 (getresgid): Likewise.
4939 (getresuid): Likewise.
4940 (getgroups): Likewise.
4941 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4942 (geteuid): Likewise.
4943 (getgid): Likewise.
4944 (getuid): Likewise.
4945 (getresgid): Likewise.
4946 (getresuid): Likewise.
4947 (getgroups): Likewise.
4948 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4949 (geteuid): Likewise.
4950 (getgid): Likewise.
4951 (getuid): Likewise.
4952 (getresgid): Likewise.
4953 (getresuid): Likewise.
4954 (getgroups): Likewise.
4955 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4956 Likewise.
4957 (geteuid): Likewise.
4958 (getgid): Likewise.
4959 (getuid): Likewise.
4960 (getresgid): Likewise.
4961 (getresuid): Likewise.
4962 (getgroups): Likewise.
4963 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4964 (geteuid): Likewise.
4965 (getgid): Likewise.
4966 (getuid): Likewise.
4967 (getresgid): Likewise.
4968 (getresuid): Likewise.
4969 (getgroups): Likewise.
4970 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4971 Likewise.
4972 (geteuid): Likewise.
4973 (getgid): Likewise.
4974 (getuid): Likewise.
4975 (getgroups): Likewise.
4976
48eb7a94
JM
4977 [BZ #14138]
4978 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4979 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4980 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4981 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4982 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4983 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4984 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4985 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4986 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4988 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4989 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4990 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4991 __chown.
4992 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4993 (lchown): Likewise.
4994 (fchown): Likewise.
4995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4996 Likewise.
4997 (lchown): Likewise.
4998 (fchown): Likewise.
4999 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5000 (lchown): Likewise.
5001 (fchown): Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5003 Likewise.
5004 (lchown): Likewise.
5005 (fchown): Likewise.
5006
ea9a7c8b
WD
50072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5008
5009 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5010 Simplify logic.
5011
e226de33
WD
50122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5013
5014 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5015 Cleanup logic.
5016
6e3d8ed3
WD
50172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5018
5019 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5020 Remove unused include.
5021
eb04247d
WD
50222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5023
5024 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5025 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5026 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5027 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5028
13d84554
CD
50292014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5030 Helge Deller <deller@gmx.de>
5031
5032 [BZ #17508]
5033 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5034 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5035 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5036
15f9c5df
JM
50372014-10-23 Joseph Myers <joseph@codesourcery.com>
5038
5039 [BZ #14132]
5040 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5041 Remove macro definition.
5042 (__ashrdi3_v_glibc20): Likewise.
5043 (__lshrdi3_v_glibc20): Likewise.
5044 (__cmpdi2_v_glibc20): Likewise.
5045 (__ucmpdi2_v_glibc20): Likewise.
5046 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5047 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5048 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5049 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5050 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5051 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5052
c6dfed24
RM
50532014-10-22 Roland McGrath <roland@hack.frob.com>
5054
5055 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5056 old GNU extension [0] syntax.
5057 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5058 alloca rather than an array member with variable length.
5059 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5060 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5061 (parse_opt): ... here. Likewise use alloca there.
5062 Validate the -i argument before checking for rootness.
5063 (send_shutdown): New function, broken out of ...
5064 (parse_opt): ... here.
5065
8c2b1ed8
RM
50662014-10-22 Roland McGrath <roland@hack.frob.com>
5067
5068 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5069 macro to get at the _rt_local_ro field.
5070 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5071 ([PIC] case) or _dl_hwcap ([!PIC] case).
5072 * sysdeps/arm/setjmp.S: Likewise.
5073
5074 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5075 * sysdeps/arm/configure.ac: New check to define it.
5076 * sysdeps/arm/configure: Regenerated.
5077 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5078 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5079 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5080 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5081 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5082 Use move/movt pair instead of a load.
5083 (LDST_GLOBAL): Macro removed.
5084 (LDR_GLOBAL): New macro replaces it.
5085 (LDR_HIDDEN): New macro.
5086 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5087 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5088
5089 * setjmp/tst-setjmp-static.c: New file.
5090 * setjmp/Makefile (tests): Add it.
5091 (tests-static): New variable.
5092
b5af9297
MR
50932014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5094
5095 [BZ #17485]
5096 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5097
a13d0d74
JM
50982014-10-21 Joseph Myers <joseph@codesourcery.com>
5099
5100 [BZ #14132]
5101 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5102
f05e73f6
RM
51032014-10-21 Roland McGrath <roland@hack.frob.com>
5104
5105 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5106
6ab1d1ea
RM
51072014-10-20 Roland McGrath <roland@hack.frob.com>
5108
5109 * io/fts.c (dirent_not_directory): New function.
5110 (fts_build): Call it.
5111
ab49e763
RM
51122014-10-20 Roland McGrath <roland@hack.frob.com>
5113
e436eb79
RM
5114 * nptl/version.c (__nptl_main): Use normal __write rather than
5115 INTERNAL_SYSCALL.
5116 (banner): Update copyright years.
5117
6af246cf
RM
5118 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5119 gettimeofday.
5120 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5121 * nptl/pthread_cond_timedwait.c: Likewise.
5122 * nptl/pthread_mutex_timedlock.c: Likewise.
5123 * nptl/sem_timedwait.c: Likewise.
5124
ab49e763
RM
5125 * sysdeps/nptl/bits/libc-lock.h
5126 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5127 (__libc_lock_init_recursive): Return void, not 0.
5128 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5129 (__libc_rwlock_init): Likewise.
5130 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5131
f50277c1
TR
51322014-10-20 Torvald Riegel <triegel@redhat.com>
5133
5134 [BZ #15215]
5135 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5136 (__pthread_once_slow): ... here.
5137 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5138 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5139
63668b70
TR
51402014-10-20 Torvald Riegel <triegel@redhat.com>
5141
5142 [BZ #15215]
5143 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5144 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5145 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5146 * nptl/pthread_once.c (__pthread_once): Likewise.
5147 Update comments.
5148
42b7f5d4
JM
51492014-10-20 Joseph Myers <joseph@codesourcery.com>
5150
5151 [BZ #14138]
5152 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5153 name.
5154 (writev): Use __libc_writev as strong name.
5155 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5156 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5157
b0643088
RM
51582014-10-17 Roland McGrath <roland@hack.frob.com>
5159
114c4e09
RM
5160 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5161
674b8978
RM
5162 * sysdeps/i386/nptl/tls.h
5163 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5164 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5165 New macros.
5166 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5167 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5168 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5169 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5170 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5171 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5172
184ee940
RM
5173 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5174 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5175 on [__NR_futex].
5176 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5177 broken out of ...
5178 (__pthread_mutex_init): ... here. Call it.
5179 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5180 Conditionalize PI cases on [__NR_futex].
5181 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5182 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5183 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5184
327ae257
RM
5185 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5186 conditional on [SIGSETXID].
5187 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5188 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5189 is defined. Likewise for SIGSETXID.
5190 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5191 Conditionalize definitions on [SIGSETXID].
5192 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5193 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5194 unblocking on [SIGCANCEL].
5195
b0643088
RM
5196 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5197 [__NR_set_robust_list].
5198
33cc770b
SP
51992014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
5201 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5202 (do_compare): Likewise.
5203
0742aef6
LH
52042014-10-17 Leonhard Holz <leonhard.holz@web.de>
5205
5206 [BZ #15884]
5207 * string/strcoll_l.c: Don't include stdio.h.
5208 (coll_seq): Remove members idxarr and rulearr.
5209 (get_next_seq_cached): Remove function.
5210 (get_next_seq): Likewise.
5211 (get_next_seq_nocache): Rename to get_next_seq.
5212 (do_compare): Remove function.
5213 (do_compare_nocache): Rename to do_compare.
5214 (STRCOLL): Remove weight and rules cache.
5215
ee54ce44
RM
52162014-10-16 Roland McGrath <roland@hack.frob.com>
5217
5218 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5219 * sysdeps/arm/sfp-machine.h: ... to here.
5220 * sysdeps/arm/Implies: Remove arm/soft-fp.
5221
a75d3b02
JM
52222014-10-14 Joseph Myers <joseph@codesourcery.com>
5223
5224 * conform/data/sys/utsname.h-data (*_t): Allow.
5225 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5226 [POSIX] (WEXITED): Do not expect constant.
5227 [POSIX] (WSTOPPED): Likewise.
5228 [POSIX] (WNOHANG): Likewise.
5229 [POSIX] (WNOWAIT): Likewise.
5230 [POSIX] (siginfo_t): Do not expect type or elements.
5231 [POSIX] (pid_t): Do not expect type.
5232 [POSIX] (signal.h): Do not allow header.
5233 [POSIX] (sys/resource.h): Likewise.
5234 [POSIX] (si_*): Do not allow pattern.
5235 [POSIX] (W*): Likewise.
5236 [POSIX] (P_*): Likewise.
5237 [POSIX] (BUS_*): Likewise.
5238 [POSIX] (CLD_*): Likewise.
5239 [POSIX] (FPE_*): Likewise.
5240 [POSIX] (ILL_*): Likewise.
5241 [POSIX] (POLL_*): Likewise.
5242 [POSIX] (SEGV_*): Likewise.
5243 [POSIX] (SI_*): Likewise.
5244 [POSIX] (TRAP_*): Likewise.
5245 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5246 variable.
5247
fda389c8
SP
52482014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5249
5250 [BZ #12926]
5251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5252 infinite loop when __recvmsg returns 0.
5253
6bc6bd3b
JM
52542014-10-10 Joseph Myers <joseph@codesourcery.com>
5255
fcb32af1
JM
5256 * CANCEL-FCT-WAIVE: Remove file.
5257 * CANCEL-FILE-WAIVE: Likewise.
5258
6bc6bd3b
JM
5259 [BZ #14132]
5260 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5261 instead of INTVARDEF.
5262 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5263 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5264 rtld_hidden_data_def instead of INTVARDEF.
5265 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5266 * elf/dl-deps.c (expand_dst): Likewise.
5267 * elf/dl-load.c (_dl_dst_count): Likewise.
5268 (_dl_dst_substitute): Likewise.
5269 (decompose_rpath): Likewise.
5270 (_dl_init_paths): Likewise.
5271 (open_path): Likewise.
5272 (_dl_map_object): Likewise.
5273 * elf/rtld.c (dl_main): Likewise.
5274 (process_dl_audit): Likewise.
5275 (process_envvars): Likewise.
5276 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5277 Remove declaration.
5278 (__libc_enable_secure): Use rtld_hidden_proto.
5279
b8c80a7e
KS
52802014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5281
5282 * elf/dl-load.c
5283 (add_path): New function broken out of _dl_rtld_di_serinfo.
5284 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5285
ff12c11f
JM
52862014-10-09 Joseph Myers <joseph@codesourcery.com>
5287
5c0508a3
JM
5288 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5289 parentheses around macro arguments.
5290 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5292 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5296 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5300 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5301 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5302 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5303 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5304 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5305 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5306 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5307 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5308 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5310 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5314 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5318 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5319 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5321 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5322 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5323 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5324 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5325 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5326 Likewise.
5327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5332 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5333 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5334 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5336 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5337 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5338 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5339 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5343 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5348 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5351 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5352 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5353 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5354 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5355 (_FP_FRAC_SRS_1): Likewise.
5356 (_FP_FRAC_CLZ_1): Likewise.
5357 (_FP_MUL_MEAT_1_imm): Likewise.
5358 (_FP_MUL_MEAT_1_wide): Likewise.
5359 (_FP_MUL_MEAT_1_hard): Likewise.
5360 (_FP_SQRT_MEAT_1): Likewise.
5361 (_FP_FRAC_ASSEMBLE_1): Likewise.
5362 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5363 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5364 (__FP_CLZ_2): Likewise.
5365 (_FP_MUL_MEAT_2_wide): Likewise.
5366 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5367 (_FP_MUL_MEAT_2_gmp): Likewise.
5368 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5369 (_FP_SQRT_MEAT_2): Likewise.
5370 (_FP_FRAC_ASSEMBLE_2): Likewise.
5371 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5372 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5373 (_FP_FRAC_CLZ_4): Likewise.
5374 (_FP_MUL_MEAT_4_wide): Likewise.
5375 (_FP_MUL_MEAT_4_gmp): Likewise.
5376 (_FP_SQRT_MEAT_4): Likewise.
5377 (_FP_FRAC_ASSEMBLE_4): Likewise.
5378 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5379 * soft-fp/op-common.h (_FP_CMP): Likewise.
5380 (_FP_CMP_EQ): Likewise.
5381 (_FP_CMP_UNORD): Likewise.
5382 (_FP_TO_INT): Likewise.
5383 (_FP_FROM_INT): Likewise.
5384 [!__FP_CLZ] (__FP_CLZ): Likewise.
5385 (_FP_DIV_HELP_imm): Likewise.
5386 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5387 Likewise.
5388 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5398 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5399 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5401 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5402 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5403 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5404 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5406 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5417 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5420 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5421 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5422 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5423 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5424 (FP_UNPACK_RAW_SP): Likewise.
5425 (FP_PACK_RAW_S): Likewise.
5426 (FP_PACK_RAW_SP): Likewise.
5427 (FP_UNPACK_S): Likewise.
5428 (FP_UNPACK_SP): Likewise.
5429 (FP_UNPACK_SEMIRAW_S): Likewise.
5430 (FP_UNPACK_SEMIRAW_SP): Likewise.
5431 (FP_PACK_S): Likewise.
5432 (FP_PACK_SP): Likewise.
5433 (FP_PACK_SEMIRAW_S): Likewise.
5434 (FP_PACK_SEMIRAW_SP): Likewise.
5435 (_FP_SQRT_MEAT_S): Likewise.
5436 (FP_CMP_S): Likewise.
5437 (FP_CMP_EQ_S): Likewise.
5438 (FP_CMP_UNORD_S): Likewise.
5439 (FP_TO_INT_S): Likewise.
5440 (FP_FROM_INT_S): Likewise.
5441
a736ec37
JM
5442 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5443
ff12c11f
JM
5444 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5445 (FP_EX_INVALID_IMZ): Likewise.
5446 (FP_EX_INVALID_IMZ_FMA): Likewise.
5447 (FP_EX_INVALID_ISI): Likewise.
5448 (FP_EX_INVALID_ZDZ): Likewise.
5449 (FP_EX_INVALID_IDI): Likewise.
5450 (FP_EX_INVALID_SQRT): Likewise.
5451 (FP_EX_INVALID_CVI): Likewise.
5452 (FP_EX_INVALID_VC): Likewise.
5453 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5454 "invalid" exceptions.
5455 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5456 (_FP_ADD_INTERNAL): Likewise.
5457 (_FP_MUL): Likewise.
5458 (_FP_FMA): Likewise.
5459 (_FP_DIV): Likewise.
5460 (_FP_CMP_CHECK_NAN): Likewise.
5461 (_FP_SQRT): Likewise.
5462 (_FP_TO_INT): Likewise.
5463 (FP_EXTEND): Likewise.
5464
b6dcfe8c
AM
54652014-10-09 Allan McRae <allan@archlinux.org>
5466
5467 * po/fr.po: Update French translation from translation project.
5468
2d6a47ba
JM
54692014-10-09 Joseph Myers <joseph@codesourcery.com>
5470
cb831245
JM
5471 [BZ #14132]
5472 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5473 of INTDEF.
5474 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5475 (__cxa_atexit): Use libc_hidden_proto.
5476 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5477
5deeb190
JM
5478 [BZ #14132]
5479 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5480 declaration.
5481 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5482 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5483 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5484 [!_ISOMAC] (__iswctype_internal): Likewise.
5485 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5486 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5487 alias.
5488 (fcntl): Remove __fcntl_internal alias.
5489 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5490 __connect_internal alias.
5491 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5492 Likewise.
5493
454ac701
JM
5494 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5495 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5496 FP_DENORM_ZERO.
5497 (_FP_CHECK_FLUSH_ZERO): New macro.
5498 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5499 (_FP_CMP): Likewise.
5500 (_FP_CMP_EQ): Likewise.
5501 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5502 FP_DENORM_ZERO.
5503 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5504 (FP_TRUNC): Likewise.
5505
0022e688
JM
5506 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5507 treated as invalid conversion, not as normal exponent.
5508
73e28d9c
JM
5509 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5510 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5511 (_FP_CMP_EQ): Likewise.
5512 (_FP_CMP_UNORD): Likewise.
5513 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5514 (FP_CMP_EQ_D): Likewise.
5515 (FP_CMP_UNORD_D): Likewise.
5516 * soft-fp/extended.h (FP_CMP_E): Likewise.
5517 (FP_CMP_EQ_E): Likewise.
5518 (FP_CMP_UNORD_E): Likewise.
5519 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5520 (FP_CMP_EQ_Q): Likewise.
5521 (FP_CMP_UNORD_Q): Likewise.
5522 * soft-fp/single.h (FP_CMP_S): Likewise.
5523 (FP_CMP_EQ_S): Likewise.
5524 (FP_CMP_UNORD_S): Likewise.
5525 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5526 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5527 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5528 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5529 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5530 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5531 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5532 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5533 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5534 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5535 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5536 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5537 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5538 to FP_CMP_Q.
5539 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5540 FP_CMP_Q.
5541 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5542 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5543 FP_CMP_EQ_Q.
5544 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5545 FP_CMP_Q.
5546 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5547 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5548 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5549 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5550 FP_CMP_EQ_Q.
5551 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5552 FP_CMP_Q.
5553 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5554 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5555 FP_CMP_EQ_Q.
5556 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5557 FP_CMP_Q.
5558 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5559 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5560 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5561 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5562 FP_CMP_EQ_Q.
5563
43059f42
JM
5564 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5565 a subnormal result, set the underflow exception if trapping on
5566 underflow is enabled.
5567 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5568 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5569 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5570 redefine to 0.
5571 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5572 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5573 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5574 * soft-fp/extendxftf2.c (__extendxftf2): Use
5575 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5576
2d6a47ba
JM
5577 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5578 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5579 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5580 FP_HANDLE_EXCEPTIONS.
5581 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5582 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5583 FP_HANDLE_EXCEPTIONS.
5584 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5585 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5586 FP_HANDLE_EXCEPTIONS.
5587 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5588 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5589 FP_HANDLE_EXCEPTIONS.
5590
620f462e
JM
55912014-10-08 Joseph Myers <joseph@codesourcery.com>
5592
5593 [BZ #14132]
5594 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5595 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5596 use INTUSE.
5597 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5598 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5599 Remove alias.
5600 (__adjtimex): Define using libc_hidden_ver.
5601 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5602 Remove declaration.
5603 (ntp_gettime): Call __adjtimex directly.
5604 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5605 Remove declaration.
5606 (ntp_gettimex): Call __adjtimex directly.
5607 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5608 __adjtimex_internal alias.
5609
c763c5d2
RM
56102014-10-08 Roland McGrath <roland@hack.frob.com>
5611
5612 [BZ #17460]
5613 * nscd/nscd.c (more_help): Rewrite list of tables collection
5614 using xstrdup and asprintf.
5615
5616 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5617
7b8fb2b8
RM
56182014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5619 Roland McGrath <roland@hack.frob.com>
5620
5621 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5622 (do_lookup_unique): ... local function 'enter' here; update callers.
5623
abb280f7
JM
56242014-10-06 Joseph Myers <joseph@codesourcery.com>
5625
f7b42517
JM
5626 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5627 compat_symbol calls on [SHARED].
5628 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5629 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5630 Remove.
5631 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5632 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5633 (oldsetrlimit): Remove.
5634 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5636 (lchown): New syscall entry.
5637 (oldsetrlimit): Remove.
5638 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5640 (oldsetrlimit): Remove.
5641 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5642
abb280f7
JM
5643 [BZ #14138]
5644 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5645 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5646 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5647 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5648 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5649 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5650 (fchown): Likewise.
5651 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5652 (fchown): Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5654 Likewise.
5655
47d46237
AZ
56562014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5657
5658 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5659 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5660 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5661 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5662 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5663 Likewise.
5664 (__old_sem_post): Likewise.
5665
56662014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5667
845a7343
CM
5668 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5669 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5670 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5671 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5672 Use INLINE_VSYSCALL macro.
5673 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5674 __vdso_clock_gettime.
5675 * sysdeps/unix/sysv/linux/tile/init-first.c
5676 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5677 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5678 __vdso_clock_gettime.
5679
83d641ef
CM
5680 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5681 to set up frame more cleanly.
5682
d9cd52e6
CM
5683 * sysdeps/tile/memcmp.c: New file.
5684
4b68ea11
CM
5685 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5686
c86f7b80
CM
5687 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5688 * sysdeps/tile/tilegx/strcasestr.c: New file.
5689 * sysdeps/tile/tilegx/strnlen.c: New file.
5690 * sysdeps/tile/tilegx/strstr.c: New file.
5691
1c4c1a6f
CM
5692 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5693
99d86ea3
AS
56942014-10-06 Arjun Shankar <arjun.is@lostca.se>
5695
5696 * nptl/tst-setuid3.c: Write errors to stdout.
5697
06210a44
KS
56982014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5699
5700 * elf/dl-deps.c
5701 (preload): New functions broken out of _dl_map_object_deps.
5702 (_dl_map_object_deps): Remove a nested function. Update call sites.
5703
6268f532
JM
57042014-10-01 Joseph Myers <joseph@codesourcery.com>
5705
5706 [BZ #14138]
5707 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5708 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5709
b925285f
SE
57102014-10-01 Steve Ellcey <sellcey@mips.com>
5711
5712 * sysdeps/mips/strcmp.S: New.
5713
754a15c6
JM
57142014-09-30 Joseph Myers <joseph@codesourcery.com>
5715
5716 [BZ #14138]
5717 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5718 (linkat): Likewise.
5719 (mkdirat): Likewise.
5720 (readlinkat): Likewise.
5721 (renameat): Likewise.
5722 (symlinkat): Likewise.
5723 (unlinkat): Likewise.
5724 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5725 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5726 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5727 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5728 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5729 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5730 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5731
85bb81c9
WN
57322014-09-30 Will Newton <will.newton@linaro.org>
5733
dc6fe23b
WN
5734 * math/math.h: Define long double math functions if
5735 _LIBC_TEST is defined.
5736 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5737
85bb81c9
WN
5738 * localedata/Makefile: Move assignment to tests-special
5739 into an ifdef testing run-built-tests.
5740 * timezone/Makefile: Likewise.
5741
b7e02da4
JM
57422014-09-29 Joseph Myers <joseph@codesourcery.com>
5743
5744 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5745 with $(BASH) not $(SHELL).
5746
62058ce6
CD
57472014-09-29 Carlos O'Donell <carlos@redhat.com>
5748 Matthew LeGendre <legendre1@llnl.gov>
5749
5750 [BZ #17411]
5751 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5752 l_reloc_result.
5753
8e257a29
KS
57542014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5755
5756 * stdio-common/printf_fp.c
5757 (hack_digit): New function, broken out of ...
5758 (__printf_fp): ... local function here. Update call sites.
5759 hack_digit now takes an additional parameter that is a pointer
5760 to a struct of the referenced locals. Those locals moved inside
5761 the struct and references updated.
5762
f4a58f0d
L
57632014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 * aclocal.m4: Require autoconf 2.69.
5766 * configure: Regenerated.
5767 * sysdeps/aarch64/configure: Likewise.
5768 * sysdeps/alpha/configure: Likewise.
5769 * sysdeps/arm/armv7/configure: Likewise.
5770 * sysdeps/arm/configure: Likewise.
5771 * sysdeps/ia64/configure: Likewise.
5772 * sysdeps/mach/configure: Likewise.
5773 * sysdeps/mips/configure: Likewise.
5774 * sysdeps/s390/configure: Likewise.
5775 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5777
5778 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5779 file.
5780 * sysdeps/ia64/configure.ac: Likewise.
5781
93ae1eba
JM
57822014-09-26 Joseph Myers <joseph@codesourcery.com>
5783
1810d3ab
JM
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5785 specify symbol version for ld.so. Do not include entry for
5786 libpthread.
5787 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5788 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5789 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5790
93ae1eba
JM
5791 [BZ #14171]
5792 * Makeconfig [$(build-shared) = yes]
5793 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5794 makefiles.
5795 [$(build-shared) = yes && $(soversions.mk-done) = t]
5796 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5797 [$(build-shared) = yes && $(soversions.mk-done) = t]
5798 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5799 to Makerules.
5800 [$(build-shared) = yes && $(soversions.mk-done) = t]
5801 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5802 here.
5803 [$(build-shared) = yes && $(soversions.mk-done) = t]
5804 (common-generated): Don't append gnu/lib-names.h and
5805 gnu/lib-names.stmp here.
5806 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5807 (lib-names-h-abi): New variable.
5808 [$(build-shared) = yes && $(soversions.mk-done) = t]
5809 (lib-names-stmp-abi): Likewise.
5810 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5811 abi-variants] (before-compile): Append
5812 $(common-objpfx)$(lib-names-h-abi).
5813 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5814 abi-variants] (common-generated): Append gnu/lib-names.h.
5815 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5816 abi-variants] (install-others-nosubdir): Depend on
5817 $(inst_includedir)/$(lib-names-h-abi).
5818 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5819 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5820 [$(build-shared) = yes && $(soversions.mk-done) = t]
5821 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5822 [$(build-shared) = yes && $(soversions.mk-done) = t]
5823 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5824 [$(build-shared) = yes && $(soversions.mk-done) = t]
5825 (common-generated): Append $(lib-names-h-abi) and
5826 $(lib-names-stmp-abi).
5827 * scripts/lib-names.awk: Do not handle multi being set.
5828 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5829 Remove variable.
5830 (abi-lp64_be-ld-soname): Likewise.
5831 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5832 Likewise.
5833 (abi-hard-ld-soname): Likewise.
5834 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5835 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5836 Remove variable.
5837 (abi-o32_hard-ld-soname): Likewise.
5838 (abi-o32_soft_2008-ld-soname): Likewise.
5839 (abi-o32_hard_2008-ld-soname): Likewise.
5840 (abi-n32_soft-ld-soname): Likewise.
5841 (abi-n32_hard-ld-soname): Likewise.
5842 (abi-n32_soft_2008-ld-soname): Likewise.
5843 (abi-n32_hard_2008-ld-soname): Likewise.
5844 (abi-n64_soft-ld-soname): Likewise.
5845 (abi-n64_hard-ld-soname): Likewise.
5846 (abi-n64_soft_2008-ld-soname): Likewise.
5847 (abi-n64_hard_2008-ld-soname): Likewise.
5848 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5849 Likewise.
5850 (abi-64-v2-ld-soname): Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5852 ld.so entries.
5853 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5854 variable.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5856 entry.
5857 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5858 variable.
5859 (abi-64-ld-soname): Likewise.
5860 (abi-x32-ld-soname): Likewise.
5861 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5862 entry.
5863 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5864
68870f12
JM
58652014-09-23 Joseph Myers <joseph@codesourcery.com>
5866
5867 [BZ #14138]
5868 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5869 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5870 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5872 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5873 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5874 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5875 syscall entry for GLIBC_2.2 symbol version.
5876 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5877 Likewise.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5879 (setrlimit): Likewise.
5880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5881 Likewise.
5882
ea58f202
WN
58832014-09-23 Will Newton <will.newton@linaro.org>
5884
5885 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5886 _LINUX_ARM_SYSDEP_H include guard too.
5887 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5888 define.
5889
69eb9a18
RV
58902014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5891
5892 * sysdeps/unix/sysv/linux/eventfd.c:
5893 Make first argument unsigned.
5894 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5895 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5896
20e5a5f7
OB
58972014-09-20 Ondřej Bílka <neleai@seznam.cz>
5898
5899 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5900 * socket/sys/socket.h: Likewise
5901 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5902
d3c827e7
AK
59032014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5904
5905 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5906
fe1cc35a
AS
59072014-09-17 Arjun Shankar <arjun.is@lostca.se>
5908
5909 * time/tst-ftime.c: New test.
5910 * time/Makefile (tests): Add tst-ftime.
5911
4e8afe69
JM
59122014-09-17 Joseph Myers <joseph@codesourcery.com>
5913
c4fe3ea7
JM
5914 * soft-fp/extended.h: Fix comment formatting.
5915 * soft-fp/op-1.h: Likewise.
5916 * soft-fp/op-2.h: Likewise.
5917 * soft-fp/op-4.h: Likewise.
5918 * soft-fp/op-8.h: Likewise.
5919 * soft-fp/op-common.h: Likewise.
5920 * soft-fp/soft-fp.h: Likewise.
5921
4e8afe69
JM
5922 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5923
af296fcd
JM
59242014-09-16 Joseph Myers <joseph@codesourcery.com>
5925
5926 [BZ #6652]
5927 * Makeconfig (soversions-default-setname): Remove variable.
5928 ($(common-objpfx)soversions.i): Don't pass default_setname to
5929 soversions.awk.
5930 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5931 oldest_abi to abi-versions.awk.
5932 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5933 * config.make.in (oldest-abi): Remove variable.
5934 * configure.ac (--enable-oldest-abi): Remove configure option.
5935 * configure: Regenerated.
5936 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5937 text.
5938 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5939 * scripts/soversions.awk: Do not handle default_setname variable.
5940 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5941 variable.
5942 * sysdeps/mach/hurd/configure: Regenerated.
5943 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5944 variable.
5945 * sysdeps/unix/sysv/linux/configure: Regenerated.
5946
545583d6
SP
59472014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
d330b980
SP
5949 * elf/Makefile (CFLAGS-interp.c): Remove.
5950 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5951 path string.
5952 * elf/interp.c: Include generated runtime-linker.h
5953
02657da2
SP
5954 * Makerules (lib%.so): Don't include $(+interp) in
5955 prerequisites.
5956 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5957 * dlfcn/eval.c: Remove file.
5958
653b1080
SP
5959 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5960 macros.
5961
602f80ec
SP
5962 [BZ #17266]
5963 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5964 4.2 and newer.
5965
545583d6
SP
5966 [BZ #17370]
5967 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5968
884ddc50
SP
59692014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 Jakub Jelinek <jakub@redhat.com>
5971
5972 [BZ #17266]
5973 * libio/stdio.h: Check definition of __fortify_function
5974 instead of __extern_always_inline to include bits/stdio2.h.
5975 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5976 check if __extern_always_inline is defined.
5977 [__USE_MISC || __USE_XOPEN]: Likewise.
5978 [__USE_ISOC99] Likewise.
5979 * misc/sys/cdefs.h (__fortify_function): Define only if
5980 __extern_always_inline is defined.
5981 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5982 __extern_always_inline and __extern_inline only for g++-4.3
5983 and newer or a compatible gcc.
5984
a7b87268
AS
59852014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5986
5987 [BZ #17371]
5988 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5989 last change to handle zero prefix length.
5990
3f41521d
SP
59912014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5992
61fe374a
SP
5993 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5994 _SC_REGEX_VERSION.
5995
3f41521d
SP
5996 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5997 _POSIX_RAW_SOCKETS.
5998
d8f879ee
AM
59992014-09-13 Allan McRae <allan@archlinux.org>
6000
6001 * po/ru.po: Update Russian translation from translation project.
6002
c079afb7
RM
60032014-09-12 Roland McGrath <roland@hack.frob.com>
6004
a62b3c15
RM
6005 * locale/programs/locale.c (show_locale_vars): Inline local function
6006 into its sole call site. Clean up some style nits.
6007 (print_item): New function, broken out of ...
6008 (show_info): ... local function here. Clean up style nits.
6009
d7e49b19
RM
6010 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6011 out of ...
6012 (set_class_defaults): ... local function set_default here.
6013 Define set_default as a macro locally to pass constant parameters.
6014 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6015 rather than a shared local.
6016
c079afb7
RM
6017 * stdlib/rpmatch.c (try): New function, broken out of ...
6018 (rpmatch): ... local function here. Also, prototypify definition.
6019
0bd72468
JM
60202014-09-12 Joseph Myers <joseph@codesourcery.com>
6021
ba90e050
JM
6022 * scripts/soversions.awk: Do not handle configuration names.
6023 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6024 vendor and os variables to soversions.awk.
6025 * configure.ac: Do not modify gnu-* host_os.
6026 * configure: Regenerated
6027 * shlib-versions: Remove first column with configuration names.
6028 * nptl/shlib-versions: Likewise.
6029 * nptl_db/shlib-versions: Likewise.
6030 * sysdeps/hppa/shlib-versions: Likewise.
6031 * sysdeps/m68k/shlib-versions: Likewise.
6032 * sysdeps/mach/hurd/shlib-versions: Likewise.
6033 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6034 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6035 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6036 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6037 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6038 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6039 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6040 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6042 Likewise.
6043 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6044 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6045 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6046 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6048 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6049 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6050 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6051
73a39112
JM
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6053 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6055 Regenerated.
6056 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6058 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6059
c729e7c1
JM
6060 * shlib-versions: Remove OS-specific entries. Moved to files in
6061 sysdeps.
6062 * sysdeps/mach/hurd/shlib-versions: New file.
6063 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6064
dc932a24
JM
6065 * nptl/shlib-versions: Remove architecture-specific entries.
6066 Moved to files in sysdeps.
6067 * shlib-versions: Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6069 file.
6070 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6071 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6072 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6073 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6074
0bd72468
JM
6075 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6076 (UDP_NO_CHECK6_RX): Likewise.
6077
920238e0
SP
60782014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6079
6080 * sysdeps/posix/sysconf.c (__sysconf): Spell
6081 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6082
ba7b4d29
FW
60832014-08-12 Florian Weimer <fweimer@redhat.com>
6084
6085 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6086 loading.
6087 * iconv/Versions (__gconv_transliterate): Export for use from
6088 gconv modules.
6089 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6090 (struct __gconv_trans_data, __gconv_trans_fct,
6091 __gconv_trans_context_fct, __gconv_trans_query_fct,
6092 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6093 definitions.
6094 (struct __gconv_step_data): Remove __trans member.
6095 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6096 longer hidden. Remove unused trans_data argument.
6097 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6098 (__gconv_translit_find): Remove declaration.
6099 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6100 prototype.
6101 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6102 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6103 trans_data argument. Add hidden definition.
6104 (__gconv_translit_find): Remove.
6105 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6106 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6107 * iconv/skeleton.c: Remove transliteration initialization.
6108 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6109 __gconv_step_data initialization.
6110 * libio/iofwide.c (__libio_translit_): Remove.
6111 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6112 * wcsmbs/btowc.c (__btowc): Likewise.
6113 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6114 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6115 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6116 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6117 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6118 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6119 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6120 * wcsmbs/wctob.c (wctob): Likewise.
6121
5379aebd
SP
61222014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6123
6124 [BZ #16194]
6125 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6126 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6127 register usage.
6128 * sysdeps/x86/Makefile: Adjust.
6129
8c0ab919
RM
61302014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6131 Roland McGrath <roland@hack.frob.com>
6132
6133 * locale/weight.h: Add include guard.
6134 (findidx): Make static rather than auto; take new parameters
6135 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6136 * locale/weightwc.h: Likewise.
6137 * posix/fnmatch_loop.c
6138 (FCT): Change type of EXTRA from int32_t to wint_t.
6139 Don't include either header inside the function.
6140 Call FINDIDX rather than findidx, and pass new arguments.
6141 #undef FINDIDX at the end of the file.
6142 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6143 FINDIDX before including fnmatch_loop.c for the non-wide version.
6144 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6145 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6146 for the wide version.
6147 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6148 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6149 Pass new arguments to findidx.
6150 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6151 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6152 Don't #include it inside the function. Pass new arguments to findidx.
6153 * posix/regex_internal.h
6154 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6155 (re_string_elem_size_at): Don't #include it inside the function.
6156 Pass new arguments to findidx.
6157 * string/strcoll_l.c: #include WEIGHT_H at top level.
6158 (get_next_seq): Don't #include it inside the function.
6159 Pass new arguments to findidx.
6160 (get_next_seq_nocache): Likewise.
6161 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6162 (STRXFRM): Don't #include it inside the function.
6163 Pass new arguments to findidx.
6164
52ffbdf2
FW
61652014-09-11 Florian Weimer <fweimer@redhat.com>
6166
6167 [BZ #17344]
6168 * malloc/malloc.c (unlink): Turn asserts into a call to
6169 malloc_printerr.
6170
984c0ea9
TL
61712014-09-11 Tim Lammens <tim.lammens@gmail.com>
6172
6173 [BZ #17370]
6174 * libio/wfileops (do_ftell_wide): Free OUT.
6175
3daee107
CM
61762014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6177
6178 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6179
58b930ae
SP
61802014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6181
6182 [BZ #17363]
6183 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6184 group if the current group is empty.
6185
3b473fec
AZ
61862014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187
71ae8647
AZ
6188 * benchtests/bench-memset.c (test_main): Add more test from size
6189 from 32 to 512 bytes.
6190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6191 Add POWER8 memset object.
6192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6193 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6194 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6195 implementation.
6196 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6197 Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6199 multiarch POWER8 memset optimization.
6200 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6201 POWER8 memset optimization.
6202
3b473fec
AZ
6203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6204 Remove bzero multiarch objects.
6205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6209 Remove define.
6210 [__bzero]: Redefine to specific name.
6211 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6212 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6213 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6214 define.
6215 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6217
e6fb9587
FW
62182014-09-10 Florian Weimer <fweimer@redhat.com>
6219
6220 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6221 warnings into errors.
6222
6223 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6224 __cxa_thread_atexit_impl prototype.
6225
9d3a350b
SE
62262014-09-09 Steve Ellcey <sellcey@mips.com>
6227
6228 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6229 Fix capitalization of error message.
6230
0febba23
SE
62312014-09-09 Steve Ellcey <sellcey@mips.com>
6232
6233 * sysdeps/mips/preconfigure: Modify ABI tests.
6234
645a0e9c
CD
62352014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6236
6237 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6238
d83f0734
CD
62392014-09-07 Roland McGrath <roland@hack.frob.com>
6240 Carlos O'Donell <carlos@systemhalted.org>
6241
6242 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6243 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6244 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6245 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6246 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6247 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6248 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6249 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6250 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6251 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6252 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6253 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6254 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6255 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6256 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6257 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6258 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6259 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6260 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6261 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6262 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6263 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6264 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6265 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6266 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6267 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6268 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6269 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6270 Deconditionalize the code that was previously under [RESET_PID].
6271 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6272 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6273 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6274 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6275 include sysdep.h.
6276
21c83793
AM
62772014-09-08 Allan McRae <allan@archlinux.org>
6278
6279 * version.h (RELEASE): Set to "development".
6280 (VERSION): Set to "2.20.90"
6281
1cd9b65c
AM
62822014-09-07 Allan McRae <allan@archlinux.org
6283
b8079dd0
AM
6284 * version.h (RELEASE): Set to "stable".
6285 (VERSION): Set to "2.20"
6286 * include/features.h (__GLIBC_MINOR__): Set to 20.
6287
c46303ef
AM
6288 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6289 Liebler.
6290
1cd9b65c
AM
6291 * po/ko.po: Update Korean translation from translation project.
6292
8622092d
CM
62932014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6294
6295 [BZ #17354]
6296 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6297 macro for handling signed relocations.
6298
41488498
FW
62992014-09-03 Florian Weimer <fweimer@redhat.com>
6300
6301 [BZ #17325]
6302 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6303 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6304 assert.
6305 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6306 * iconvdata/ibm935.c (BODY): Likewise.
6307 * iconvdata/ibm937.c (BODY): Likewise.
6308 * iconvdata/ibm939.c (BODY): Likewise.
6309 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6310 assert.
6311 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6312 script.
6313 * iconvdata/run-iconv-test.sh: New test loop for checking for
6314 decoder crashers.
6315
a78b712d
KR
63162014-09-02 Khem Raj <raj.khem@gmail.com>
6317
6318 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6319 libm_hidden_ver.
6320
cb08abc6
AM
63212014-09-01 Allan McRae <allan@archlinux.org>
6322
2c31e102
AM
6323 * po/eo.po: Update Esperanto translation from translation project.
6324
cb08abc6
AM
6325 * po/ca.po: Update Catalan translation from translation project.
6326
17a62de1
ST
63272014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6328
6329 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6330 __proc_dostop call.
6331
9570bc53
MW
63322014-08-27 Mark Wielaard <mjw@redhat.com>
6333
6334 [BZ #17319]
6335 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6336 to call set_thread_area instead of hand written asm.
6337 (__NR_set_thread_area): Removed define.
6338 (TLS_FLAG_WRITABLE): Likewise.
6339 (__ASSUME_SET_THREAD_AREA): Remove check.
6340 (TLS_EBX_ARG): Remove define.
6341 (TLS_LOAD_EBX): Likewise.
6342
b0f955c9
ST
63432014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6344
6345 Simplify atomicity of socket creation in bind.
6346
6347 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6348 looking up the name after linking the file.
6349
529bf515
AM
63502014-08-27 Allan McRae <allan@archlinux.org>
6351
6352 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6353
a1a6a401
FW
63542014-08-26 Florian Weimer <fweimer@redhat.com>
6355
6356 [BZ #17187]
6357 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6358 trans_compare, open_translit, __gconv_translit_find):
6359 Remove module loading code.
6360
686ab290
AM
63612014-08-26 Allan McRae <allan@archlinux.org>
6362
e4e7cfd2
AM
6363 * po/vi.po: Update Vietnamese translation from translation project.
6364
6aa09f71
AM
6365 * po/uk.po: Update Ukrainian translation from translation project.
6366
edc0660e
AM
6367 * po/fr.po: Update French translation from translation project.
6368
7eea72ac
AM
6369 * po/ru.po: Update Russian translation from translation project.
6370
93c49eff
AM
6371 * po/pl.po: Update Polish translation from translation project.
6372
46acaf63
AM
6373 * po/cs.po: Update Czech translation from translation project.
6374
a9f5ce98
AM
6375 * po/de.po: Update German translation from translation project.
6376
373f2b78
AM
6377 * po/bg.po: Update Bulgarian translation from translation project.
6378
e7548bd8
AM
6379 * po/sv.po: Update Sweedish translation from translation project.
6380
c526bf4d
AM
6381 * po/nl.po: Update Dutch translation from translation project.
6382
686ab290
AM
6383 * po/es.po: Update Spanish translation from translation project.
6384
eb72478a
SP
63852014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
dd763fdb
SP
6387 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6388
318c7a58
SP
6389 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6390 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6391 (CPPFLAGS-iconvconfig): Likewise.
6392 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6393
eb72478a
SP
6394 * include/libc-symbols.h: Remove unnecessary check for
6395 NOT_IN_libc.
6396 * nptl/pthreadP.h: Likewise.
6397 * sysdeps/aarch64/setjmp.S: Likewise.
6398 * sysdeps/alpha/setjmp.S: Likewise.
6399 * sysdeps/arm/sysdep.h: Likewise.
6400 * sysdeps/i386/setjmp.S: Likewise.
6401 * sysdeps/m68k/setjmp.c: Likewise.
6402 * sysdeps/posix/getcwd.c: Likewise.
6403 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6404 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6405 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6406 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6407 * sysdeps/sh/sh3/setjmp.S: Likewise.
6408 * sysdeps/sh/sh4/setjmp.S: Likewise.
6409 * sysdeps/unix/alpha/sysdep.h: Likewise.
6410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6411 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6412 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6413 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6418 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6421 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6423 * sysdeps/x86_64/setjmp.S: Likewise.
6424
d44a052c
JM
64252014-08-13 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #17263]
6428 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6429 <stdint.h>.
6430 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6431 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6432
508ce3ac
SP
64332014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6434
e44c8b0e
SP
6435 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6436
508ce3ac
SP
6437 [BZ #17262]
6438 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6439 and __x86_64__ when disabling x87 inline functions.
6440
b4acef1f
L
64412014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6442
6443 [BZ #17259]
6444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6445 asm statement with __cpuid_count.
6446
61b1ef6e
MF
64472014-08-12 Mike Frysinger <vapier@gentoo.org>
6448
6449 * configure.ac: Change __ehdr_start code to dereference the struct.
6450 Run readelf on the output to look for relocations.
6451 * configure: Regenerated.
6452
898c62f4
JM
64532014-08-12 Joseph Myers <joseph@codesourcery.com>
6454
6455 [BZ #17261]
6456 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6457 value to 0.
6458 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6459
9a8a5720
RM
64602014-08-12 Roland McGrath <roland@hack.frob.com>
6461
6462 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6463
4e75751c
BO
64642014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6465
6466 [BZ #16892]
6467 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6468 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6469
bb2ce416
SA
64702014-08-12 Sean Anderson <seanga2@gmail.com>
6471
6472 * malloc/malloc.c: Fix typo in comment.
6473
7950a4ee
AM
64742014-08-09 Allan McRae <allan@archlinux.org>
6475
6476 * Regenerate libc.po.
6477
f469c49f
MF
64782014-08-08 Mike Frysinger <vapier@gentoo.org>
6479
6480 * intl/tst-gettext2.sh: Check every lang file for creation.
6481
656b84c2
WD
64822014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6483
6484 * sysdeps/aarch64/fpu/math_private.h
6485 (libc_feholdsetround_noex_aarch64_ctx): New function.
6486
538e9e45
W
64872014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6488
6489 * sysdeps/arm/armv6/strcpy.S (strcpy):
6490 Fix performance issue in misaligned cases.
6491
d4795e4a
AZ
64922014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493
6494 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6495 Move definition from termios.h.
6496 (struct termio): Likewise.
6497 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6498 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6499 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6500 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6501 Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6503 Move definition to ioctl-types.h
6504 (struct termio): Likewise.
6505 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6506 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6507 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6508 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6509 Likewise.
6510
64accb62
RH
65112014-08-05 Richard Henderson <rth@redhat.com>
6512
27bb6dc0
RH
6513 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6514 exceptions.
6515 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6516 Add fraiseexcpt.
6517 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6518 Use __feraiseexcept.
6519 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6520 Protect libm symbols with IS_IN_libm.
6521
64accb62
RH
6522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6523
e5292691
BO
65242014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6525
6526 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6527
5b4bd2d4
WN
65282014-08-04 Will Newton <will.newton@linaro.org>
6529
6530 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6531 file.
6532
fcadaeef
MF
65332014-08-04 Mike Frysinger <vapier@gentoo.org>
6534
6535 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6536 variants for each function.
6537
43a94c64
RM
65382014-08-04 Roland McGrath <roland@hack.frob.com>
6539
6540 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6541 appended ...
6542 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6543 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6544 appended ...
6545 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6546 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6547 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6548 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6549 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6550 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6551 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6552 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6553 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6554 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6555 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6557 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6558 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6563 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6564 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6565 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6567 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6568 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6571 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6573 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6574 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6581 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6582 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6583 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6584 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6585 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6586 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6587 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6589 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6591 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6593 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6595 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6596 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6597 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6598 Update #include.
6599 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6600 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6601
8f3c1fa4
RM
66022014-08-04 Roland McGrath <roland@hack.frob.com>
6603
6604 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6605 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6606 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6607 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6608 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6609 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6610
ca08746f
RM
66112014-08-04 Roland McGrath <roland@hack.frob.com>
6612
6613 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6614 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6615 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6616 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6617
9c925ff9
RM
66182014-08-04 Roland McGrath <roland@hack.frob.com>
6619
6620 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6621 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6622 (__libc_vfork): Define function under this name.
6623 (__vfork): Define as an alias.
6624 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6625 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6626
e641054c
RM
66272014-08-04 Roland McGrath <roland@hack.frob.com>
6628
6629 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6630 that was previously under [RESET_PID].
6631 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6632
dacdc867
AS
66332014-08-04 Andreas Schwab <schwab@suse.de>
6634
6635 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6636
41f725ff
MF
66372014-08-03 Mike Frysinger <vapier@gentoo.org>
6638
6639 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6640 (main): Likewise.
6641
277cfb31
RM
66422014-08-01 Roland McGrath <roland@hack.frob.com>
6643
6644 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6645
4896f049
RH
66462014-08-01 Richard Henderon <rth@redhat.com>
6647
6648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6649 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6650 typo in exact zero test.
6651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6654
6f64e7d7
RM
66552014-08-01 Roland McGrath <roland@hack.frob.com>
6656
6657 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6658 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6659 * sysdeps/arm/sysdep.h: ... here.
6660 [!__ASSEMBLER__]: Include <stdint.h>.
6661
3f3dd810
SP
66622014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6663
a476ac4b
SP
6664 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6665 (HAVE_WCTYPE_H): Likewise.
6666 (HAVE_ISWCTYPE): Likewise.
6667 (ENABLE_NLS): Likewise.
6668 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6669 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6670
78dd658a
SP
6671 * posix/regex_internal.c: Check if DEBUG is defined and is
6672 set.
6673
3f3dd810
SP
6674 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6675 (HAVE_MBSRTOWCS): Likewise.
6676 * posix/fnmatch.c: Include string.h unconditionally.
6677
95ee7fb1
SL
66782014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6679
6680 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6681 reversal.
6682
23fe486b
RM
66832014-07-31 Roland McGrath <roland@hack.frob.com>
6684
f61a113f
RM
6685 * sysdeps/generic/safe-fatal.h: New file.
6686 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6687 * nptl/forward.c: Include it.
6688 (__pthread_unwind): Use __safe_fatal as default action, rather
6689 than a bogus use of INTERNAL_SYSCALL that could never work.
6690
9fe7e787
RM
6691 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6692 * configure.ac (libc_cv_builtin_trap): New test.
6693 * configure: Regenerated.
6694 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6695 (ABORT_INSTRUCTION): Define using __builtin_trap.
6696
23fe486b
RM
6697 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6698 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6699 * sysdeps/nptl/nptl-signals.h: New file.
6700 * nptl/pthreadP.h: Include <nptl-signals.h>.
6701
f349489e
SL
67022014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6703
6704 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6705 (ONE_DIRECTION): Define.
6706 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6707 (ONE_DIRECTION): Define.
6708 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6709 (ONE_DIRECTION): Define.
6710
2f438e20
SL
67112014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6712
6713 * sysdeps/s390/Makefile: Delete file.
6714 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6715 * sysdeps/s390/__longjmp.c: Delete file.
6716 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6717 Remove fields __flags and __reserved.
6718 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6719 and add versioning.
6720 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6721 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6722 * sysdeps/s390/rtld-setjmp.S: Likewise.
6723 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6724 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6725 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6726 * sysdeps/s390/s390-32/setjmp.S: ... here.
6727 Add versioning.
6728 (__sigsetjmp): Remove setting __flags field.
6729 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6730 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6731 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6732 * sysdeps/s390/s390-64/setjmp.S: ... here.
6733 Add versioning.
6734 (__sigsetjmp): Remove setting __flags field.
6735 * sysdeps/s390/setjmp.S: Delete file.
6736 * sysdeps/s390/sigjmp.c: Likewise.
6737 * sysdeps/s390/v1-longjmp.c: Likewise.
6738 * sysdeps/s390/v1-setjmp.h: Likewise.
6739 * sysdeps/s390/v1-sigjmp.c: Likewise.
6740 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6741 Remove v1-longjmp_chk.
6742 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6743 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6744 Include debug/longjmp_chk.c and add versioning.
6745 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6746 Include nptl/pt-longjmp.c and add versioning.
6747 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6748 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6749 Include __longjmp.c.
6750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6751 Move to ...
6752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6753 (__getcontext): Remove setting __flags field.
6754 Add versioning.
6755 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6756 Don't restore upper high grps.
6757 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6758 Likewise.
6759 (__swapcontext): Remove setting uc_flags field.
6760 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6761 Delete file.
6762 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6763 Include __longjmp.c.
6764 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6765 Move to ...
6766 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6767 (__getcontext): Remove setting __flags field.
6768 Add versioning.
6769 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6770 (__swapcontext): Remove setting uc_flags field.
6771 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6772 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6773 Remove fields uc_high_gprs and __reserved.
6774 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6775 New file with reverted content.
6776 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6778 Regenerated.
6779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6780 Regenerated.
6781
6c9578a2
AS
67822014-07-31 Andreas Schwab <schwab@suse.de>
6783
6784 * config.h.in (HAVE_IFUNC): Define to 0.
6785 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6786 definedness.
6787
05f3633d
LM
67882014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6789
6790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6791 memmove-avx-unaligned, memcpy-avx-unaligned and
6792 mempcpy-avx-unaligned.
6793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6794 Add tests for AVX memcpy functions.
6795 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6796 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6797 memcpy_chk.
6798 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6799 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6800 memmove_chk.
6801 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6802 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6803 mempcpy_chk.
6804 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6805 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6806 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6807
a53fbd8e
AZ
68082013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6809
6810 [BZ #17213]
6811 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6812 powerpc64le.
6813
0961f7e1
JL
68142014-07-29 Jeff Layton <jlayton@poochiereds.net>
6815
6816 [BZ #16839]
6817 * manual/llio.texi: Add section about open file description locks.
6818 * manual/examples/ofdlocks.c: Example of open file description
6819 lock usage.
6820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6821 F_OFD_SETLK, and F_OFD_SETLKW.
6822
cc5fb300
AM
68232014-07-23 Allan McRae <allan@archlinux.org>
6824
6825 * po/es.po: Update Spanish translation from translation project.
6826
23329dca
AS
68272014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6828
6829 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6830
9c82da17
MR
68312014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6832
6833 [BZ #17078]
6834 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6835 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6836 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6837
29c4f53e
JM
68382014-07-17 Joseph Myers <joseph@codesourcery.com>
6839
831b9896
JM
6840 [BZ #17088]
6841 * math/fesetenv.c (__fesetenv)
6842 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6843 * math/feupdateenv.c (__feupdateenv)
6844 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6845
b21c2d50
JM
6846 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6847 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6848 (__ASSUME_SOCKETCALL): Do not define.
6849
067764ef
JM
6850 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6851 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6852 (__ASSUME_SOCKETCALL): Do not define.
6853 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6854 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6855 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6856 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6857 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6858 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6859 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6860 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6861
642530c1
JM
6862 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6863 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6864 (__ASSUME_SOCKETCALL): Do not define.
6865 (__ASSUME_IPC64): Define unconditionally.
6866 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6867 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6868 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6869 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6870 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6871 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6872 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6873 Likewise.
6874
03f77315
JM
6875 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6876 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6877 (__ASSUME_SOCKETCALL): Do not define.
6878 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6879 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6880 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6881 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6882 (__ASSUME_REQUEUE_PI): Define unconditionally.
6883 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6884 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6885 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6886 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6887 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6888 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6889
083b1f7c
JM
6890 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6891 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6892 (__ASSUME_SOCKETCALL): Do not define.
6893 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6894 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6895 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6896 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6897 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6898 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6899
5be44ea6
JM
6900 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6901 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6902 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6903 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6904 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6905 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6906 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6907 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6908 (__ASSUME_GETCPU_SYSCALL): Likewise.
6909
d95ffd4c
JM
6910 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6911 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6912 cases for individual architectures.
6913 * sysdeps/gnu/configure: Regenerated.
6914 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6915 LIBC_SLIBDIR_RTLDDIR.
6916 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6917 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6918 LIBC_SLIBDIR_RTLDDIR.
6919 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6921 LIBC_SLIBDIR_RTLDDIR.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6923 Regenerated.
6924 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6925 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6926 file.
6927 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6928 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6929 file.
6930 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6931 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6932 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6933 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6934
29c4f53e
JM
6935 * sysdeps/aarch64/shlib-versions: Move to ...
6936 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6937 * sysdeps/alpha/shlib-versions: Move to ...
6938 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6939 * sysdeps/arm/shlib-versions: Move to ...
6940 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6941 * sysdeps/hppa/shlib-versions: Move all contents except for
6942 libgcc_s entry to ...
6943 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6944 entry from ...
6945 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6946 * sysdeps/ia64/shlib-versions: Move to ...
6947 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6948 entry from ...
6949 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6950 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6951 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6952 * sysdeps/microblaze/shlib-versions: Move to ...
6953 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6954 * sysdeps/mips/shlib-versions: Move to ...
6955 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6956 entry from ...
6957 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6958 * sysdeps/tile/shlib-versions: Move to ...
6959 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6960 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6961 from ...
6962 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6964 entry from ...
6965 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6966
32bead5b
WN
69672014-07-17 Will Newton <will.newton@linaro.org>
6968
57977c4b
WN
6969 * sysdeps/arm/bits/atomic.h
6970 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6971 (__arch_compare_and_exchange_bool_16_int): Likewise.
6972 (__arch_compare_and_exchange_bool_64_int): Likewise.
6973
32bead5b
WN
6974 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6975 into an #else block.
6976
37fccd41
RM
69772014-07-16 Roland McGrath <roland@hack.frob.com>
6978
6979 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6980 just Linux configurations. Test empirically that the compiler sets
6981 __ARM_EABI__, rather than using the tuple to decide.
6982 * sysdeps/arm/preconfigure: Regenerated.
6983 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6984 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6985 contents appended ...
6986 * sysdeps/arm/configure.ac: ... here.
6987 * sysdeps/arm/configure: Regenerated.
6988
b365f3ec
RM
69892014-07-15 Roland McGrath <roland@hack.frob.com>
6990
8badf496
RM
6991 * nptl/pthread_kill.c: New file.
6992 * nptl/pthread_sigmask.c: New file.
6993 * nptl/pthread_sigqueue.c: New file.
6994
3df6f22e
RM
6995 * sysdeps/nptl/lowlevellock.h: New file.
6996 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6997 * sysdeps/nptl/lowlevellock-futex.h: New file.
6998
b365f3ec
RM
6999 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7000 Remove dead declarations.
7001
f2fef657
L
70022014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7003
7004 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7005 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7006 config-cflags-avx2.
7007 * sysdeps/x86_64/configure.ac: Likewise.
7008 * sysdeps/i386/configure: Regenerated.
7009 * sysdeps/x86_64/configure: Likewise.
7010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7011 memset-avx2 only if config-cflags-avx2 is yes.
7012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7013 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7014 defined.
7015 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7016 only if HAVE_AVX2_SUPPORT is defined.
7017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7018
f6c44d47
AM
70192014-07-14 Alan Modra <amodra@gmail.com>
7020
7021 [BZ #17153]
7022 * elf/elf.h (DT_PPC64_NUM): Correct value.
7023 * NEWS: Add to fixed bug list.
7024
7ee03f00
JM
70252014-07-13 Jim Meyering <meyering@fb.com>
7026
7027 [BZ 17150]
7028 regex: don't deref NULL upon heap allocation failure
7029 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7030 failure in one more place.
7031 To trigger the segfault, configure grep -with-included-regex,
7032 build it, and run these commands:
7033 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7034
9d39d517
AS
70352014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7036
7037 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7038
a75b89b7
RH
70392014-07-11 Richard Henderson <rth@redhat.com>
7040
7041 * sysdeps/aarch64/libm-test-ulps: Update.
7042
771eb141
FW
70432014-07-10 Florian Weimer <fweimer@redhat.com>
7044
7045 [BZ #17135]
7046 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7047 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7048 (__nptl_setxid): Initialize error member. Call
7049 __nptl_setxid_error.
7050 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7051 * nptl/descr.h (struct xid_command): Add error member.
7052 * nptl/tst-setuid3.c: New file.
7053 * nptl/Makefile (tests): Add it.
7054
bc1da176
AZ
70552014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056
7057 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7058 New define.
7059 (__lll_trylock): Use __lll_base_trylock.
7060 (__lll_cond_trylock): Likewise.
7061
887865fc
RM
70622014-07-10 Roland McGrath <roland@hack.frob.com>
7063
c0c6bac9
RM
7064 * nptl/pthread_create.c (start_thread): Use atomic_or and
7065 lll_futex_wake directly rather than lll_robust_dead.
7066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7067 (lll_robust_dead): Macro removed.
6a42be57 7068 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7069 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7070 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7071 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7074 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7075 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7076 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7077 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7078 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7079 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7080 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7081 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7082 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7083
887865fc
RM
7084 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7085 Use atomic_compare_and_exchange_val_acq directly rather than
7086 lll_robust_trylock.
7087 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7088 (__lll_robust_trylock, lll_robust_trylock): Removed.
7089 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7090 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7091 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7094 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7095 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7096 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7098 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7100 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7101 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7103
58536726
FW
71042014-07-02 Florian Weimer <fweimer@redhat.com>
7105
7106 * manual/locale.texi (Locale Names): New section documenting
7107 locale name syntax. Adjust menu and node chaining accordingly.
7108 (Choosing Locale): Reference Locale Names, Locale Categories.
7109 Mention setting LC_ALL=C. Reflect that name syntax is now
7110 documented.
7111 (Locale Categories): New section title. Reference Locale Names.
7112 LC_ALL is an environment variable, but not a category.
7113 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7114 description, now in Locale Name. Reference that section. Locale
7115 name syntax is now documented.
7116
4e8f95a0
FW
71172014-07-02 Florian Weimer <fweimer@redhat.com>
7118
7119 [BZ #17137]
7120 * locale/findlocale.c (name_present, valid_locale_name): New
7121 functions.
7122 (_nl_find_locale): Use the loc_name variable to store name
7123 candidates. Call name_present and valid_locale_name to check and
7124 validate locale names. Return an error if the locale is invalid.
7125
d1836456
FW
71262014-07-02 Florian Weimer <fweimer@redhat.com>
7127
7128 * locale/setlocale.c (setlocale): Use strdup for allocating
7129 composite name copy.
7130
d69b7f5a
SP
71312014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
888c679b
SP
7133 Sync up with gnulib.
7134 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7135 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7136 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7137 and _GL_ARG_NONNULL.
7138 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7139 [!_LIBC]: Include code for Windows and Cygwin.
7140 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7141 Include prototype for int strerror_r.
7142 [!_LIBC] (is_open): New function.
7143 (flush_stdout): New function.
7144 (print_errno_message): Use it.
7145 (error): Likewise.
7146 (error_at_line): Likewise.
7147 (error_tail) Add function attribute macros. Use
7148 __builtin_expect.
7149
180e0e4b
SP
7150 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7151
d22f1fe2
SP
7152 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7153
12f2254b
SP
7154 * io/ftw.c: Include sys/param.h unconditionally.
7155
c3c7c360
SP
7156 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7157
d62aa75a
SP
7158 [BZ #17125]
7159 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7160 libc_freeres_ptr.
7161 (freecache): New function to free CACHE on exit.
7162
d69b7f5a
SP
7163 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7164 initialization.
7165
5efe06a1
DM
71662014-07-09 David S. Miller <davem@davemloft.net>
7167
7168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7169
7000d82e
DM
7170 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7171 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7172 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7173 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7174 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7175 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7176 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7177 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7178 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7179 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7180 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7181 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7182 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7183
c213442d
AS
71842014-07-09 Andreas Schwab <schwab@suse.de>
7185
4a2552c3
AS
7186 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7187 output.
7188 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7189 (do_test): Likewise.
7190
c213442d
AS
7191 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7192
82374e65
WN
71932014-07-09 Will Newton <will.newton@linaro.org>
7194
7195 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7196 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7197 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7198 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7199 * sysdeps/hppa/start.S (_start): Likewise.
7200
6680738a
SP
72012014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7202
6ee3eab4
SP
7203 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7204
6680738a
SP
7205 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7206 defined.
7207
80b5c505
SP
72082014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7209
e35c53e3
SP
7210 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7211 after checking that it is non-NULL.
7212
80b5c505
SP
7213 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7214
91f4b564
AZ
72152014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7216
27b75f56
AZ
7217 * sysdeps/powerpc/memmove.c: Remove file.
7218 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7219 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7221 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7223 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7224 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7225 string memmove instead of removed powerpc one.
7226
e7f95bb5
AZ
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7228 [weak_alias]: Fix compiler warning due trailing data.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7230 [weak_alias]: Likewise.
7231 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7232 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7233
91f4b564
AZ
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7235 (__libc_ifunc_impl_list): Add memmove functions.
7236
7c33f1e5
SP
72372014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7238
7239 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7240 Remove code.
7241 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7242 Likewise
7243 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7244 Likewise
7245 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7246 Likewise
7247 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7248 Likewise
7249 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7250 Likewise
7251 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7252 Likewise
7253 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7254 Likewise
7255 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7256 Likewise
7257 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7258 Likewise
7259 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7260 Likewise
7261 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7262 Likewise
7263 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7264 Likewise
7265 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7266 Likewise
7267 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7268 Likewise
7269 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7270 Likewise
7271 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7272 Likewise
7273
3f17b03b
AZ
72742014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7275
87868c24
AZ
7276 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7277 to avoid alignment traps in non-cacheable memory.
7278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7279
07aedd78
AZ
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7281 multiarch objects.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7283 file: multiarch power7 memmove.
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7285 multiarch default memmove.
7286 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7287 multiarch memove for powerpc32/power4.
7288
17762f66
AZ
7289 * string/bcopy.c: Use full path to include memmove.c.
7290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7291 multiarch objects.
7292 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7293 bcopy for powerpc64.
7294 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7295 bcopy for powerpc64.
7296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7297 and memmove implementations.
7298 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7299 optimized multiarch memmove for POWER7/powerpc64.
7300 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7301 default multiarch memmove for powerpc64.
7302 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7303 multiarch for powerpc64.
7304 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7305 for POWER7/powerpc64.
7306 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7307 memmove for POWER7/powerpc64.
7308
d6f68bbe
AZ
7309 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7310 glibc default one.
7311
3f17b03b
AZ
7312 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7313 __ELF_NATIVE_CLASS equal to 64.
7314
08192659
RM
73152014-07-07 Roland McGrath <roland@hack.frob.com>
7316
f4c4021b
RM
7317 * sysdeps/nptl/lowlevellock.h: File removed.
7318
f083450f
RM
7319 * NEWS: NPTL is no longer an add-on!
7320 * nptl/internaltypes.h: Moved ...
7321 * sysdeps/nptl/internaltypes.h: ... here.
7322 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7323 * sysdeps/nptl/fork.c: Likewise.
7324 * sysdeps/nptl/gai_misc.h: Likewise.
7325 * sysdeps/nptl/librt-cancellation.c: Likewise.
7326 * sysdeps/nptl/jmp-unwind.c: Likewise.
7327 * sysdeps/nptl/setxid.h: Likewise.
7328 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7329 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7330 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7331 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7332 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7333 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7334 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7335 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7336 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7337 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7338 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7339 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7340 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7341 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7342 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7343 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7344 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7345 * nptl/Makeconfig: Moved ...
7346 * sysdeps/nptl/Makeconfig: ... here.
7347 * nptl/configure: File removed.
7348 * nptl/ANNOUNCE: File removed.
7349 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7350 * sysdeps/unix/sysv/linux/configure: Regenerated.
7351
08192659
RM
7352 * nptl/Makefile (routines): Add libc_pthread_init,
7353 libc_multiple_threads, register-atfork and unregister-atfork.
7354 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7355 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7356 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7357 pthread-pi-defines.sym, structsem.sym.
7358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7359 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7360 [$(subdir) = nptl] (tests): Add tst-setgetname.
7361 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7362 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7363 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7364 [!LIBC_SIGACTION]: Remove aliases.
7365 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7366 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7367 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7368 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7369 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7370 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7373 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7374 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7375 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7376 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7377 __libc_allocate_rtsig_private.
7378 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7379 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7380 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7381 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7382 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7383 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7384 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7385 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7386 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7387 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7388 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7389 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7390 * nptl/internaltypes.h: ... here.
7391 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7392 * sysdeps/nptl/jmp-unwind.c: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7394 * nptl/libc-lowlevellock.c: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7396 * nptl/libc_multiple_threads.c: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7398 * nptl/libc_pthread_init.c: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7400 * nptl/lowlevelbarrier.sym: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7402 * nptl/lowlevelcond.sym: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7404 * nptl/lowlevellock.c: ... here.
7405 * nptl/lowlevellock.h: Moved ...
7406 * sysdeps/nptl/lowlevellock.h: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7408 * nptl/lowlevelrobustlock.c: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7410 * nptl/lowlevelrobustlock.sym: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7412 * nptl/lowlevelrwlock.sym: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7414 * nptl/pt-fork.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7416 * nptl/pthread-pi-defines.sym: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7418 * nptl/pthread_attr_getaffinity.c: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7420 * nptl/pthread_attr_setaffinity.c: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7422 * nptl/pthread_mutex_cond_lock.c: ... here.
7423 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7424 Update #include.
7425 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7426 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7427 * nptl/pthread_once.c: ... here, replacing old file.
7428 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7429 * nptl/pthread_yield.c: ... here.
7430 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7431 * nptl/register-atfork.c: ... here.
7432 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7433 * nptl/sem_post.c: ... here.
7434 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7435 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7436 * nptl/sem_timedwait.c: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7438 * nptl/sem_trywait.c: ... here.
7439 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7440 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7441 * nptl/sem_wait.c: ... here.
7442 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7443 * nptl/structsem.sym: ... here.
7444 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7445 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7446 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7447 * nptl/unregister-atfork.c: ... here.
7448 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7449 * nptl/unwindbuf.sym: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7451 * sysdeps/nptl/fork.c: ... here.
7452 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7453 * sysdeps/nptl/fork.h: ... here.
7454 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7455 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7456 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7457 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7458 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7459 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7460 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7461 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7462 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7463 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7464 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7465 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7466 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7468 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7470 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7471 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7472 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7473 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7474 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7476 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7478 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7480 * sysdeps/unix/sysv/linux/raise.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7482 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7483 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7484 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7485 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7486 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7488 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7490 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7491 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7492 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7493 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7494 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7495 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7496
96baf6ff
SP
74972014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7498
7499 * sysdeps/generic/memcopy.h: Add comment for
7500 MEMCPY_OK_FOR_FWD_MEMMOVE.
7501
6b7b14b2
WN
75022014-07-04 Will Newton <will.newton@linaro.org>
7503
1570a72b
WN
7504 * string/memchr.c: Merge from gnulib.
7505 [_LIBC]: Remove conditionals.
7506 (__ptr_t): Remove define.
7507 (LONG_MAX_32_BITS): Likewise.
7508 (LONG_MAX): Likewise.
7509 (MEMCHR): Use ANSI prototype and optimize algorithm.
7510
6b7b14b2
WN
7511 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7512
38851324
SP
75132014-07-03 Roland McGrath <roland@hack.frob.com>
7514
3d9eb57c
RM
7515 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7516 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7517
78b984ae
RM
7518 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7519 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7520 in a bare environment with no <stdlib.h> installed.
7521 * sysdeps/nptl/configure: Regenerated.
7522
2d5976a5
RM
7523 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7524
c1f5acd4
RM
7525 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7526 AC_EGREP_CPP for kernel header checks, so they only succeed if
7527 including <linux/version.h> actually works right.
7528 * sysdeps/unix/sysv/linux/configure: Regenerated.
7529
4d614fe5
RM
7530 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7531 value so it's not diagnosed as unused.
7532
38851324
SP
7533 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7534 thing) with "ifeq ($(subdir),rt)".
7535
b3ec00e5
RH
75362014-07-03 Richard Henderson <rth@redhat.com>
7537
69862e25
RH
7538 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7539 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7540 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7541
d5e16ade
RH
7542 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7543 (math_force_eval): New.
7544
ca7b945c
RH
7545 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7546 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7547
cd1175a3
RH
7548 * sysdeps/alpha/fpu/s_round.c: Remove file.
7549 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7550
b3ec00e5
RH
7551 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7552 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7553 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7554 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7555 (_dl_start, print_statistics): Likewise.
7556 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7557 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7558
7559 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7560 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7561 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7562 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7564 (HP_SMALL_TIMING_AVAIL): Define.
7565 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7566 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7567 (HP_SMALL_TIMING_AVAIL): Define.
7568 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7569 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7570
7571 * sysdeps/aarch64/hp-timing.h: New file.
7572
7573 * sysdeps/generic/hp-timing.h: Remove dead comment.
7574 * sysdeps/generic/hp-timing-common.h: New file.
7575 * sysdeps/alpha/hp-timing.h: Include it.
7576 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7577 * sysdeps/i386/i686/hp-timing.h: Likewise.
7578 * sysdeps/ia64/hp-timing.h: Likewise.
7579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7580 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7582 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7583 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7584 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7585 (hp_timing_t): New.
7586
7587 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7588 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7589 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7590 * elf/rtld.c (_dl_start_final): Likewise.
7591 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7592 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7593 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7594 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7595 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7597 (HP_TIMING_DIFF_INIT): Remove.
7598 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7599 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7600 (HP_TIMING_DIFF_INIT): Remove.
7601 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7602 * sysdeps/i386/i686/hp-timing.c: Remove file.
7603 * sysdeps/x86_64/hp-timing.c: Remove file.
7604 * sysdeps/ia64/hp-timing.c: Remove file.
7605 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7606 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7608 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7609
7610 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7611 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7612 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7613 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7615 (HP_TIMING_ACCUM): Remove.
7616 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7618 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7619
7620 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7621 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7622 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7623 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7624 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7625 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7626 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7627 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7628
7629 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7630
225f410f
MR
76312014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7632
7633 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7634
3247f285
SP
76352014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7636
7637 Sync up with gettext.
7638 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7639 [_MSC_VER]: Include malloc.h
7640 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7641 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7642 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7643 TEMP_FAILURE_RETRY. Cast return of alloca.
7644 [!_LIBC] Call gl_rwlock_init.
7645 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7646
d12704c7
SP
76472014-07-02 Roland McGrath <roland@hack.frob.com>
7648
7649 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7650 before checking its value.
7651
99f8dc92
SP
76522014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7653
05fdac77
SP
7654 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7655
99f8dc92
SP
7656 * debug/memcpy_chk.c: Don't include pagecopy.h.
7657 * debug/mempcpy_chk.c: Likewise.
7658 * string/memcpy.c: Likewise.
7659 * string/memmove.c: Likewise.
7660 * sysdeps/powerpc/memmove.c: Likewise.
7661 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7662 definition of PAGE_COPY_FWD_MAYBE here...
7663 * sysdeps/generic/pagecopy.h: ... from here.
7664 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7665
bc8ea385
VR
76662014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7667 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668
7669 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7671 optimizations.
7672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7673 (__libc_ifunc_impl_list): Likewise.
7674 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7675 multiarch strcat for PPC64.
7676 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7677 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7678
fe5f34e4
RM
76792014-07-02 Roland McGrath <roland@hack.frob.com>
7680
7681 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7682
256aa665
SP
76832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7684
d4eb8195
SP
7685 * intl/loadmsgcat.c: Remove declaration of
7686 get_sysdep_segment_value.
7687 (get_sysdep_segment_value): Use ISO C style.
7688 (_nl_load_domain): Use ISO C style. Get rid of redundant
7689 semicolon. Fix typo and formatting in comment.
7690 (_nl_unload_domain): Use ISO C style.
7691
256aa665
SP
7692 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7693
b100f9aa
WN
76942014-07-02 Will Newton <will.newton@linaro.org>
7695
7696 * malloc/obstack.c: Merge from gnulib master.
7697 [HAVE_CONFIG_H]: Remove conditional code.
7698 [!_LIBC]: Include config.h.
7699 [!ELIDE_CODE]: Don't include inttypes.h, include
7700 stdint.h unconditionally.
7701 (print_and_abort): Mark as _Noreturn.
7702 (_obstack_allocated_p): Mark as __attribute_pure__.
7703 (obstack_free): Rename to __obstack_free.
7704 [!__attribute__]: Remove conditional code.
7705 * malloc/obstack.h: Merge from gnulib master.
7706 [__cplusplus]: Move conditional down.
7707 [!__attribute_pure__]: Define __attribute_pure__ here
7708 if it is not already defined.
7709 (_obstack_memory_used): Mark as __attribute_pure__.
7710 [!__obstack_free]: Define as obstack_free.
7711 [__GNUC__]: Remove check for ancient NeXT gcc.
7712
c4c41244
PE
77132014-07-02 Will Newton <will.newton@linaro.org>
7714 Paul Eggert <eggert@cs.ucla.edu>
7715
7716 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7717
e1e041c4
SP
77182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7719
7720 * resolv/gethnamaddr.c: Add comment warning that the file is
7721 not maintained.
7722
ccf431ff
CD
77232014-07-01 Carlos O'Donell <carlos@redhat.com>
7724
d34570a6
CD
7725 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7726 entries.
7727
ccf431ff
CD
7728 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7729 entry for aio_cancel and aio_cancel64.
7730 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7731 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7732 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7734 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7735 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7737 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7738 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7739 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7740 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7741 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7742 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7743
ca06321d
RM
77442014-07-01 Roland McGrath <roland@hack.frob.com>
7745
7746 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7747 * nptl/pthread_mutex_lock.c: Likewise.
7748 * nptl/pthread_mutex_timedlock.c: Likewise.
7749 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7750
a1ac3184
RH
77512014-07-01 Richard henderson <rth@redhat.com>
7752
631021e0
RH
7753 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7754 (__isnan, __isnanl): Remove.
7755 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7756
a1ac3184
RH
7757 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7758
0c1d731f
SL
77592014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7760
7761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7762
76985d3e
SP
77632014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
7765 * resolv/nss_dns/dns-host.c (getanswer_r)
7766 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7767
b0cb3096
JM
77682014-07-01 Joseph Myers <joseph@codesourcery.com>
7769
7770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7771 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7772 undefine.
7773 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7774 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7775
4d76cb39
RM
77762014-07-01 Roland McGrath <roland@hack.frob.com>
7777
7778 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7779 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7780
7781 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7782 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7783
7784 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7785 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7786 ... here.
7787 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7788 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7789
7790 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7791 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7792 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7793 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7794
7795 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7796 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7797 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7798 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7800 Moved ...
7801 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7802 ... here.
7803 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7804 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7805 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7806 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7807 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7808 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7810 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7812 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7813 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7814 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7815 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7816 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7818 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7822 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7823 ... here.
7824 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7827 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7828 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7829 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7830 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7831 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7832
0cdcad17
DH
78332014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7834
7835 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7836 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7837 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7838 Add sysdep.
7839
9b71d0e3
AZ
78402014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7841
7842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7843
665390c2
JM
78442014-06-30 Joseph Myers <joseph@codesourcery.com>
7845
ae05a9d7
JM
7846 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7847 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7848
a7672a2f
JM
7849 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7850
665390c2
JM
7851 * sysdeps/arm/libm-test-ulps: Regenerated.
7852
d7a05d07
MR
78532014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7854 Roland McGrath <roland@hack.frob.com>
7855
7856 * test-skeleton.c (signal_handler): Kill the whole process group
7857 before killing the child individually.
7858 (main): Report any failure on `setpgid'.
7859
46f1d8a6
RM
78602014-06-30 Roland McGrath <roland@hack.frob.com>
7861
7862 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7863 from _TLS_H to _ARM_NPTL_TLS_H.
7864 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7865 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7866
9c37ec0b
JM
78672014-06-30 Joseph Myers <joseph@codesourcery.com>
7868
ce9c5b3e
JM
7869 [BZ #16539]
7870 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7871 (__expm1l): Return argument unchanged when small but not
7872 subnormal.
7873
3a6e9887
JM
7874 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7875 include macro name.
7876 (_FP_UNPACK_RAW_1_P): Likewise.
7877 (_FP_PACK_RAW_1): Likewise.
7878 (_FP_PACK_RAW_1_P): Likewise.
7879 (_FP_MUL_MEAT_1_wide): Likewise.
7880 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7881 (_FP_MUL_MEAT_1_hard): Likewise.
7882 (_FP_DIV_MEAT_1_imm): Likewise.
7883 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7884 (_FP_DIV_MEAT_1_udiv): Likewise.
7885 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7886 (_FP_UNPACK_RAW_2): Likewise.
7887 (_FP_UNPACK_RAW_2_P): Likewise.
7888 (_FP_PACK_RAW_2): Likewise.
7889 (_FP_PACK_RAW_2_P): Likewise.
7890 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7891 (_FP_MUL_MEAT_2_wide): Likewise.
7892 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7893 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7894 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7895 (_FP_MUL_MEAT_2_gmp): Likewise.
7896 (_FP_DIV_MEAT_2_udiv): Likewise.
7897 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7898 (_FP_FRAC_SRL_4): Likewise.
7899 (_FP_FRAC_SRST_4): Likewise.
7900 (_FP_FRAC_SRS_4): Likewise.
7901 (_FP_UNPACK_RAW_4): Likewise.
7902 (_FP_UNPACK_RAW_4_P): Likewise.
7903 (_FP_PACK_RAW_4): Likewise.
7904 (_FP_PACK_RAW_4_P): Likewise.
7905 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7906 (_FP_MUL_MEAT_4_wide): Likewise.
7907 (_FP_MUL_MEAT_4_gmp): Likewise.
7908 (umul_ppppmnnn): Likewise.
7909 (_FP_DIV_MEAT_4_udiv): Likewise.
7910 (__FP_FRAC_ADD_4): Likewise.
7911 (__FP_FRAC_SUB_3): Likewise.
7912 (__FP_FRAC_SUB_4): Likewise.
7913 (__FP_FRAC_DEC_3): Likewise.
7914 (__FP_FRAC_DEC_4): Likewise.
7915 (__FP_FRAC_ADDI_4): Likewise.
7916 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7917 (_FP_FRAC_SRL_8): Likewise.
7918 (_FP_FRAC_SRS_8): Likewise.
7919
9c37ec0b
JM
7920 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7921 include macro name.
7922 (FP_UNPACK_RAW_EP): Likewise.
7923 (FP_PACK_RAW_E): Likewise.
7924 (FP_PACK_RAW_EP): Likewise.
7925 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7926 (_FP_ISSIGNAN): Likewise.
7927 (_FP_ADD_INTERNAL): Likewise.
7928 (_FP_FMA): Likewise.
7929 (_FP_CMP): Likewise.
7930 (_FP_SQRT): Likewise.
7931 (_FP_TO_INT): Likewise.
7932 (_FP_FROM_INT): Likewise.
7933 (FP_EXTEND): Likewise.
7934 (_FP_DIV_MEAT_N_loop): Likewise.
7935
2125f674
MR
79362014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7937
7938 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7939 throughout.
7940
edea4028
JM
79412014-06-29 Joseph Myers <joseph@codesourcery.com>
7942
7943 [BZ #17097]
7944 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7945 result with correct sign in case of exponents that produce
7946 overflow except for X very close to 1.
7947
dd0ba018
PE
79482014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7949
7950 mktime: merge #if/#ifdef usage from glibc
7951 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7952 as that works with both Glibc's and Gnulib's style.
7953 See thread starting at Siddhesh Poyarekar's bug report at:
7954 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7955
64df73c2
SP
79562014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7957
7958 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7959 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7960 * sysdeps/tile/tilegx/memmove.c: Remove file.
7961
f1eafb41
JM
79622014-06-27 Joseph Myers <joseph@codesourcery.com>
7963
7964 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7965 abi-name definition.
7966 * scripts/soversions.awk: Do not handle or generate ABI lines.
7967 * shlib-versions: Remove ABI entries.
7968 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7969 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7970
58eb0862
RM
79712014-06-27 Roland McGrath <roland@hack.frob.com>
7972
37caf178
RM
7973 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7974 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7978 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7980 Moved ...
7981 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7982 ... here.
7983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7986 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7988 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7990 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7992 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7994 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7996 Moved ...
7997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8003 Moved ...
8004 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8006 Moved ...
8007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8011 Moved ...
8012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8020 Moved ...
8021 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8023 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8025 Moved ...
8026 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8028 Moved ...
8029 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8030 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8031 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8033 Moved ...
8034 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8035 ... here.
8036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8037 Identical file removed.
8038 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8039 Moved ...
8040 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8042 Identical file removed.
8043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8046 Moved ...
8047 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8049 Identical file removed.
8050 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8051 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8052 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8053 Identical file removed.
8054 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8057 Identical file removed.
8058 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8061 Identical file removed.
8062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8063 Moved ...
8064 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8066 Identical file removed.
8067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8068 Moved ...
8069 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8073 Identical file removed.
8074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8075 Moved ...
8076 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8077 ... here.
8078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8079 Identical file removed.
8080 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8081 Moved ...
8082 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8084 Identical file removed.
8085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8086 Moved ...
8087 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8093 Moved ...
8094 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8096 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8097
58eb0862
RM
8098 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8099 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8100 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8101 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8102 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8103
6f12d062
AS
81042014-06-27 Arjun Shankar <arjun.is@lostca.se>
8105
8106 [BZ #17092]
8107 * nscd/nscd.c (monitor_child): Return exit status of child
8108 instead of return value from wait syscall.
8109
be254932
JM
81102014-06-27 Joseph Myers <joseph@codesourcery.com>
8111
cb403c34
JM
8112 * configure.ac (libc_commonpagesize): Remove variable.
8113 (libc_relro_required): Likewise.
8114 (libc_cv_z_relro): Remove configure test.
8115 * configure: Regenerated.
8116 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8117 variable.
8118 (libc_relro_required): Likewise.
8119 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8120 (libc_relro_required): Likewise.
8121 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8122 (libc_relro_required): Likewise.
8123 * sysdeps/arm/preconfigure: Regenerated.
8124 * sysdeps/ia64/preconfigure: Remove file.
8125 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8126 variable.
8127 (libc_relro_required): Likewise.
8128
be254932
JM
8129 [BZ #16561]
8130 [BZ #16562]
8131 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8132 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8133 recompute overflowing results in original rounding mode.
8134 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8135 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8136 recompute overflowing results in original rounding mode.
8137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8138 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8139 recompute overflowing results in original rounding mode.
8140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8141 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8142 recompute overflowing results in original rounding mode.
8143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8144 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8145 recompute overflowing results in original rounding mode.
8146 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8147 (libc_feholdsetround_ctx): New macro.
8148 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8149 * sysdeps/i386/fpu/libm-test-ulps: Update.
8150 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8151
b351d85a
JM
81522014-06-26 Joseph Myers <joseph@codesourcery.com>
8153
8154 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8155 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8156 corresponding .cpsetup call.
8157
3cb4de47
RM
81582014-06-26 Roland McGrath <roland@hack.frob.com>
8159
8160 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8161 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8162 * sysdeps/arm/Makefile [$(subdir) = csu]
8163 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8164 (static-only-routines): Add aeabi_read_tp here.
8165 (shared-only-routines): Add libc-aeabi_read_tp here.
8166 (CFLAGS-libc-start.c): Add -fexceptions here.
8167 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8168 (sysdep_routines, static-only-routines, shared-only-routines):
8169 Don't add to these here.
8170 (CFLAGS-libc-start.c): Likewise.
8171
8172 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8173 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8174 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8175 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8176 * sysdeps/arm/Makefile [$(subdir) = rt]
8177 (librt-sysdep_routines, librt-shared-only-routines):
8178 Append rt-aeabi_unwind_cpp_pr1 here.
8179 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8180 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8181 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8182 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8183 Append nptl-aeabi_unwind_cpp_pr1 here.
8184 (tests): Filter out tst-cleanupx4 here.
8185 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8186 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8187 Don't do those here.
8188
354426bb
JM
81892014-06-26 Joseph Myers <joseph@codesourcery.com>
8190
8191 * scripts/list-sources.sh: Do not handle ports specially.
8192
28b0a8c9
RM
81932014-06-26 Roland McGrath <roland@hack.frob.com>
8194
a3dd035d
RM
8195 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8196 * sysdeps/arm/feupdateenv.c: Likewise.
8197
28b0a8c9
RM
8198 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8199
e66a8203
JM
82002014-06-26 Joseph Myers <joseph@codesourcery.com>
8201
8202 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8203 trailing whitespace removed.
8204 * scripts/config.guess: Update to version 2014-03-23.
8205 * scripts/config.sub: Update to version 2014-05-01
8206 * scripts/install-sh: Update to version 2013-12-25.23.
8207 * scripts/move-if-change: Update from gnulib.
8208
74171115
SP
82092014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
b97c9ce5
SP
8211 * debug/memmove_chk.c: Remove pagecopy.h include.
8212
4000f892
SP
82132014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8214
74171115
SP
8215 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8216 identical to gnulib mktime.
8217
a8779c28
JM
82182014-06-26 Joseph Myers <joseph@codesourcery.com>
8219
e64708de
JM
8220 * configure.ac: Do not test for machine being rs6000. Do not test
8221 for powerpc*-*soft.
8222 * configure: Regenerated.
8223
a8779c28
JM
8224 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8225 test.
8226 * configure: Regenerated.
8227 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8228 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8229 Remove configure test.
8230 * sysdeps/arm/configure: Regenerated.
8231 * sysdeps/nptl/configure.ac: Do not check
8232 libc_cv_asm_cfi_directives.
8233 * sysdeps/nptl/configure: Regenerated.
8234 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8235 * sysdeps/x86_64/nptl/configure: Remove generated file.
8236 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8237 unconditional.
8238 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8239
2aac0a86
SP
82402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8241
059bf913
SP
8242 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8243 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8244 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8245 it is defined.
8246
4cf5b6d0
SP
8247 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8248 instead of whether it is defined.
8249 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8250 * sysdeps/hppa/dl-machine.h: Likewise.
8251 * sysdeps/ia64/dl-machine.h: Likewise.
8252 * sysdeps/m68k/dl-machine.h: Likewise.
8253 * sysdeps/microblaze/dl-machine.h: Likewise.
8254 * sysdeps/mips/dl-machine.: Likewise.
8255 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8256 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8257 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8258 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8259 * sysdeps/sh/dl-machine.h: Likewise.
8260 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8261 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8262 * sysdeps/tile/dl-machine.h: Likewise.
8263 * sysdeps/x86_64/dl-machine.h: Likewise.
8264
2aac0a86
SP
8265 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8266 code.
8267 (verify_persistent_db): Likewise.
8268
6ad2df0b
RM
82692014-06-26 Roland McGrath <roland@hack.frob.com>
8270
d8a483f3
RM
8271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8272 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8276 Moved ...
8277 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8278 ... here.
8279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8282 Identical file removed.
8283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8294 Moved ...
8295 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8297 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8299 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8301 Moved ...
8302 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8304 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8306 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8308 Identical file removed.
8309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8310 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8312 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8314 Moved ...
8315 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8316 ... here.
8317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8320 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8322 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8326 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8328 Moved ...
8329 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8331 Moved ...
8332 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8334 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8336 Moved ...
8337 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8339 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8340
52ae23b4
RM
8341 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8342 folded into ...
8343 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8344 * sysdeps/unix/sysv/linux/s390/Versions
8345 (libpthread: GLIBC_2.19): New version set.
8346 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8347 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8348 (librt: GLIBC_2.3.3): New version set.
8349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8350 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8351 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8353 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8354 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8355 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8357 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8359 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8361 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8363 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8365 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8367 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8369 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8371 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8373 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8375 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8377 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8379 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8385 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8387 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8389 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8391 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8393 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8394
39507e4a
RM
8395 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8396 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8397 (__libc_vfork): Define the function under this name.
8398 [!NOT_IN_libc] (__vfork): Make this an alias.
8399 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8401 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8402 (__libc_vfork): Define the function under this name.
8403 [!NOT_IN_libc] (__vfork): Make this an alias.
8404 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8405 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8406 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8409 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8410
e549ee56
RM
8411 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8412 code that was previously under [RESET_PID].
8413 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8414 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8415 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8416
6ad2df0b
RM
8417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8418 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8419 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8420 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8422 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8423 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8424 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8425 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8426 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8430 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8431 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8433 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8434 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8435 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8436 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8437 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8440 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8441 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8442 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8443 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8445 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8446 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8453 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8454 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8457 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8458
7c1c1d8e
RM
84592014-06-25 Roland McGrath <roland@hack.frob.com>
8460
8461 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8462 that was previously under [RESET_PID].
8463 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8464
3e239be6
JM
84652014-06-25 Joseph Myers <joseph@codesourcery.com>
8466
74385da5
JM
8467 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8468 not undefine and redefine.
8469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8470 [O_CLOEXEC]: Make code unconditional.
8471 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8472 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8473 <kernel-features.h>.
8474 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8475 conditional variable definition.
8476 (shm_open) [O_CLOEXEC]: Make code unconditional.
8477 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8478 code.
8479
c2570a0b
JM
8480 * configure.ac (USE_REGPARMS): Don't define here.
8481 * configure: Regenerated.
8482 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8483 * sysdeps/i386/configure: Regenerated.
8484
11b076bb
JM
8485 * nptl/createthread.c: Don't include kernel-features.h.
8486 * nptl/pthread_cancel.c: Likewise.
8487 * nptl/pthread_condattr_setclock.c: Likewise.
8488 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8489 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8490 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8491 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8492 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8493 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8494 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8497 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8498 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8499 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8500 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8501 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8502 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8503 * nscd/gai.c: Likewise.
8504 * nss/nss_db/db-open.c: Likewise.
8505 * sysdeps/generic/ldsodefs.h: Likewise.
8506 * sysdeps/sh/nptl/tls.h: Likewise.
8507 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8508 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8509 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8510 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8511 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8512 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8513 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8514 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8516 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8517 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8518 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8519 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8520 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8521 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8522 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8523 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8524 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8525 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8526 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8527 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8528 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8529 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8530 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8531 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8533 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8535 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8536 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8537 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8538 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8539 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8540 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8541 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8542 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8543 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8544 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8545 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8546 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8547 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8548 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8549 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8551 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8552 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8553 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8554 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8555 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8556 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8557 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8558 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8559 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8560 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8561 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8562 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8563 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8564 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8587 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8588 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8589 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8590 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8591 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8592 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8594 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8595 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8596 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8597 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8598 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8599 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8600 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8601 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8602 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8604 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8605 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8606 * sysdeps/unix/sysv/linux/system.c: Likewise.
8607 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8608 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8609 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8610 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8611 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8612 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8613 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8614
92072d57
JM
8615 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8616 * configure: Regenerated.
8617 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8618
3e239be6
JM
8619 * configure.ac (base_machine): Do not set specially for particular
8620 machines here.
8621 * configure: Regenerated.
8622 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8623 settings from configure.ac.
8624 * sysdeps/i386/preconfigure: New file.
8625 * sysdeps/s390/preconfigure: Likewise.
8626 * sysdeps/sh/preconfigure: Likewise.
8627 * sysdeps/sparc/preconfigure: Likewise.
8628
06d50baa
RM
86292014-06-25 Roland McGrath <roland@hack.frob.com>
8630
74836003
RM
8631 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8632 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8633 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8634 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8635 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8636 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8637 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8638 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8639 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8640 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8641 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8642 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8643 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8644 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8645 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8646 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8647 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8648 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8649 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8650
8651 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8652 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8653 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8654 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8655 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8656 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8657 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8658 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8659 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8660 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8661 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8662 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8663 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8664 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8665 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8666 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8667 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8668 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8669 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8670 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8672 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8673 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8674 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8675 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8678 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8680 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8682 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8683 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8684 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8686 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8687 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8688 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8689
06d50baa
RM
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8691 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8693 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8695 Moved ...
8696 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8697 ... here.
8698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8703 Moved ...
8704 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8712 Moved ...
8713 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8715 Moved ...
8716 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8718 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8720 Moved ...
8721 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8725 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8727 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8731 Moved ...
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8733 ... here.
8734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8739 Moved ...
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8748 Moved ...
8749 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8751 Moved ...
8752 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8756 Moved ...
8757 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8759 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8762
a4ccbc9b
JM
87632014-06-25 Joseph Myers <joseph@codesourcery.com>
8764
0828edbf
JM
8765 * timezone/checktab.awk: Update from tzcode 2014e.
8766 * timezone/private.h: Likewise.
8767 * timezone/tzfile.h: Likewise.
8768 * timezone/zdump.c: Likewise.
8769 * timezone/zic.c: Likewise.
8770
a4ccbc9b
JM
8771 * sysdeps/unix/sysv/linux/kernel-features.h
8772 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8774 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8775 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8776 Remove conditional code.
8777
9aea0cb8
WN
87782014-06-25 Will Newton <will.newton@linaro.org>
8779
8780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8781 (_dl_arm_cap_flags): Add HWCAP2 values.
8782 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8783 (_DL_HWCAP_COUNT): Increase to 37.
8784 (_DL_HWCAP_LAST): New define.
8785 (_DL_HWCAP2_LAST): New define.
8786 (_dl_procinfo): Add support for printing
8787 AT_HWCAP2 entries.
8788 (_dl_string_hwcap): Use _dl_hwcap_string.
8789
6eaa65ce
AZ
87902014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791
8792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8793
0f5b7185
JM
87942014-06-25 Joseph Myers <joseph@codesourcery.com>
8795
cfd2ea50
JM
8796 * README: Do not mention ports directory.
8797
cecf2ed4
JM
8798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8799 Remove macro.
8800 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8801 <kernel-features.h>.
8802 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8803 conditional variable definition.
8804 (__futimes): Update comment.
8805 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8806 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8807
a638de82
JM
8808 [BZ #16560]
8809 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8810 arguments close to 0.
8811 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8812 Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8814 Likewise.
8815 * math/auto-libm-test-in: Add more tests of exp10.
8816 * math/auto-libm-test-out: Regenerated.
8817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8818
0f5b7185
JM
8819 * sysdeps/unix/sysv/linux/kernel-features.h
8820 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8821 * sysdeps/unix/sysv/linux/readv.c: Do not include
8822 <kernel-features.h>.
8823 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8824 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8825 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8826 unconditional.
8827 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8828 conditional code.
8829 * sysdeps/unix/sysv/linux/writev.c: Do not include
8830 <kernel-features.h>.
8831 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8832 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8833 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8834 unconditional.
8835 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8836 conditional code.
8837
c7aec4be
WN
88382014-06-25 Will Newton <will.newton@linaro.org>
8839
8840 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8841 comment changes throughout the file. Remove checks
8842 for HAVE_*_H definitions that are not required.
8843 (__gen_tempname): Call abort if an unknown kind value is
8844 passed.
8845
c5241f95
AS
88462014-06-25 Andreas Schwab <schwab@suse.de>
8847
8848 [BZ #17086]
8849 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8850 scalbln, scalblnf, scalblnl in libc.
8851
911422da
SP
88522014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8853
8854 [BZ #17086]
8855 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8856 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8857 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8858
0d749bbe
RM
88592014-06-24 Roland McGrath <roland@hack.frob.com>
8860
8861 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8862 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8863 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8864 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8865 Update #include.
8866 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8867 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8868 Update #include.
8869 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8870 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8871 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8872 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8873 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8874 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8875 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8876 * sysdeps/x86/bits/semaphore.h: ... here.
8877 * sysdeps/x86/nptl/elide.h: Moved ...
8878 * sysdeps/x86/elide.h: ... here.
8879 * sysdeps/x86_64/nptl/Implies: File removed.
8880 * sysdeps/i386/nptl/Implies: File removed.
8881
0ea5d373
JM
88822014-06-24 Joseph Myers <joseph@codesourcery.com>
8883
4060283d
JM
8884 [BZ #16539]
8885 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8886 return the argument for normal arguments with exponent below -64.
8887 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8888 Likewise.
8889 * math/auto-libm-test-in: Add another test of expm1.
8890 * math/auto-libm-test-out: Regenerated.
8891
e7dd3c8c
JM
8892 [BZ #16287]
8893 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8894 calling __erfcl for arguments at least 16.
8895 * math/auto-libm-test-in: Add more tests of erf.
8896 * math/auto-libm-test-out: Regenerated.
8897
0ea5d373
JM
8898 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8899 individual architectures.
8900 * sysdeps/unix/sysv/linux/configure: Regenerated.
8901 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8902 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8903 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8904 (ldd_rewrite_script): Define variable.
8905 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8907 file.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8909 generated file.
8910 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8911 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8912 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8913 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8914 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8915 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8916 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8917 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8918
2307e126
SP
89192014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8920
8921 [BZ #17084]
8922 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8923 Rename member __data.d to __data.__elision_data.
8924
c0a4ed77
W
89252014-06-24 Wilco <wdijkstr@arm.com>
8926
8927 * NEWS: Add 16918 to fixed bug list.
8928
b8c00573
W
89292014-06-24 Wilco <wdijkstr@arm.com>
8930
8931 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8932
b5570d92
W
89332014-06-24 Wilco <wdijkstr@arm.com>
8934
8935 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8936 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8937 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8938 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8939 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8940 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8941 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8942 Use _FPU_MASK_RM.
8943
947bdca2
W
89442014-06-24 Wilco <wdijkstr@arm.com>
8945
8946 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8947
00f669ed
W
89482014-06-24 Wilco <wdijkstr@arm.com>
8949
8950 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8951 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8952 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8953 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8954
db59bad3
W
89552014-06-24 Wilco <wdijkstr@arm.com>
8956
8957 [BZ #16918]
8958 * sysdeps/arm/feupdateenv.c (feupdateenv):
8959 Rewrite to reduce FPSCR accesses and fix return value.
8960
001f7b77
W
89612014-06-24 Wilco <wdijkstr@arm.com>
8962
8963 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8964 Optimize to avoid unnecessary FPSCR writes.
8965 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8966 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8967 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8968 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8969
4841e6a6
W
89702014-06-24 Wilco <wdijkstr@arm.com>
8971
8972 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8973 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8974 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8975 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8976 Call libc_fetestexcept_vfp.
8977 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8978 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8979 __SOFTFP__ ifdef so that they can be built for softfp.
8980
0813022c
SP
89812014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8982
08e5862f
SP
8983 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8984 argument type signed char.
8985
0813022c
SP
8986 * Makerules (check-abi): Dump diff of symlist if the test
8987 fails.
8988
3fc7236a
RM
89892014-06-23 Roland McGrath <roland@hack.frob.com>
8990
aba8ef95
RM
8991 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8992 using abort.
8993
3fc7236a
RM
8994 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8995 Remove unused variable ST.
8996
4da6db51
JM
89972014-06-23 Joseph Myers <joseph@codesourcery.com>
8998
4648909d
JM
8999 [BZ #16354]
9000 [BZ #17061]
9001 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9002 small arguments before calling __expm1.
9003 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9004 small arguments before calling __expm1f.
9005 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9006 small arguments before calling __expm1l.
9007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9008 Likewise.
9009 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9010 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9011 spurious underflow for some cosh tests.
9012 * math/auto-libm-test-out: Regenerated.
9013 * sysdeps/i386/fpu/libm-test-ulps: Update.
9014
46a3d3c7
JM
9015 [BZ #17050]
9016 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9017 (__ieee754_y1): Set errno if return value overflows.
9018 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9019 (__ieee754_y1f): Set errno if return value overflows.
9020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9021 (__ieee754_y1l): Set errno if return value overflows.
9022 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9023 (__ieee754_y1l): Set errno if return value overflows.
9024 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9025 * math/auto-libm-test-out: Regenerated.
9026
863893ec
JM
9027 * math/gen-auto-libm-tests.c: Document use of
9028 ignore-zero-inf-sign.
9029 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9030 (input_flags): Add ignore-zero-inf-sign.
9031 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9032 * math/gen-libm-test.pl (generate_testfile): Handle
9033 ignore-zero-inf-sign.
9034 * math/auto-libm-test-in: Mark some cpow tests with
9035 ignore-zero-inf-sign and some with xfail-rounding.
9036 * math/auto-libm-test-out: Regenerated.
9037 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update.
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040
4da6db51
JM
9041 [BZ #16315]
9042 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9043 overflowing or underflowing operations take place with sign of
9044 result.
9045 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9046 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9047 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9048 (__ieee754_pow): Recompute overflowing and underflowing results in
9049 original rounding mode.
9050 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9051 (__powl_helper): Allow negative argument X and scale negated value
9052 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9054 overflowing or underflowing operations take place with sign of
9055 result.
9056 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9057 Include <math.h>.
9058 * math/auto-libm-test-in: Add more tests of pow.
9059 * math/auto-libm-test-out: Regenerated.
9060 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9061 (pow_tonearest_test_data): Remove.
9062 (pow_test_tonearest): Likewise.
9063 (pow_towardzero_test_data): Likewise.
9064 (pow_test_towardzero): Likewise.
9065 (pow_downward_test_data): Likewise.
9066 (pow_test_downward): Likewise.
9067 (pow_upward_test_data): Likewise.
9068 (pow_test_upward): Likewise.
9069 (main): Don't call removed functions.
9070 * sysdeps/i386/fpu/libm-test-ulps: Update.
9071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9072
5686b236
RM
90732014-06-23 Roland McGrath <roland@hack.frob.com>
9074
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9076 Moved ...
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9079 Moved ...
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9082 Moved ...
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9085 Moved ...
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9088 File removed.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9090 File removed.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9092 File removed.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9094 File removed.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9096 File removed.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9098 File removed.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9100 File removed.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9102 File removed.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9104 File removed.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9106 File removed.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9108 File removed.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9110 File removed.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9112 Moved ...
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9115 Moved ...
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9117 ... here.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9119 Moved ...
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9122 Moved ...
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9125 Moved ...
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9128 Moved ...
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9131 Moved ...
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9134 Moved ...
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9137 Moved ...
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9141 ... here.
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9143 Moved ...
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9146 Moved ...
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9148 ... here.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9150 Moved ...
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9152 ... here.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9154 Moved ...
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9156 ... here.
9157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9158 Moved ...
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9161 Moved ...
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9166 Moved ...
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9168 ... here.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9170 Moved ...
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9172 ... here.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9174 Moved ...
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9177 Moved ...
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9180 Moved ...
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9183 Moved ...
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9186 Moved ...
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9188 ... here.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9190 Moved ...
9191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9193 Moved ...
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9196 Moved ...
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9199 Moved ...
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9204 Moved ...
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9207 Moved ...
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9210 Moved ...
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9212 ... here.
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9214 Moved ...
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9216 ... here.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9220 ... here.
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9222 Moved ...
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9225 Moved ...
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9228 Moved ...
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9231 Moved ...
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9233 ... here.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9237 ... here.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9239 Moved ...
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9241 ... here.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9243 Moved ...
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9246 Moved ...
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9248
e6d90d67
WD
92492014-06-23 Will Newton <will.newton@linaro.org>
9250 Wilco <wdijkstr@arm.com>
9251
9252 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9253 implementation. Include get-rounding-mode.h.
9254 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9255 [!libc_feholdsetround_noex_ctx]: Define
9256 libc_feholdsetround_noex_ctx.
9257 [!libc_feholdsetround_noexf_ctx]: Define
9258 libc_feholdsetround_noexf_ctx.
9259 [!libc_feholdsetround_noexl_ctx]: Define
9260 libc_feholdsetround_noexl_ctx.
9261 (libc_feholdsetround_ctx): New function.
9262 (libc_feresetround_ctx): New function.
9263 (libc_feholdsetround_noex_ctx): New function.
9264 (libc_feresetround_noex_ctx): New function.
9265
d42df555
RM
92662014-06-23 Roland McGrath <roland@hack.frob.com>
9267
88a46474
RM
9268 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9269 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9270 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9271 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9272 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9273 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9274
15bed472
RM
9275 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9276 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9277 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9278 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9279 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9280 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9282 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9284 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9286 Moved ...
9287 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9288 ... here.
9289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9290 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9292 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9294 Moved ...
9295 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9303 Moved ...
9304 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9306 Moved ...
9307 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9311 Moved ...
9312 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9314 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9315 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9316 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9317 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9318 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9320 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9322 Moved ...
9323 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9324 ... here.
9325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9338 Moved ...
9339 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9341 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9343 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9344 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9345 Moved ...
9346 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9350 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9351
d42df555
RM
9352 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9353 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9354 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9355 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9356 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9357 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9358 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9359 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9367 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9371 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9372 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9375 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9380
76e5216e
JM
93812014-06-23 Joseph Myers <joseph@codesourcery.com>
9382
9383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9384 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9385 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9386 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9387 (IPV6_PMTUDISC_INTERFACE): Likewise.
9388 (IPV6_PMTUDISC_OMIT): Likewise.
9389
7a81cbcc
AS
93902014-06-23 Andreas Schwab <schwab@suse.de>
9391
9392 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9393 Remove unused errout label.
9394
db224009
AZ
93952014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9396
9397 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9398 macro: hardware supports Vector Crypto instructions.
9399
f393b4aa
WN
94002014-06-23 Will Newton <will.newton@linaro.org>
9401
cc7d0447
WN
9402 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9403 rather than __builtin_expect.
9404
d6d06225
WN
9405 * elf/dl-lookup.c (undefined_msg): Remove variable.
9406 (_dl_lookup_symbol_x): Replace undefined_msg with string
9407 literal.
9408
f393b4aa
WN
9409 * elf/dl-lookup.c (do_lookup_unique): New function.
9410 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9411 to a separate function.
9412
ac60763e
AS
94132014-06-23 Andreas Schwab <schwab@suse.de>
9414
9415 [BZ #17079]
9416 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9417 before reading the next line.
9418
c5c13355
WN
94192014-06-23 Will Newton <will.newton@linaro.org>
9420
9421 * test-skeleton.c (signal_handler): Use printf and %m
9422 rather than perror. Use printf rather than fprintf to
9423 stderr. Use puts rather than fputs to stderr.
9424 (main): Likewise.
9425
bd3675f9
LC
94262014-06-22 Ludovic Courtès <ludo@gnu.org>
9427
9428 * nscd/nscd.c (thread_info_t): Remove typedef.
9429 (thread_info): Remove variable.
9430
d03efb2f
AM
94312014-06-21 Allan McRae <allan@archlinux.org>
9432
9433 * NEWS: Mention CVE-2014-4043.
9434
bc4a86fa
RM
94352014-06-20 Roland McGrath <roland@hack.frob.com>
9436
dc9a54f8
RM
9437 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9438 * nptl/smp.h: ... here.
9439
bd7022c4
RM
9440 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9441
26ffd5e6
RM
9442 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9443 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9444 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9445 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9446
93a6d082
RM
9447 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9448 * nptl/stack-aliasing.h: New file.
9449 * sysdeps/i386/i686/stack-aliasing.h: New file.
9450 * sysdeps/i386/i686/nptl/Makefile: File removed.
9451 * sysdeps/x86_64/stack-aliasing.h: New file.
9452 * sysdeps/x86_64/nptl/Makefile
9453 (CFLAGS-pthread_create.c): Variable removed.
9454
bc4a86fa
RM
9455 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9456 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9457 old file.
9458 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9459 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9460 old file.
9461
2272ffc1
JM
94622014-06-21 Joseph Myers <joseph@codesourcery.com>
9463
9464 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9465 (__ASSUME_SIGFRAME_V2): Remove macro.
9466 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9467 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9468 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9469 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9470 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9471 Declare as function. Remove conditional macro definitions.
9472 (__default_rt_sa_restorer): Likewise.
9473 (__default_sa_restorer_v1): Remove declaration.
9474 (__default_sa_restorer_v2): Likewise.
9475 (__default_rt_sa_restorer_v1): Likewise.
9476 (__default_rt_sa_restorer_v2): Likewise.
9477 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9478 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9479 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9480
4b88139b
RM
94812014-06-20 Roland McGrath <roland@hack.frob.com>
9482
9483 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9484 (libpthread-routines): Add sysdep.
9485 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9486 * sysdeps/unix/sysv/linux/sparc/Versions
9487 (libpthread: GLIBC_2.3.3): New version set.
9488 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9489 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9490 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9492 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9493 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9494 Moved ...
9495 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9497 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9499 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9501 * sysdeps/sparc/nptl/sem_init.c: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9503 * sysdeps/sparc/nptl/sem_post.c: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9505 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9506 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9507 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9509 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9510 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9511 (libpthread-routines): Add cpu_relax.
9512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9513 File removed.
9514 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9515 (librt: GLIBC_2.3.3): New version set.
9516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9517 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9518 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9519 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9522 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9524 Moved ...
9525 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9527 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9529 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9531 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9533 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9535 Moved ...
9536 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9537 Update #include.
9538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9539 Moved ...
9540 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9541 Update #include.
9542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9543 Moved ...
9544 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9545 Update #include.
9546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9547 Moved ...
9548 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9549 Update #include.
9550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9551 Moved ...
9552 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9553 Update #include.
9554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9555 Moved ...
9556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9557 Update #include.
9558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9559 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9565 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9567 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9569 Moved ...
9570 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9572 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9574 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9575
d7109027
JM
95762014-06-20 Joseph Myers <joseph@codesourcery.com>
9577
9bc6103d
JM
9578 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9579 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9580 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9581 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9582 * nscd/nscd.c: Likewise.
9583 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9584 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9585 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9586 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9587
d7109027
JM
9588 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9589 <kernel-features.h>.
9590 (init_mq_netlink): Remove conditional have_sock_cloexec
9591 definitions. Remove code conditional on have_sock_cloexec < 0.
9592 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9593 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9594 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9595 <kernel-features.h>.
9596 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9597 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9598
d92d8f8a
L
95992014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9602 Add tests for memset_chk and memset.
9603
9604 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9605 with AVX2_Usable.
9606
4e6d2347
MR
96072014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9608
257ce712
MR
9609 [BZ #16046]
9610 * elf/tst-dl-iter-static.c: New file.
9611 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9612
4e6d2347
MR
9613 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9614 error.
9615
a2a76afe
JM
96162014-06-20 Joseph Myers <joseph@codesourcery.com>
9617
7fd00f99
JM
9618 * sysdeps/unix/sysv/linux/kernel-features.h
9619 (__ASSUME_F_GETOWN_EX): Remove macro.
9620 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9621 <kernel-features.h>.
9622 (miss_F_GETOWN_EX): Remove variable or macro.
9623 (do_fcntl): Do not check miss_F_GETOWN_EX.
9624 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9625
4a103975
JM
9626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9627 Remove macro.
9628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9629 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9630 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9631
a2a76afe
JM
9632 * sysdeps/unix/sysv/linux/kernel-features.h
9633 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9634 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9635 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9636 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9637
90e5dd48
MR
96382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9639
9640 [BZ #17075]
9641 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9642 Fix calculation of the symbol's value.
9643 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9644 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9645 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9646 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9647 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9648 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9649 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9650 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9651 (modules-names): Add `tst-armtlsdescmod',
9652 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9653 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9654 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9655 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9656 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9657 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9658 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9659 ($(objpfx)tst-armtlsdescloc): New dependency.
9660 ($(objpfx)tst-armtlsdescextnow): Likewise.
9661 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9662 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9663 TLS scheme support.
9664 * sysdeps/arm/configure: Regenerate.
9665
809fdf0d
JM
96662014-06-20 Joseph Myers <joseph@codesourcery.com>
9667
9668 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9669 (__atfct_seterrno_2): Likewise.
9670 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9671 <kernel-features.h>.
9672 (__ASSUME_ATFCTS): Do not undefine and redefine.
9673 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9674 (__have_atfcts): Remove conditional definition.
9675 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9676 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9677 unreachable if [__ASSUME_ATFCTS].
9678 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9679 not undefine and redefine.
9680 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9681 <kernel-features.h>.
9682 (faccessat) [__NR_faccessat]: Make code unconditional.
9683 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9684 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9685 <kernel-features.h>.
9686 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9687 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9688 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9689 <kernel-features.h>.
9690 (fchownat) [__NR_fchownat]: Make code unconditional.
9691 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9692 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9693 <kernel-features.h>.
9694 (futimesat) [__NR_futimesat]: Make code unconditional.
9695 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9696 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9697 <kernel-features.h>.
9698 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9699 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9700 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9701 <kernel-features.h>.
9702 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9703 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9704 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9705 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9706 <kernel-features.h>.
9707 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9708 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9709 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9710 <kernel-features.h>.
9711 (linkat) [__NR_linkat]: Make code unconditional.
9712 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9713 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9714 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9715 <kernel-features.h>.
9716 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9717 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9718 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9719 <kernel-features.h>.
9720 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9721 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9722 * sysdeps/unix/sysv/linux/openat.c: Do not include
9723 <kernel-features.h>.
9724 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9725 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9726 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9727 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9728 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9729 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9730 <kernel-features.h>.
9731 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9732 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9733 result of INLINE_SYSCALL directly, not via int variable.
9734 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9735 <kernel-features.h>.
9736 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9737 (renameat) [__NR_renameat]: Make code unconditional.
9738 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9739 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9740 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9741 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9742 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9743 (__ASSUME_ATFCTS): Do not undefine and redefine.
9744 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9745 <kernel-features.h>.
9746 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9747 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9748 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9749 <kernel-features.h>.
9750 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9751 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9752 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9753 (__ASSUME_ATFCTS): Do not undefine and redefine.
9754 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9755 <kernel-features.h>.
9756 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9757 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9758 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9759 <kernel-features.h>.
9760 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9761 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9762
224c6c51
L
97632014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9766
aa6ec754
AS
97672014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9768
9769 [BZ #17069]
9770 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9771 constructed tree before returning error.
9772 * posix/bug-regexp36.c: Expand test case.
9773
d8c2869d
SL
97742014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9775
3ef6b850
SL
9776 [BZ #6803]
9777 * math/libm-test.inc (scalbln_test_date):
9778 Add errno expectations.
9779 * math/w_scalblnf.c: New File.
9780 Add wrapper which checks for setting errno to ERANGE.
9781 Add weak_alias for corresponding scalbln function.
9782 * math/w_scalbln.c: Likewise.
9783 * math/w_scalblnl.c: Likewise.
9784 * math/Makefile (libm-calls): Add w_scalbln.
9785 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9786 Remove weak_alias for corresponding scalbln function.
9787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9791 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9792 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9793 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9794 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9795 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9796 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9797 Remove long_double_symbol for scalblnl function in libm, libc.
9798 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9799 Add wrapper which checks for setting errno to ERANGE.
9800 Add long_double_symbol for scalblnl function in libm, libc.
9801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9802 Remove long_double_symbol for scalblnl in libm.
9803 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9804 Add wrapper which checks for setting errno to ERANGE.
9805 Add long_double_symbol for scalblnl function in libm.
9806 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9807 Do not use wrapper because of own implementation.
9808
c8daec5c
L
98092014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9810
9811 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9812 3 bytes for __pad1 for x32.
9813 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9814
5c74e47c
LM
98152014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9816 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9819 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9822 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9823
4d43ef1e
AS
98242014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9825
9826 [BZ #17069]
9827 * posix/regcomp.c (parse_expression): Deallocate partially
9828 constructed tree before returning error.
9829 * posix/Makefile.c (tests): Add bug-regex36.
9830 (generated): Add bug-regex36.mtrace.
9831 (tests-special): Add $(objpfx)bug-regex36-mem.out
9832 (bug-regex36-ENV): New variable.
9833 ($(objpfx)bug-regex36-mem.out): New rule.
9834 * posix/bug-regex36.c: New file.
9835
51a7380b
WN
98362014-06-19 Will Newton <will.newton@linaro.org>
9837
9838 * malloc/malloc.c (systrim): If extra is zero then return
9839 early.
9840
91b84fe5
SP
98412014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
9843 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9844
f940b965
RE
98452014-06-19 Richard Earnshaw <rearnsha@arm.com>
9846
9847 * sysdeps/aarch64/strchr.S: New file.
9848
4ba7a00f
JM
98492014-06-18 Joseph Myers <joseph@codesourcery.com>
9850
9851 [BZ #17022]
9852 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9853 from arguments -2 or below.
9854 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9855 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9856
b3a9f56b
AS
98572014-06-18 Andreas Schwab <schwab@suse.de>
9858
9859 [BZ #17062]
9860 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9861 of a bracket expr not to run off the end of the string.
9862 * posix/Makefile (tests): Add tst-fnmatch3.
9863 * posix/tst-fnmatch3.c: New file.
9864
85d89278
JM
98652014-06-18 Joseph Myers <joseph@codesourcery.com>
9866
9867 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9868 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9869 [$(cross-compiling) = no]: Likewise.
9870 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9871 [$(cross-compiling) = no]: Likewise.
9872
754c5a08
RS
98732014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9874
9875 [BZ #17031]
9876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9877 double, adjusted for any remainder from the high double.
9878 * math/libm-test.inc (nearbyint): Add tests.
9879 (rint): Likewise.
9880
556f529d
AZ
98812014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9882
9883 * nptl/sysdeps/powerpc/Makefile: Moved ...
9884 * sysdeps/powerpc/nptl/Makefile: ... here.
9885 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9886 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9887 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9888 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9889 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9890 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9891 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9892 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9893 * nptl/sysdeps/powerpc/tls.h: Moved ...
9894 * sysdeps/powerpc/nptl/tls.h: ... here.
9895
91c03c53
JM
98962014-06-16 Joseph Myers <joseph@codesourcery.com>
9897
9898 [BZ #16681]
9899 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9900 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9901 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9902 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9903 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9904 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9905 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9906 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9907 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9908
a76e63c5
AS
99092014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9912
f2f6d82f
AS
99132014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9914
ea8a15f6
AS
9915 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9916 defined operator.
9917
f2f6d82f
AS
9918 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9919 $TIMEOUTFACTOR.
9920
a7291117
FW
99212014-06-16 Florian Weimer <fweimer@redhat.com>
9922
9923 [BZ #17058]
9924 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9925 non-executed part of the test.
9926
3d7c00e3
AS
99272014-06-16 Andreas Schwab <schwab@suse.de>
9928
9929 * string/bits/string2.h (strdup, strndup): Update feature guard.
9930
6957fb31
DM
99312014-06-14 David S. Miller <davem@davemloft.net>
9932
9933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9934
11b9e55b
AS
99352014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9936
1d2a0492
AS
9937 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9938 that was previously under [RESET_PID].
9939 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9940
11b9e55b
AS
9941 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9942 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9943 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9944 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9945 (__libc_vfork): New strong alias.
9946 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9947
0f6901d0
AK
99482014-06-14 Andi Kleen <ak@linux.intel.com>
9949
9950 * sysdeps/generic/elide.h: New file.
9951
38bbbb9f
SL
99522014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9953
9954 * Makefile (installed-headers): Adjust path of pthread.h header.
9955
45193bb8
RM
99562014-06-13 Roland McGrath <roland@hack.frob.com>
9957
9a25fd1e
RM
9958 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9959 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9961 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9962
4004f7e4
RM
9963 * nptl/sysdeps/s390/Makefile: Moved ...
9964 * sysdeps/s390/nptl/Makefile: ... here.
9965 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9966 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9967 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9968 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9969 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9970 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9971 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9972 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9973 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9974 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9975 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9976 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9977 * nptl/sysdeps/s390/tls.h: Moved ...
9978 * sysdeps/s390/nptl/tls.h: ... here.
9979
45193bb8
RM
9980 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9981 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9982
f6fdf533
DM
99832014-06-13 David S. Miller <davem@davemloft.net>
9984
9985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9988 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9992 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9993 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9994 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9995 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9996 Remove RESET_PID cpp guards.
9997 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9998 Remove RESET_PID cpp guards.
9999 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10000
f5d71e14
AS
100012014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10004 __sp to uintptr_t.
10005
b7aa8caa
AK
100062014-06-13 Andi Kleen <ak@linux.intel.com>
10007
4b266200
AZ
10008 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10013 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10014 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10016 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10021 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10023 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10026 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10028
10029 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10030 (pthread_rwlock_rdlock): Add elision.
10031 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10032 (pthread_rwlock_wrlock): Add elision.
10033 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10034 (pthread_rwlock_trywrlock): Add elision.
10035 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10036 (pthread_rwlock_tryrdlock): Add elision.
10037 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10038 (pthread_rwlock_tryrdlock): Add elision unlock.
10039 * nptl/sysdeps/pthread/pthread.h:
10040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10041 (PTHREAD_RWLOCK_INITIALIZER,
10042 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10043 Handle new elision field.
10044 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10045 * sysdeps/arm/nptl/bits/pthreadtypes.h
10046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10047 * sysdeps/sh/nptl/bits/pthreadtypes.h
10048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10049 * sysdeps/tile/nptl/bits/pthreadtypes.h
10050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10051 * sysdeps/a/nptl/bits/pthreadtypes.h
10052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10053 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10055 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10057 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10059 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10061 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10063 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10065 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10067 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10069 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10070 (elision_init): Set try_xbegin to zero when no RTM.
10071 * sysdeps/x86/nptl/bits/pthreadtypes.h
10072 (pthread_rwlock_t): Change __pad1 to __rwelision.
10073 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10074
a832bdd3
AK
100752014-06-13 Andi Kleen <ak@linux.intel.com>
10076
10077 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10078 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10079 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10080 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10081
995a46bb
MI
100822014-06-13 Meador Inge <meadori@codesourcery.com>
10083
10084 [BZ #16996]
03ed7738 10085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10086 that the cached result has been set before returning it.
10087
45262aee
RM
100882014-06-12 Roland McGrath <roland@hack.frob.com>
10089
febf6cc5
RM
10090 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10091 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10093 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10094 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10095 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10096
e2682246
RM
10097 * nptl/sysdeps/sparc/Makefile: Moved ...
10098 * sysdeps/sparc/nptl/Makefile: ... here.
10099 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10100 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10101 * nptl/sysdeps/sparc/tls.h: Moved ...
10102 * sysdeps/sparc/nptl/tls.h: ... here.
10103 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10104 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10105 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10106 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10107 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10108 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10109 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10110 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10111 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10112 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10113 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10114 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10115 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10116 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10117 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10118 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10119 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10120 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10121 Update #include.
10122 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10123 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10124 Update #include.
10125 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10127 Update #include.
10128 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10130 Update #include.
10131
b0725f43
RM
10132 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10133
b14368b8
RM
10134 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10135 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10136
c5620eb3
RM
10137 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10138 (struct list_links): Type removed.
10139 (struct thread_node, struct timer_node): Replace struct list_links
10140 with struct list_head.
10141 (list_unlink_ip): Likewise.
10142 * sysdeps/pthread/timer_routines.c
10143 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10144 (list_append, list_insbefore): Likewise.
10145 (list_init): Function removed.
10146 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10147 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10148 * sysdeps/pthread/Makefile: ... here, new file.
10149
10150 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10151 * sysdeps/nptl/Implies: ... here.
10152 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10153 * nptl/sysdeps/pthread/list.h: Moved ...
10154 * include/list.h: ... here.
10155 * nptl/sysdeps/pthread/createthread.c: Moved ...
10156 * nptl/createthread.c: ... here.
10157 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10158 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10159 * nptl/pt-longjmp.c: ... here.
10160 * nptl/sysdeps/pthread/Makefile: Moved ...
10161 * sysdeps/nptl/Makefile: ... here.
10162 * nptl/sysdeps/pthread/Subdirs: Moved ...
10163 * sysdeps/nptl/Subdirs: ... here.
10164 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10165 * sysdeps/nptl/aio_misc.h: ... here.
10166 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10167 * sysdeps/nptl/bits/libc-lock.h: ... here.
10168 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10169 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10170 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10171 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10172 * nptl/sysdeps/pthread/configure: Moved ...
10173 * sysdeps/nptl/configure: ... here.
10174 * nptl/sysdeps/pthread/configure.ac: Moved ...
10175 * sysdeps/nptl/configure.ac: ... here.
10176 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10177 * sysdeps/nptl/gai_misc.h: ... here.
10178 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10179 * sysdeps/nptl/librt-cancellation.c: ... here.
10180 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10181 * sysdeps/nptl/malloc-machine.h: ... here.
10182 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10183 * sysdeps/nptl/pthread-functions.h: ... here.
10184 * nptl/sysdeps/pthread/pthread.h: Moved ...
10185 * sysdeps/nptl/pthread.h: ... here.
10186 * nptl/sysdeps/pthread/setxid.h: Moved ...
10187 * sysdeps/nptl/setxid.h: ... here.
10188 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10189 * sysdeps/nptl/sigfillset.c: ... here.
10190 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10191 * sysdeps/nptl/tcb-offsets.h: ... here.
10192 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10193 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10194 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10195 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10196 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10197 * sysdeps/pthread/allocalim.h: ... here.
10198 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10199 * sysdeps/pthread/bits/sigthread.h: ... here.
10200 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10201 * sysdeps/pthread/flockfile.c: ... here.
10202 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10203 * sysdeps/pthread/ftrylockfile.c: ... here.
10204 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10205 * sysdeps/pthread/funlockfile.c: ... here.
10206 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10207 * sysdeps/pthread/posix-timer.h: ... here.
10208 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10209 * sysdeps/pthread/timer_create.c: ... here.
10210 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10211 * sysdeps/pthread/timer_delete.c: ... here.
10212 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10213 * sysdeps/pthread/timer_getoverr.c: ... here.
10214 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10215 * sysdeps/pthread/timer_gettime.c: ... here.
10216 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10217 * sysdeps/pthread/timer_routines.c: ... here.
10218 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10219 * sysdeps/pthread/timer_settime.c: ... here.
10220 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10221 * sysdeps/pthread/tst-timer.c: ... here.
10222 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10223 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10224
e876b090
RM
10225 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10226 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10227
f6b07b3d
RM
10228 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10229 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10230 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10231 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10232 Update #include target.
10233 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10234 * sysdeps/i386/i686/nptl/Makefile: ... here.
10235 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10236 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10237 Update #include target.
10238 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10239 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10240 * nptl/sysdeps/i386/Makefile: Moved ...
10241 * sysdeps/i386/nptl/Makefile: ... here.
10242 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10243 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10244 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10245 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10246 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10247 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10248 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10249 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10250 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10251 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10252 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10253 * nptl/sysdeps/i386/tls.h: Moved ...
10254 * sysdeps/i386/nptl/tls.h: ... here.
10255
45262aee
RM
10256 * sysdeps/sh/Makefile [$(subdir) = csu]
10257 (gen-as-const-headers): Add tcb-offsets.sym.
10258 * nptl/sysdeps/sh/Makefile: File removed.
10259 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10260 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10261 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10262 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10263 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10264 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10265 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10266 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10267 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10268 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10269 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10270 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10271 * nptl/sysdeps/sh/tls.h: Moved ...
10272 * sysdeps/sh/nptl/tls.h: ... here.
10273 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10274 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10275 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10276 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10277 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10278 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10279 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10281 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10282 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10284 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10286 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10288 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10290 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10292 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10294 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10298 Moved ...
10299 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10300 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10301 Moved ...
10302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10307 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10308 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10309 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10310 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10311 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10312 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10313 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10314 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10315 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10316 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10317 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10318 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10319 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10320 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10321
35a5e3e3
SL
103222014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10323
10324 * posix/spawn_faction_addopen.c: Include string.h.
10325
14642b85
RM
103262014-06-11 Roland McGrath <roland@hack.frob.com>
10327
10328 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10329 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10330 * nptl/sysdeps/x86_64/Makefile: Moved ...
10331 * sysdeps/x86_64/nptl/Makefile: ... here.
10332 * nptl/sysdeps/x86_64/configure: Moved ...
10333 * sysdeps/x86_64/nptl/configure: ... here.
10334 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10335 * sysdeps/x86_64/nptl/configure.ac: ... here.
10336 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10337 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10338 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10339 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10340 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10341 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10342 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10343 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10344 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10345 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10346 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10347 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10348 * nptl/sysdeps/x86_64/tls.h: Moved ...
10349 * sysdeps/x86_64/nptl/tls.h: ... here.
10350 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10351 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10352 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10353 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10354
10355 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10356
31c44fea
AZ
103572014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358
10359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10360
e81a4f9a
JM
103612014-06-11 Joseph Myers <joseph@codesourcery.com>
10362
10363 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10364 type.
10365 [POSIX] (off_t): Likewise.
10366 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10367 [POSIX] (S_ISBLK): Require macro.
10368 [POSIX] (S_ISCHR): Likewise.
10369 [POSIX] (S_ISDIR): Likewise.
10370 [POSIX] (S_ISFIFO): Likewise.
10371 [POSIX] (S_ISREG): Likewise.
10372 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10373 optional-macro.
10374 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10375 type.
10376 [POSIX] (time_t): Likewise.
10377 [POSIX] (timer_t): Likewise.
10378
89e435f3
FW
103792014-06-11 Florian Weimer <fweimer@redhat.com>
10380
10381 [BZ #17048]
10382 * posix/spawn_int.h (struct __spawn_action): Make the path string
10383 non-const to support deallocation.
10384 * posix/spawn_faction_addopen.c
10385 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10386 * posix/spawn_faction_destroy.c
10387 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10388 path in all spawn_do_open actions.
10389 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10390 posix_spawn_file_actions_addopen.
10391
c3a2ebe1
CM
103922014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10393
10394 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10395 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10396 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10397 conditional code always true.
10398 (__libc_vfork): New alias.
10399
9503784a
RM
104002014-06-11 Roland McGrath <roland@hack.frob.com>
10401
c9cab3d2
RM
10402 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10403 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10404
d3996c79
RM
10405 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10406
ba5ec611
RM
10407 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10408 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10409
f12b4814
RM
10410 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10411 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10412
9503784a
RM
10413 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10414 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10415
e23d3d26
VR
104162014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10417
10418 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10419 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10420 multiarch strcmp for PPC64.
10421 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10422 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10424 multiarch optimizations.
10425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10426 (__libc_ifunc_impl_list): Likewise.
10427
42b1161e
SP
104282014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10429
10430 * benchtests/scripts/validate_benchout.py: New script.
10431 * benchtests/Makefile (bench-func): Call it.
10432 * benchtests/scripts/benchout.schema.json: New file.
10433
2d0fc4dc
CM
104342014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10435
4a594c34
AZ
10436 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10437 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10438 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10439 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10440 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10441 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10442 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10443 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10444 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10445 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10446 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10447 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10448 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10449 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10450 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10451 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10453 Moved ...
4a594c34 10454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10455 ... here.
4a594c34 10456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10457 Moved ...
4a594c34
AZ
10458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10460 Moved ...
4a594c34 10461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10462 ... here.
4a594c34 10463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10464 Moved ...
4a594c34 10465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10466 ... here.
4a594c34 10467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10468 Moved ...
4a594c34
AZ
10469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10471 Moved ...
4a594c34 10472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10473 ... here.
4a594c34 10474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10475 Moved ...
4a594c34 10476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10477 ... here.
4a594c34 10478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10479 Moved ...
4a594c34
AZ
10480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10482 Moved ...
4a594c34 10483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10484 ... here.
4a594c34 10485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10486 Moved ...
4a594c34 10487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10488 ... here.
4a594c34 10489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10490 Moved ...
4a594c34 10491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10492 ... here.
4a594c34 10493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10494 Moved ...
4a594c34
AZ
10495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10497 Moved ...
4a594c34 10498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10499 ... here.
4a594c34 10500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10501 Moved ...
4a594c34 10502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10503 ... here.
4a594c34 10504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10505 Moved ...
4a594c34 10506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10507 ... here.
4a594c34 10508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10509 Moved ...
4a594c34
AZ
10510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10512 Moved ...
4a594c34 10513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10514 ... here.
4a594c34 10515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10516 Moved ...
4a594c34 10517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10518 ... here.
4a594c34 10519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10520 Moved ...
4a594c34
AZ
10521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10523 Moved ...
4a594c34 10524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10525 ... here.
4a594c34 10526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10527 Moved ...
4a594c34
AZ
10528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10530 Moved ...
4a594c34
AZ
10531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10533 Moved ...
4a594c34 10534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10535 ... here.
4a594c34 10536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10537 Moved ...
4a594c34 10538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10539 ... here.
4a594c34 10540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10541 Moved ...
4a594c34 10542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10543 ... here.
4a594c34 10544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10545 Moved ...
4a594c34
AZ
10546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10548 Moved ...
4a594c34 10549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10550 ... here.
4a594c34 10551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10552 Moved ...
4a594c34 10553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10554 ... here.
4a594c34
AZ
10555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10556 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10558 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10560 Moved ...
4a594c34 10561 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10562 ... here.
4a594c34
AZ
10563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10564 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10566 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10568 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10570 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10572 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10574 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10576 Moved ...
4a594c34
AZ
10577 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10579 Moved ...
4a594c34
AZ
10580 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10582 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10584 Moved ...
4a594c34
AZ
10585 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10586 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10587 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10588 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10589 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10590 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10591 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10592
0570cfed
W
105932014-06-10 Wilco <wdijkstr@arm.com>
10594
10595 * math/test-fenv-return.c: New file.
10596 * math/Makefile: Add new test test-fenv-return.
10597
f8ba1b56
JM
105982014-06-10 Joseph Myers <joseph@codesourcery.com>
10599
10600 [BZ #17042]
10601 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10602 when x - 1 is zero.
10603 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10604 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10605 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10606 0.0L for an argument of 1.0L.
10607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10608 Likewise.
10609 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10610 value when x - 1 is zero.
10611 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10612 * sysdeps/i386/fpu/libm-test-ulps: Update.
10613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10614
2c3520d9
BO
106152014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10616
10617 [BZ #15119]
10618 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10619
acaa4d24
RM
106202014-06-09 Roland McGrath <roland@hack.frob.com>
10621
10622 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10623 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10624
962b744d
RM
106252014-06-09 Roland McGrath <roland@hack.frob.com>
10626
d752f0cc
RM
10627 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10628 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10629
34eda6d1
RM
10630 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10631 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10632
50f0a637
RM
10633 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10634 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10635
08f41f04
RM
10636 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10637 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10638
962b744d
RM
10639 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10640 if not already defined.
10641 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10642 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10643 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10644 (TLS_INIT_TP): Use it.
10645 (TLS_DEFINE_INIT_TP): New macro.
10646 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10647
09f19b05
JM
106482014-06-09 Joseph Myers <joseph@codesourcery.com>
10649
10650 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10651 constant.
10652 [POSIX] (IXANY): Likewise.
10653 [POSIX] (OLCUC): Likewise.
10654 [POSIX || POSIX2008] (CBAUD): Do not allow.
10655 [POSIX || POSIX2008] (DEFECHO): Likewise.
10656 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10657 [POSIX || POSIX2008] (ECHOKE): Likewise.
10658 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10659 [POSIX || POSIX2008] (EXTA): Likewise.
10660 [POSIX || POSIX2008] (EXTB): Likewise.
10661 [POSIX || POSIX2008] (FLUSHO): Likewise.
10662 [POSIX || POSIX2008] (LOBLK): Likewise.
10663 [POSIX || POSIX2008] (PENDIN): Likewise.
10664 [POSIX || POSIX2008] (SWTCH): Likewise.
10665 [POSIX || POSIX2008] (VDISCARD): Likewise.
10666 [POSIX || POSIX2008] (VDSUSP): Likewise.
10667 [POSIX || POSIX2008] (VLNEXT): Likewise.
10668 [POSIX || POSIX2008] (VREPRINT): Likewise.
10669 [POSIX || POSIX2008] (VSTATUS): Likewise.
10670 [POSIX || POSIX2008] (VWERASE): Likewise.
10671 (B*): Change to B[0123456789]*.
10672 * conform/data/time.h-data [POSIX || UNIX98]
10673 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10674 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10675 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10676 [POSIX] (tm_*): Do not allow.
10677
686554bf
JM
106782014-06-07 Joseph Myers <joseph@codesourcery.com>
10679
10680 * Makefile (install): Don't set LANGUAGE.
10681 * Makefile.in (install): Likewise.
10682 * assert/Makefile (test-assert-ENV): Remove variable.
10683 (test-assert-perr-ENV): Likewise.
10684 * elf/Makefile (neededtest4-ENV): Likewise.
10685 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10686 [$(cross-compiling) = no]: Don't set LANGUAGE.
10687 * io/ftwtest-sh (LANG): Remove variable.
10688 * libio/Makefile (tst-widetext-ENV): Likewise.
10689 * manual/install.texi (Running make install): Don't refer to
10690 environment settings for make install.
10691 * INSTALL: Regenerated.
10692 * nptl/tst-tls6.sh: Don't set LANG.
10693 * posix/globtest.sh (LANG): Remove variable.
10694 * string/Makefile (tester-ENV): Likewise.
10695 (inl-tester-ENV): Likewise.
10696 (noinl-tester-ENV): Likewise.
10697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10698 [$(cross-compiling) = no]: Don't set LANGUAGE.
10699 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10700 without explicit environment settings.
10701
68e6b6b1
RM
107022014-06-06 Roland McGrath <roland@hack.frob.com>
10703
10704 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10705 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10707 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10708
4d3ae034
CM
107092014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10710
10711 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10712 other files in the crypt directory.
10713 * crypt/crypt.c: Remove duplicate includes.
10714 * crypt/crypt-entry.c: Likewise.
10715 * crypt/crypt_util.c: Likewise.
10716
8540f6d2
JM
107172014-06-06 Joseph Myers <joseph@codesourcery.com>
10718
10719 * Makeconfig (run-program-env): New variable.
10720 (run-program-prefix-before-env): Likewise.
10721 (run-program-prefix-after-env): Likewise.
10722 (run-program-prefix): Define in terms of new variables.
10723 (built-program-cmd-before-env): New variable.
10724 (built-program-cmd-after-env): Likewise.
10725 (built-program-cmd): Define in terms of new variables.
10726 (test-program-prefix-before-env): New variable.
10727 (test-program-prefix-after-env): Likewise.
10728 (test-program-prefix): Define in terms of new variables.
10729 (test-program-cmd-before-env): New variable.
10730 (test-program-cmd-after-env): Likewise.
10731 (test-program-cmd): Define in terms of new variables.
10732 * Rules (make-test-out): Use $(run-program-env).
10733 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10734 (help): Do not mention environment variables. Mention
10735 --timeoutfactor option.
10736 (timeoutfactor): New variable.
10737 (blacklist_exports): Remove function.
10738 (exports): Remove variable.
10739 (command): Do not include ${exports}.
10740 * manual/install.texi (Configuring and compiling): Do not mention
10741 test wrappers preserving environment variables. Mention that last
10742 assignment to a variable must take precedence.
10743 * INSTALL: Regenerated.
10744 * benchtests/Makefile (run-bench): Use $(run-program-env).
10745 * catgets/Makefile ($(objpfx)test1.cat): Use
10746 $(built-program-cmd-before-env), $(run-program-env) and
10747 $(built-program-cmd-after-env).
10748 ($(objpfx)test2.cat): Do not specify environment variables
10749 explicitly.
10750 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10751 $(run-program-env) and $(built-program-cmd-after-env).
10752 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10753 $(run-program-env) and $(test-program-cmd-after-env).
10754 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10755 explicitly.
10756 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10757 run_program_env and test_program_cmd_after_env arguments.
10758 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10759 * elf/tst-pathopt.sh: Use run_program_env argument.
10760 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10761 $(test-wrapper-env) and $(run-program-env).
10762 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10763 run_program_env arguments.
10764 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10765 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10766 $(test-program-prefix-before-env), $(run-program-env) and
10767 $(test-program-prefix-after-env).
10768 ($(objpfx)tst-gettext2.out): Likewise.
10769 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10770 run_program_env and test_program_prefix_after_env arguments.
10771 * intl/tst-gettext2.sh: Likewise.
10772 * intl/tst-gettext4.sh: Do not set environment variables
10773 explicitly.
10774 * intl/tst-gettext6.sh: Likewise.
10775 * intl/tst-translit.sh: Likewise.
10776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10777 $(test-program-prefix-before-env), $(run-program-env) and
10778 $(test-program-prefix-after-env).
10779 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10780 run_program_env and test_program_prefix_after_env arguments.
10781 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10782 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10783 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10784 explicitly with each use of ${test_wrapper_env}.
10785 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10786 $(test-program-prefix-before-env), $(run-program-env) and
10787 $(test-program-prefix-after-env).
10788 * posix/tst-getconf.sh: Do not set environment variables
10789 explicitly.
10790 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10791 run_program_env and test_program_prefix_after_env arguments.
10792 * stdio-common/tst-printf.sh: Do not set environment variables
10793 explicitly.
10794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10795 $(test-program-prefix-before-env), $(run-program-env) and
10796 $(test-program-prefix-after-env).
10797 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10798 run_program_env and test_program_prefix_after_env arguments.
10799 Split $test calls into $test_pre and $test.
10800 * timezone/Makefile (build-testdata): Use
10801 $(built-program-cmd-before-env), $(run-program-env) and
10802 $(built-program-cmd-after-env).
10803
ed36bfa1
AZ
108042014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805
10806 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10807 strlen for non SHARED builds.
10808
fc75bf46
SP
108092014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10810
10811 * nptl/allocatestack.c (check_list): Inlined function...
10812 (__reclaim_stacks): ... here.
10813
d89b3d80
OB
108142014-06-05 Ondřej Bílka <neleai@seznam.cz>
10815
10816 [BZ #15698]
10817 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10818 memory overrun.
10819
2bf18041
JM
108202014-06-05 Joseph Myers <joseph@codesourcery.com>
10821
10822 * Rules (make-test-out): Include
10823 LOCPATH=$(common-objpfx)localedata in default environment.
10824 * debug/Makefile (tst-chk1-ENV): Remove variable.
10825 (tst-chk2-ENV): Likewise.
10826 (tst-chk3-ENV): Likewise.
10827 (tst-chk4-ENV): Likewise.
10828 (tst-chk5-ENV): Likewise.
10829 (tst-chk6-ENV): Likewise.
10830 (tst-lfschk1-ENV): Likewise.
10831 (tst-lfschk2-ENV): Likewise.
10832 (tst-lfschk3-ENV): Likewise.
10833 (tst-lfschk4-ENV): Likewise.
10834 (tst-lfschk5-ENV): Likewise.
10835 (tst-lfschk6-ENV): Likewise.
10836 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10837 (tst-iconv7-ENV): Likewise.
10838 * intl/Makefile (LOCPATH-ENV): Likewise.
10839 (tst-codeset-ENV): Likewise.
10840 (tst-gettext3-ENV): Likewise.
10841 (tst-gettext5-ENV): Likewise.
10842 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10843 (tst-fopenloc-ENV): Likewise.
10844 (tst-fgetws-ENV): Remove variable.
10845 (tst-ungetwc1-ENV): Likewise.
10846 (tst-ungetwc2-ENV): Likewise.
10847 (bug-ungetwc2-ENV): Likewise.
10848 (tst-swscanf-ENV): Likewise.
10849 (bug-ftell-ENV): Likewise.
10850 (tst-fgetwc-ENV): Likewise.
10851 (tst-fseek-ENV): Likewise.
10852 (tst-ftell-partial-wide-ENV): Likewise.
10853 (tst-ftell-active-handler-ENV): Likewise.
10854 (tst-ftell-append-ENV): Likewise.
10855 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10856 (tst-regexloc-ENV): Likewise.
10857 (bug-regex1-ENV): Likewise.
10858 (tst-regex-ENV): Likewise.
10859 (tst-regex2-ENV): Likewise.
10860 (bug-regex5-ENV): Likewise.
10861 (bug-regex6-ENV): Likewise.
10862 (bug-regex17-ENV): Likewise.
10863 (bug-regex18-ENV): Likewise.
10864 (bug-regex19-ENV): Likewise.
10865 (bug-regex20-ENV): Likewise.
10866 (bug-regex22-ENV): Likewise.
10867 (bug-regex23-ENV): Likewise.
10868 (bug-regex25-ENV): Likewise.
10869 (bug-regex26-ENV): Likewise.
10870 (bug-regex30-ENV): Likewise.
10871 (bug-regex32-ENV): Likewise.
10872 (bug-regex33-ENV): Likewise.
10873 (bug-regex34-ENV): Likewise.
10874 (bug-regex35-ENV): Likewise.
10875 (tst-rxspencer-ENV): Likewise.
10876 (tst-rxspencer-no-utf8-ENV): Likewise.
10877 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10878 (tst-sscanf-ENV): Likewise.
10879 (tst-swprintf-ENV): Likewise.
10880 (tst-swscanf-ENV): Likewise.
10881 (test-vfprintf-ENV): Likewise.
10882 (scanf13-ENV): Likewise.
10883 (bug14-ENV): Likewise.
10884 (tst-grouping-ENV): Likewise.
10885 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10886 (tst-strtod3-ENV): Likewise.
10887 (tst-strtod4-ENV): Likewise.
10888 (tst-strtod5-ENV): Likewise.
10889 (testmb2-ENV): Likewise./
10890 * string/Makefile (tst-strxfrm-ENV): Likewise.
10891 (tst-strxfrm2-ENV): Likewise.
10892 (bug-strcoll1-ENV): Likewise.
10893 (test-strcasecmp-ENV): Likewise.
10894 (test-strncasecmp-ENV): Likewise.
10895 * time/Makefile (tst-strptime-ENV): Likewise.
10896 (tst-ftime_l-ENV): Likewise.
10897 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10898 (tst-mbrtowc-ENV): Likewise.
10899 (tst-wcrtomb-ENV): Likewise.
10900 (tst-mbrtowc2-ENV): Likewise.
10901 (tst-c16c32-1-ENV): Likewise.
10902 (tst-mbsnrtowcs-ENV): Likewise.
10903
cd1fb604
OB
109042014-06-05 Ondřej Bílka <neleai@seznam.cz>
10905
10906 * manual/resource.texi (How to get information about the memory
10907 subsystem?): Fix typo.
10908 Reported by Peon de la Parra Ivan <peon@keba.com>
10909
b42eca7d
GY
109102014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10911
10912 [BZ #16882]
10913 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10914 (pthread_spin_lock): Branch out of spin loop to proper location.
10915 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10916 (pthread_spin_lock): Likewise.
10917
902b71f9
DM
10918 * nptl/tst-spin4.c: New test.
10919 * nptl/Makefile (tests): Add tst-spin4.
10920
f9d2d032
AS
109212014-06-03 Andreas Schwab <schwab@suse.de>
10922
10923 [BZ #15946]
10924 * resolv/res_send.c (send_dg): Reload file descriptor after
10925 calling reopen.
10926
cf7bfd28
SL
109272014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10928
10929 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10930
111cc714
RH
109312014-06-03 Richard Henderson <rth@redhat.com>
10932
89b4bd6b
RH
10933 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10934 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10935 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10936 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10937 in the SAVE_PID block.
10938 (__libc_vfork): New alias.
71840409 10939 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10940
111cc714
RH
10941 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10942 child in registers, not on the stack. Remove RESET_PID conditionals.
10943 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10944
ccc39911
MS
109452014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10946
10947 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10948
693096cc
W
109492014-06-03 Wilco <wdijkstr@arm.com>
10950
10951 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10952 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10953 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10954 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10955 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10956 Likewise.
10957
0b4366bc
W
109582014-06-03 Wilco <wdijkstr@arm.com>
10959
10960 * sysdeps/aarch64/fpu/math_private.h
10961 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10962 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10963 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10964 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10965 Fix declarations.
10966
8747cd03
KS
109672014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10968
10969 * crypt/crypt-private.h: Include ufc-crypt.h.
10970 (__b64_from_24bit): Declare extern.
10971 * crypt/crypt_util.c(__b64_from_24bit): New function.
10972 (b64t): New static const variable.
10973 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10974 (b64t): Remove variable.
10975 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10976 * crypt/sha256-crypt.c: Include crypt-private.h.
10977 (b64t): Remove variable.
10978 (__sha256_crypt_r): Remove b64_from_24bit and replace
10979 with __b64_from_24bit.
10980 * crypt/sha512-crypt.c: Likewise.
10981
d936d379
RM
109822014-06-02 Roland McGrath <roland@hack.frob.com>
10983
10984 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10985 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10986 Label the code __libc_vfork rather than __vfork.
10987 [!NOT_IN_libc] (vfork): Define as weak alias.
10988 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10989 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10990 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10991
9fa76613
SP
109922014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 * malloc/malloc.c (malloc_info): Fix format specifier for
10995 n_mmaps.
10996
a88dadbe
W
109972014-06-02 Wilco <wdijkstr@arm.com>
10998
10999 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11000 FPCR write.
11001
c95b3011
W
110022014-06-02 Wilco <wdijkstr@arm.com>
11003
11004 [BZ #17009]
11005 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11006 Rewrite to reduce FPCR/FPSR accesses.
11007
6b4d7a90
DM
110082014-06-01 David S. Miller <davem@davemloft.net>
11009
11010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11011
30f3d07c
DM
110122014-05-31 David S. Miller <davem@davemloft.net>
11013
11014 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11015 to occur in round to nearest mode when |x| >= 2.0
11016
74f31c18
RH
110172014-05-30 Richard Henderson <rth@twiddle.net>
11018
f0712b54
RH
11019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11020 (PSEUDO_RET_NOERRNO): Remove.
11021 (ret): Don't redefine.
11022 (ret_NOERRNO): Define in terms of ret.
11023 (ret_ERRVAL): Likewise.
11024
74f31c18
RH
11025 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11026 use of PSEUDO_RET; perform the error check directly.
11027
30477995
MM
110282014-05-30 Marko Myllynen <myllynen@redhat.com>
11029
11030 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11031 with __int128_t.
11032
62a58816
SP
110332014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11034
11035 * malloc/malloc (malloc_info): Fix formatting.
11036
4d653a59
SP
110372014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11038 Roland McGrath <roland@hack.frob.com>
11039
11040 * malloc/malloc (malloc_info): Also print mmapped statistics.
11041
5190c17f
RM
110422014-05-30 Roland McGrath <roland@hack.frob.com>
11043
11044 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11045 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11046
987c0269
OB
110472014-05-30 Ondřej Bílka <neleai@seznam.cz>
11048
11049 * malloc/malloc.c (malloc_info): Inline mi_arena.
11050
af4e8ef9
RH
110512014-05-29 Richard Henderson <rth@twiddle.net>
11052
1670e207
RH
11053 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11054 Remove comma before expanding ASM_ARGS_##nr.
11055 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11056 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11057 of ASM_ARGS_##nr.
11058 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11059 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11060 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11061 (ASM_ARGS_1): Add leading comma.
11062
11a28aee
RH
11063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11064 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11065 to __errno_location.
11066 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11067 Remove the expected plt for __errno_location.
11068
a17e5ffb 11069 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11070 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11071 call to __read_tp.
11072
b5be4597
RH
11073 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11074 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11075 it and break it down.
11076 (DOCARGS_0, DOCARGS_1): Do nothing.
11077 (DOCARGS_2): Update to store into the new stack frame.
11078 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11079 (UNDOCARGS_1): Update to restore from the new stack frame.
11080 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11081 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11082
645d44ab
RH
11083 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11084 (SINGLE_THREAD_P): New parameter for result regno.
11085 (PSEUDO): Update to match; use cbz instead of beq.
11086
a8b4f04a
RH
11087 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11088 Use ENTRY to define the _nocancel entry point. Share the syscall
11089 and syscall error check paths with the cancel path.
11090 (PSEUDO_END): New.
11091
af4e8ef9
RH
11092 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11093 whitespace; tabs before and after asm mnemonics.
11094
26b0d2e1
EW
110952014-05-29 Eric Wong <normalperson@yhbt.net>
11096
11097 [BZ #15132]
11098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11099 Call fstat64 or stat64 internally, depending on arguments passed.
11100 Replace stat buffer argument with file descriptor argument.
11101 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11102 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11103 Pass fd to __internal_statvfs instead of calling fstat64.
11104 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11105 Pass fd to __internal_statvfs64 instead of calling fstat64.
11106 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11107 Pass -1 to __internal_statvfs instead of calling stat64.
11108 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11109 Pass -1 to __internal_statvfs64 instead of calling stat64.
11110
1efe2bd9
RM
111112014-05-28 Roland McGrath <roland@hack.frob.com>
11112
0d3b7a19
RM
11113 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11114 that was previously under [RESET_PID].
11115 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11116
1efe2bd9
RM
11117 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11118 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11119
a6bea3ca
RM
111202014-05-27 Roland McGrath <roland@hack.frob.com>
11121
30b6629e
RM
11122 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11123
a6bea3ca
RM
11124 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11125 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11126
3dfb9a5c
OB
111272014-05-27 Ondřej Bílka <neleai@seznam.cz>
11128
11129 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11130
774f9285
AS
111312014-05-27 Andreas Schwab <schwab@suse.de>
11132
11133 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11134 TLS_INIT_TP macro.
11135 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11136 * elf/rtld.c (init_tls, dl_main): Likewise.
11137 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11138 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11139 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11140 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11141 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11142 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11143 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11144 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11145 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11146 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11147 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11148 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11149 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11150 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11151 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11152 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11153 * sysdeps/generic/tls.h: Update description.
11154
36ffe739
WN
111552014-05-27 Will Newton <will.newton@linaro.org>
11156
11157 [BZ #16990]
11158 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11159 and restore r2 rather than just restoring.
11160
2482ae43
SP
111612014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
11163 [BZ #16724]
11164 * libio/tst-ftell-append.c: New test case.
11165 * libio/Makefile (tests): Add test case.
11166 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11167 append mode.
11168 * libio/wfileops.c (do_ftell_wide): Likewise.
11169
3d1024e8
AZ
111702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11171
bab90016
AZ
11172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11173
c7a8d667
AZ
11174 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11175 ...
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11178 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11179 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11181 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11183 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11191 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11193 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11194 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11195 ...
11196 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11197 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11198 Moved ...
11199 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11200 here.
11201 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11202 ...
11203 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11205 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11206
daee7851
AZ
11207 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11208 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11210 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11211
50a40819
AZ
11212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11213 merge into ...
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11216 ...
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11219 ...
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11222 Moved ...
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11224 here.
11225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11226 Moved ...
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11229 Moved ...
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11231
8464c2a1
AZ
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11233 conditional [RESET_PID].
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11236 removed.
11237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11238 removed.
11239
3d1024e8
AZ
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11241 <tcb-offsets.h>.
11242 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11243 (__libc_vfork): New strong alias.
11244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11245 removed.
11246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11247 Removed.
11248
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11250 <tcb-offsets.h>.
11251 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11252 (__libc_vfork): New strong alias.
11253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11254 removed.
11255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11256 removed.
11257
fdfd175d
CD
112582014-05-26 Carlos O'Donell <carlos@redhat.com>
11259
11260 * malloc/malloc.c (mi_arena): New function.
11261 (malloc_info): Remove nested function mi_arena. Call non-nosted
11262 function mi_arena.
11263
d298c416
AZ
112642014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265
11266 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11267 by insrwi.
11268 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11269 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11270 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11271 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11272 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11273 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11274 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11275
b60ea6ff
AS
112762014-05-26 Andreas Schwab <schwab@suse.de>
11277
11278 [BZ #16984]
11279 * locale/programs/repertoire.c (repertoire_read): Add slash
11280 between I18NPATH element and file name.
11281 * locale/programs/locfile.c (locfile_read): Likewise.
11282
67365926
SL
112832014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11284
11285 * nptl/pthread_mutexattr_settype.c
11286 (__pthread_mutexattr_settype):
11287 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11288
f8bdf1f0
SL
112892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11290
11291 * nptl/tst-mutex5 (do_test):
11292 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11293
15eaf6ff
SP
112942014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11295
11296 * benchtests/README: Document 'init' directive.
11297 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11298 BENCH_INIT.
11299 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11300 (parse_file): Recognize 'init' directive.
11301
75f11331
KM
113022014-05-26 Kyle McMartin <kyle@redhat.com>
11303
11304 [BZ #16796]
11305 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11306 alignment of struct pthread.
11307
c3ec475c
SP
113082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11309
11310 [BZ #16878]
11311 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11312 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11313 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11314 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11315
82aab97c
RH
113162014-05-25 Richard Henderson <rth@twiddle.net>
11317
aa2f176d
RH
11318 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11319 (SINGLE_THREAD_P_PIC): Remove.
11320 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11321 (SINGLE_THREAD_P_PIC): Remove.
11322
ca3cfa40
RH
11323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11324 branch to syscall error ...
11325 (PSEUDO): ... here.
11326 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11327 from __local_syscall_error to .Lsyscall_error.
11328 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11329 (SYSCALL_ERROR): Update label name.
11330
6e6c2d01
RH
11331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11332 Do not use DOARGS/UNDOARGS.
11333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11334 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11335 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11336 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11337 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11338
c69abcee
RH
11339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11340 block comment.
11341
82aab97c
RH
11342 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11343 define if !NOT_IN_libc.
11344 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11345 define with non-default symbol versions.
11346
8820e3ac
RH
113472014-05-23 Richard Henderson <rth@twiddle.net>
11348
900e445f
RH
11349 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11350 (vfork, __vfork): Define via compat_symbol.
11351
8820e3ac
RH
11352 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11353 [!HAVE_IFUNC] (vfork_compat): Remove.
11354 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11355
e59252a5
JM
113562014-05-23 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #16978]
11359 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11360 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11361 variable.
11362
132c7f5f
RH
113632014-05-23 Richard Henderson <rth@twiddle.net>
11364
bc89e962
RH
11365 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11366 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11367 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11368 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11369
11370 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11371 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11372 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11373 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11375 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11376 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11377 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11378 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11379 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11380 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11381 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11382 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11383 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11384 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11385 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11386 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11393 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11394 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11395 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11396 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11401 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11409 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11410 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11411 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11412 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11413 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11414 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11415 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11417 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11418 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11419 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11420 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11421 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11423 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11425 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11426
e2fa4bc2
RH
11427 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11428 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11429 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11430 before exiting on error.
11431 (__libc_vfork): New strong alias.
11432 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11433 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11434
279b24e2
RH
11435 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11436 that was previously under [RESET_PID].
11437 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11438
132c7f5f
RH
11439 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11440
b72592e7
JM
114412014-05-23 Joseph Myers <joseph@codesourcery.com>
11442
11443 [BZ #16977]
11444 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11445 value when x - 1 is zero.
11446 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11447 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11448 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11449 0.0L for an argument of 1.0L.
11450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11451 Likewise.
11452 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11453 value when x - 1 is zero.
11454 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11457
2302d679
RV
114582014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11459
11460 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11461 alphasort and versionsort.
11462
32999d63
AZ
114632014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11464
11465 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11466 macro.
11467 [copysignf]: Likewise.
11468
019324d0
SP
114692014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11470
11471 * crypt/md5-crypt.c: Fix formatting.
11472
34fff5c2
KS
114732014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11474
11475 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11476 (b64_from_24bit): New function.
11477
3d2badac
AZ
114782014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11479
11480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11481 libc_hidden_builtin_def to ifunc.
11482 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11483 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11484
f7bb179f 114852014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11486
11487 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11488 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11489
4134b50d
JM
114902014-05-21 Joseph Myers <joseph@codesourcery.com>
11491
bb7d0337
JM
11492 * nscd/Depend (linuxthreads): Remove.
11493 (nptl): Add.
11494 * resolv/Depend (linuxthreads): Remove.
11495 * rt/Depend (linuxthreads): Remove.
11496
4134b50d
JM
11497 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11498 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11499 $(common-objpfx)elf/.
11500 (link-libc-before-gnulib): Likewise.
11501 (elfobjdir): Remove variable.
11502 * Makefile (install): Use $(elf-objpfx) instead of
11503 $(common-objpfx)elf/.
11504 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11505 $(elfobjdir)/.
11506 (link-libc-deps): Likewise.
11507 ($(common-objpfx)libc.so): Likewise.
11508 ($(common-objpfx)linkobj/libc.so): Likewise.
11509 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11510 instead of $(common-objpfx)elf/.
11511 (symbolic-link-list): Likewise.
11512 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11513 [$(cross-compiling) = no]: Likewise.
11514 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11515 $(elfobjdir)/.
11516 (static-gnulib-arch): Likewise.
11517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11518 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11519 $(common-objpfx)elf/.
11520
3612eb8f
RH
115212014-05-21 Richard Henderson <rth@redhat.com>
11522
a6b3657b
RH
11523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11524 (SINGLE_THREAD_P): Use the correct width load. Fold
11525 into the ldr offset.
11526
3612eb8f
RH
11527 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11528 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11529
175cef41
JM
115302014-05-20 Joseph Myers <joseph@codesourcery.com>
11531
11532 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11533 (libgcc_s_resume): Use __attribute_used__.
11534 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11535 Likewise.
11536
e13bccd3
AZ
115372014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538
11539 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11540 optimization when used with float constants.
11541
7c112a38
AZ
11542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11543
ae75a883
AJ
115442014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11545
11546 [BZ #16915]
11547 * locale/nl_langinfo_l.c: Make direct reference to every
11548 _nl_current_CATEGORY symbol.
11549 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11550 (tests-static): Add tst-langinfo-static.
11551 (tests-special): Add tst-langinfo-static.out.
11552 ($(objpfx)tst-langinfo.out): Redirect output.
11553 ($(objpfx)tst-langinfo-static.out): New.
11554 * localedata/tst-langinfo.sh: Send output to stdout.
11555 * localedata/tst-langinfo-static.c: New file.
11556
4406c41c
AJ
11557 [BZ #16965]
11558 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11559 when the shift amount is modulo the limb size.
11560
4c0a1e63
RH
115612014-05-20 Richard Henderson <rth@redhat.com>
11562
de9d8f20
RH
11563 [BZ #16967]
11564 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11565 Change type of sa_flags from unsigned int to int.
11566
4c0a1e63
RH
11567 [BZ #16966]
11568 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11569
11570 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11571
a60339aa
WN
115722014-05-20 Will Newton <will.newton@linaro.org>
11573
11574 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11575 Test the return value of the system call in the nocancel case.
11576
7d05a816
YR
115772014-05-20 Will Newton <will.newton@linaro.org>
11578 Yvan Roux <yvan.roux@linaro.org>
11579
11580 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11581 #include of asm/ptrace.h.
11582 (PTRACE_GET_THREAD_AREA): Remove #undef.
11583 (PTRACE_GETHBPREGS): Likewise.
11584 (PTRACE_SETHBPREGS): Likewise.
11585 (struct user_regs_struct): New structure.
11586 (struct user_fpsimd_struct): New structure.
11587 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11588 #include of asm/ptrace.h and second #include of sys/user.h.
11589 (PTRACE_GET_THREAD_AREA): Remove #undef.
11590 (PTRACE_GETHBPREGS): Likewise.
11591 (PTRACE_SETHBPREGS): Likewise.
11592 (ELF_NGREG): Use new struct user_regs_struct.
11593 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11594
af121e37
AZ
115952014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11596
11597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11599
834caf06
JM
116002014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11601
11602 [BZ #16958]
11603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11604 membar to avoid block loads/stores to overlap previous stores.
11605
e184a918
RH
116062014-05-17 Richard Henderson <rth@redhat.com>
11607
11608 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11609 Create the __##syscall_name##_nocancel entry point.
11610 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11611 Remove; let the sysdep-cancel.h code create it.
11612
f56c7a6a
DM
116132014-05-17 David S. Miller <davem@davemloft.net>
11614
11615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11616 Protect with __USE_GNU.
11617 (TIOCSET_TEMPT): Likewise.
11618 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11619 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11620 these are already provided in bits/ioctl-types.h
11621
f75616b2
RM
116222014-05-16 Roland McGrath <roland@hack.frob.com>
11623
3edeca86
RM
11624 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11625 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11626
f75616b2
RM
11627 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11628 Use wait4 regardless of [__NR_waitpid].
11629
deb0f7f6
MR
116302014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11631
11632 PR libgcc/60166
11633 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11634 (_FP_NANSIGN_Q): Set the quiet bit.
11635
79520f4b
JM
116362014-05-16 Joseph Myers <joseph@codesourcery.com>
11637
11638 * benchtests/Makefile
11639 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11640 not $(common-objpfx)math/libm.so.
11641 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11642 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11643 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11644 $(common-objpfx)dlfcn/libdl.so.
11645 ($(objpfx)tst-audit8): Depend on $(libm), not
11646 $(common-objpfx)math/libm.so.
11647 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11648 not $(common-objpfx)dlfcn/libdl.so.
11649 * math/Makefile
11650 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11651 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11652 [$(build-shared) = yes].
11653 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11654 $(common-objpfx)nptl/libpthread.so.
11655 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11656 $(common-objpfx)math/libm.so$(libm.so-version) or
11657 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11658 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11659 $(common-objpfx)dlfcn/libdl.so.
11660 * setjmp/Makefile (link-libm): Remove variable.
11661 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11662 * stdio-common/Makefile (link-libm): Remove variable.
11663 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11664 * stdlib/Makefile (link-libm): Remove variable.
11665 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11666 ($(objpfx)tst-strtod-round): Likewise.
11667 ($(objpfx)tst-tininess): Likewise.
11668 ($(objpfx)tst-strtod-underflow): Likewise.
11669 ($(objpfx)tst-strtod6): Likewise.
11670 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11671 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11672 $(common-objpfx)dlfcn/libdl.so.
11673
026b0fe4
AZ
116742014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11675
11676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11677 BSD terminal modes definitions.
11678
def4bcb2
RM
116792014-05-16 Roland McGrath <roland@hack.frob.com>
11680
fe39b021
RM
11681 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11682 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11683
1d1fc46e 11684 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11685 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11686 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11687 Don't do #include_next.
11688 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11689 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11690 Don't do #include_next.
11691 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11692 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11693 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11694 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11695
c72399fb
AM
116962014-05-16 Allan McRae <allan@archlinux.org>
11697
d51d659d
AM
11698 * po/sv.po: Update Swedish translation from translation project.
11699
c72399fb
AM
11700 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11701 in sed expression.
11702
d0583c40
AJ
117032014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11704
11705 [BZ #16917]
11706 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11707 errno if the TIOCGPTN ioctl fails with an error different than
11708 EINVAL.
11709 * login/tst-ptsname.c: New file.
11710 * login/Makefile (tests): Add tst-ptsname.
11711
d16e6ec7
AJ
11712 [BZ #16943]
11713 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11714 and prlimit64.
11715
cf26a0cb
SP
117162014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11717
11718 [BZ #16849]
11719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11720 herrno to return EAI_AGAIN.
11721
5675da1e
RM
117222014-05-14 Roland McGrath <roland@hack.frob.com>
11723
a5d87b3d
RM
11724 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11725 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11726 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11727 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11728 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11729 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11730 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11731 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11733 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11734 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11735 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11736 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11737 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11738 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11739 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11740 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11741 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11742 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11743 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11744 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11745 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11746 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11747 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11749 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11750 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11751 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11753 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11755 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11759 Moved ...
11760 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11762 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11764 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11766 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11768 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11770 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11772 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11774 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11776 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11778 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11780 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11782 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11784 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11786 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11788 Moved ...
11789 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11791 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11793 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11795 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11797 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11799 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11801 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11803 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11805 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11807 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11809 Moved ...
11810 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11813
039890a6
RM
11814 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11815 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11816 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11817 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11818 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11820 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11822 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11823 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11824 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11825 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11826 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11827 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11828 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11829 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11830 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11831 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11832 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11833 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11834 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11835 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11836 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11838 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11839 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11840 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11841 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11842 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11843 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11844 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11845
65c89320
RM
11846 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11847 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11848
348f8e8c
RM
11849 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11850 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11851 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11852 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11853 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11855 Moved ...
11856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11858 Moved ...
11859 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11861 Moved ...
11862 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11863 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11864 Moved ...
11865 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11867 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11869 Moved ...
11870 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11871 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11872 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11873 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11874 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11875 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11876 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11878 Moved ...
11879 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11881 Moved ...
11882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11883 ... here.
11884 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11885 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11887 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11889 Moved ...
11890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11891 ... here.
11892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11893 Moved ...
11894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11896 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11897 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11898 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11900 Moved ...
11901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11903 Moved ...
11904 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11911 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11912 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11913 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11914 Moved ...
11915 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11916 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11917 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11918 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11919 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11920 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11921 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11923 Moved ...
11924 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11926 Moved ...
11927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11928 ... here.
11929 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11930 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11931 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11932 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11934 Moved ...
11935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11936 ... here.
11937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11938 Moved ...
11939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11941 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11943 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11944 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11945 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11946 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11947 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11949 Moved ...
11950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11952 Moved ...
11953 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11954 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11955 Moved ...
11956 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11958 Moved ...
11959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11960 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11961 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11962 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11963 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11964 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11965 Moved ...
11966 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11967 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11968 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11969 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11972 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11974 Moved ...
11975 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11977 Moved ...
11978 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11979 ... here.
11980 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11981 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11982 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11983 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11984 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11985 Moved ...
11986 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11987 ... here.
11988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11989 Moved ...
11990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11991 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11992 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11993 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11994 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11995 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11996 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11997 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11998 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11999 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12000 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12001
5085af05
RM
12002 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12003 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12004
708f0813
RM
12005 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12006 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12007
c96067bc
RM
12008 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12009 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12010 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12011 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12012 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12013 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12014 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12015 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12016 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12017 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12019 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12020 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12021 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12022 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12024 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12026 Moved ...
12027 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12029 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12031 Moved ...
12032 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12034 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12036 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12038 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12040 Moved ...
12041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12043 Moved ...
12044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12048 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12050 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12051 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12052 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12053 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12054 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12055 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12056 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12057 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12058 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12059 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12060 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12061
ec136444
RM
12062 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12063 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12064 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12065 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12066 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12067
2fbdf533
RM
12068 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12069 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12070 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12071 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12072 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12073 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12074 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12075 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12076 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12077 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12078
4c68138b
RM
12079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12081
4eaae765
RM
12082 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12083 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12084 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12085 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12087 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12088 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12089 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12090 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12091 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12093 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12095 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12097 Update #include.
12098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12099 Likewise.
12100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12101 Likewise.
12102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12103 Likewise.
12104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12105 Likewise.
12106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12107 Likewise.
12108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12109 Likewise.
12110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12111 Likewise.
12112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12113 Likewise.
12114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12115 Likewise.
4ef6befa
RM
12116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12121 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12126 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12128 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12130 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12131
941d7dfd
RM
12132 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12133 that was previously under [RESET_PID].
12134 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12135 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12136 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12137
1b731c35
RM
12138 * sysdeps/i386/nptl/Implies: New file.
12139 * sysdeps/x86_64/nptl/Implies: New file.
12140 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12141 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12142 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12143 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12144
e2787137
RM
12145 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12146 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12147 (__libc_vfork): New strong alias.
12148 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12149 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12150
12151 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12152 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12153 (__libc_vfork): New strong alias.
12154 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12155 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12156
5675da1e
RM
12157 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12158 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12159 (__libc_vfork): New strong alias.
12160 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12161 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12162 * nptl/pt-vfork.c: New file.
12163 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12164 (libpthread: GLIBC_2.20): New version set (empty).
12165
4f02e2b8
WN
121662014-05-14 Will Newton <will.newton@linaro.org>
12167
12168 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12169 rather than #if.
12170
0bf061d3
JM
121712014-05-14 Joseph Myers <joseph@codesourcery.com>
12172
1a84c3d6
JM
12173 [BZ #16564]
12174 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12175 arguments with exponent 65 or above.
12176 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12177 arguments 0x1p113L or above.
12178 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12179 to arguments 0x1p107L or above.
12180 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12181 positive arguments with exponent 65 or above.
12182 * math/auto-libm-test-in: Add more tests of log1p.
12183 * math/auto-libm-test-out: Regenerated.
12184
01dbacd2
JM
12185 [BZ #16928]
12186 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12187 non-finite arguments is +0.
12188 * math/s_cacosf.c (__cacosf): Likewise.
12189 * math/s_cacosl.c (__cacosl): Likewise.
12190 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12191 * sysdeps/i386/fpu/libm-test-ulps: Update.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12193
913d03c8
JM
12194 [BZ #16927]
12195 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12196 value.
12197 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12198 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12199 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12200 for explicit high bit of mantissa when testing for argument equal
12201 to 1.
12202 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12203 * sysdeps/i386/fpu/libm-test-ulps: Update.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12205
0bf061d3
JM
12206 [BZ #16516]
12207 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12208 (__erf): Scale by 16 instead of 8 in potentially underflowing
12209 case. Ensure exception if result actually underflows.
12210 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12211 (__erff): Scale by 16 instead of 8 in potentially underflowing
12212 case. Ensure exception if result actually underflows.
12213 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12214 (efx8): Remove variable.
12215 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12216 case. Ensure exception if result actually underflows.
12217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12218 (efx8): Remove variable.
12219 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12220 case. Ensure exception if result actually underflows.
12221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12222 (efx8): Remove variable.
12223 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12224 case. Ensure exception if result actually underflows.
12225 * math/auto-libm-test-in: Add more tests of erf.
12226 * math/auto-libm-test-out: Regenerated.
12227
73ba67cb
AS
122282014-05-14 Andreas Schwab <schwab@suse.de>
12229
3d8c8bff
AS
12230 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12231 Remove code conditionalized on USE___THREAD.
12232
73ba67cb
AS
12233 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12234 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12235 not definedness.
12236
5c521ecd
JM
122372014-05-14 Joseph Myers <joseph@codesourcery.com>
12238
5e7698c6
JM
12239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12240 Define unconditionally.
12241 (__ASSUME_O_CLOEXEC): Likewise.
12242 (__ASSUME_SOCK_CLOEXEC): Likewise.
12243 (__ASSUME_IN_NONBLOCK): Likewise.
12244 (__ASSUME_PIPE2): Likewise.
12245 (__ASSUME_EVENTFD2): Likewise.
12246 (__ASSUME_SIGNALFD4): Likewise.
12247 (__ASSUME_DUP3): Likewise.
12248 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12249 (__ASSUME_DUP3): Do not define.
12250 (__ASSUME_EVENTFD2): Likewise.
12251 (__ASSUME_IN_NONBLOCK): Likewise.
12252 (__ASSUME_O_CLOEXEC): Likewise.
12253 (__ASSUME_PIPE2): Likewise.
12254 (__ASSUME_SIGNALFD4): Likewise.
12255 (__ASSUME_SOCK_CLOEXEC): Likewise.
12256 (__ASSUME_UTIMES): Undefine.
12257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12258 (__ASSUME_UTIMES): Do not define.
12259 (__ASSUME_O_CLOEXEC): Likewise.
12260 (__ASSUME_SOCK_CLOEXEC): Likewise.
12261 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12262 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12263 0x020621].
12264 (__ASSUME_PIPE2): Likewise.
12265 (__ASSUME_EVENTFD2): Likewise.
12266 (__ASSUME_SIGNALFD4): Likewise.
12267 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12268 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12269 Do not define.
12270 (__ASSUME_EVENTFD2): Likewise.
12271 (__ASSUME_SIGNALFD4): Likewise.
12272 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12273 (__ASSUME_32BITUIDS): Likewise.
12274 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12275 (__ASSUME_IPC64): Likewise.
12276 (__ASSUME_ST_INO_64_BIT): Likewise.
12277 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12278 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12279 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12280 (__ASSUME_UTIMES): Do not define.
12281 (__ASSUME_PSELECT): Likewise.
12282 (__ASSUME_PPOLL): Likewise.
12283 (__ASSUME_O_CLOEXEC): Likewise.
12284 (__ASSUME_SOCK_CLOEXEC): Likewise.
12285 (__ASSUME_IN_NONBLOCK): Likewise.
12286 (__ASSUME_PIPE2): Likewise.
12287 (__ASSUME_EVENTFD2): Likewise.
12288 (__ASSUME_SIGNALFD4): Likewise.
12289 (__ASSUME_DUP3): Likewise.
12290 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12291 (__ASSUME_UTIMES): Likewise.
12292 (__ASSUME_O_CLOEXEC): Likewise.
12293 (__ASSUME_SOCK_CLOEXEC): Likewise.
12294 (__ASSUME_IN_NONBLOCK): Likewise.
12295 (__ASSUME_PIPE2): Likewise.
12296 (__ASSUME_EVENTFD2): Likewise.
12297 (__ASSUME_SIGNALFD4): Likewise.
12298 (__ASSUME_DUP3): Likewise.
12299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12300 (__ASSUME_UTIMES): Likewise.
12301 (__ASSUME_O_CLOEXEC): Likewise.
12302 (__ASSUME_SOCK_CLOEXEC): Likewise.
12303 (__ASSUME_IN_NONBLOCK): Likewise.
12304 (__ASSUME_PIPE2): Likewise.
12305 (__ASSUME_EVENTFD2): Likewise.
12306 (__ASSUME_SIGNALFD4): Likewise.
12307 (__ASSUME_DUP3): Likewise.
12308 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12309 Likewise.
12310 (__ASSUME_UTIMES): Likewise.
12311 (__ASSUME_EVENTFD2): Likewise.
12312 (__ASSUME_SIGNALFD4): Likewise.
12313 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12314 (__ASSUME_O_CLOEXEC): Likewise.
12315 (__ASSUME_SOCK_CLOEXEC): Likewise.
12316 (__ASSUME_IN_NONBLOCK): Likewise.
12317 (__ASSUME_PIPE2): Likewise.
12318 (__ASSUME_EVENTFD2): Likewise.
12319 (__ASSUME_SIGNALFD4): Likewise.
12320 (__ASSUME_DUP3): Likewise.
12321 (__ASSUME_UTIMES): Undefine.
12322
5c521ecd
JM
12323 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12324 feclearexcept. Remove symbol versioning code.
12325 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12326 symbol versioning code.
12327 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12328 symbol versioning code.
12329 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12330 feupdateenv. Remove symbol versioning code.
12331 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12332 fegetexceptflag. Remove symbol versioning code.
12333 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12334 fesetexceptflag. Remove symbol versioning code.
12335 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12336 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12337 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12338 (__posix_fadvise64_l32): Remove prototype.
12339 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12340 code.
12341
5da9dfad
RM
123422014-05-13 Roland McGrath <roland@hack.frob.com>
12343
12344 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12345 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12346 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12347 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12348
893b4f37
SK
123492014-05-13 Sami Kerola <kerolasa@iki.fi>
12350
12351 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12352 current working directory
12353
e0db6517
RM
123542014-05-13 Roland McGrath <roland@hack.frob.com>
12355
58aa195d
RM
12356 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12357 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12358 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12359 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12360 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12361 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12362 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12364 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12367 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12373 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12375 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12376 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12377 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12378 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12379 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12380 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12381 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12382 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12383 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12385 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12387 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12388 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12389 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12390 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12391 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12392 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12393 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12394 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12395 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12396 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12397 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12398
8c6d01f0
RM
12399 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12400 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12401
12402 * sysdeps/unix/sysv/linux/arm/Makefile
12403 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12404 Add rt-aeabi_unwind_cpp_pr1.
12405 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12406 Add nptl-aeabi_unwind_cpp_pr1.
12407 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12408 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12409 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12410 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12411 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12412 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12413
12414 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12415 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12416 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12417 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12418
bba6da4e
RM
12419 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12420 Deconditionalize the code that was previously under [RESET_PID].
12421 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12422
e0db6517
RM
12423 * sysdeps/generic/exit-thread.h: New file.
12424 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12425 * include/unistd.h (__exit_thread): Remove declaration.
12426 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12427 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12428 * csu/libc-start.c: Include <exit-thread.h>.
12429 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12430 * nptl/pthread_create.c: Include <exit-thread.h>.
12431 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12432 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12433 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12434 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12435 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12436 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12437 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12438 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12439 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12440 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12441 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12442 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12443 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12444 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12445 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12446 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12447 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12448
01eb16fd
AS
124492014-05-13 Andreas Schwab <schwab@suse.de>
12450
12451 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12452
637461d9
JM
124532014-05-12 Joseph Myers <joseph@codesourcery.com>
12454
12455 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12456 (__ASSUME_UTIMES): Do not condition on kernel version.
12457 (__ASSUME_PSELECT): Define unconditionally.
12458 (__ASSUME_PPOLL): Likewise.
12459 (__ASSUME_ATFCTS): Likewise.
12460 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12461 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12462 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12463 (__ASSUME_UTIMENSAT): Define unconditionally.
12464 (__ASSUME_PRIVATE_FUTEX): Likewise.
12465 (__ASSUME_FALLOCATE): Likewise.
12466 (__ASSUME_O_CLOEXEC): Likewise.
12467 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12468 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12469 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12470 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12471 (__ASSUME_IN_NONBLOCK): Likewise.
12472 (__ASSUME_PIPE2): Likewise.
12473 (__ASSUME_EVENTFD2): Likewise.
12474 (__ASSUME_SIGNALFD4): Likewise.
12475 (__ASSUME_DUP3): Likewise.
12476 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12477 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12478 (__ASSUME_AT_RANDOM): Likewise.
12479 (__ASSUME_PREADV): Likewise.
12480 (__ASSUME_PWRITEV): Likewise.
12481 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12482 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12483 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12484 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12485 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12487 (__ASSUME_O_CLOEXEC): Define unconditionally.
12488 (__ASSUME_PSELECT): Do not undefine conditionally.
12489 (__ASSUME_PPOLL): Likewise.
12490 (__ASSUME_ATFCTS): Likewise.
12491 (__ASSUME_SET_ROBUST_LIST): Likewise.
12492 (__ASSUME_UTIMENSAT): Likewise.
12493 (__ASSUME_FDATASYNC): Define unconditionally.
12494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12495 (__ASSUME_SIGFRAME_V2): Likewise.
12496 )__ASSUME_EVENTFD2): Likewise.
12497 (__ASSUME_SIGNALFD4): Likewise.
12498 (__ASSUME_PSELECT): Do not undefine conditionally.
12499 (__ASSUME_PPOLL): Likewise.
12500 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12501 (__ASSUME_PSELECT): Define unconditionally.
12502 (__ASSUME_PPOLL): Likewise.
12503 (__ASSUME_O_CLOEXEC): Likewise.
12504 (__ASSUME_SOCK_CLOEXEC): Likewise.
12505 (__ASSUME_IN_NONBLOCK): Likewise.
12506 (__ASSUME_PIPE2): Likewise.
12507 (__ASSUME_EVENTFD2): Likewise.
12508 (__ASSUME_SIGNALFD4): Likewise.
12509 (__ASSUME_DUP3): Likewise.
12510 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12511 (__ASSUME_O_CLOEXEC): Likewise.
12512 (__ASSUME_SOCK_CLOEXEC): Likewise.
12513 (__ASSUME_IN_NONBLOCK): Likewise.
12514 (__ASSUME_PIPE2): Likewise.
12515 (__ASSUME_EVENTFD2): Likewise.
12516 (__ASSUME_SIGNALFD4): Likewise.
12517 (__ASSUME_DUP3): Likewise.
12518 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12519 (__ASSUME_EVENTFD2): Likewise.
12520 (__ASSUME_SIGNALFD4): Likewise.
12521 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12522
315eb1d8
AS
125232014-05-12 Andreas Schwab <schwab@suse.de>
12524
12525 [BZ #16932]
12526 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12527 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12528 than maximum RPC packet size.
12529 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12530 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12531 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12532 (_nss_nis_getservbyport_r): Likewise.
12533
91df99f7
WN
125342014-05-12 Will Newton <will.newton@linaro.org>
12535
12536 * malloc/Makefile (tests): Add tst-mallopt.
12537 * malloc/tst-mallopt.c: New file.
12538
0a982a29
RM
125392014-05-09 Roland McGrath <roland@hack.frob.com>
12540
12541 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12542 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12543
0ded08a5
AZ
125442014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12545
12546 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12547 (tst-tlsmod6.so): Likewise.
12548
55d4d550
RM
125492014-05-09 Roland McGrath <roland@hack.frob.com>
12550
12551 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12552
77d08aca
JM
125532014-05-09 Joseph Myers <joseph@codesourcery.com>
12554
12555 [BZ #16064]
12556 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12557 and <dl-procinfo.h>.
12558 (__fegetenv): Save SSE state in envp->__eip if supported.
12559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12560 envp->__eip if supported.
12561 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12562 and <dl-procinfo.h>.
12563 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12564 __data_offset and __data_selector in environment to 0. Set SSE
12565 state if supported.
12566 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12567 test-fenv-sse.
12568 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12569 -mfpmath=sse.
12570 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12571
28162f4d
WN
125722014-05-09 Will Newton <will.newton@linaro.org>
12573
12574 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12575 and libc_relro_required for ARM.
12576 * sysdeps/arm/preconfigure: Regenerate.
12577
5a414ff7
DV
125782014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12579 Stefan Liebler <stli@linux.vnet.ibm.com>
12580
12581 * config.make.in (enable-lock-elision): New Makefile variable.
12582 * configure.ac: Likewise.
12583 * configure: Regenerate.
12584 * sysdeps/s390/configure.ac:
12585 Add check for gcc transactions support.
12586 * sysdeps/s390/configure: Regenerate.
12587 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12588 Build elision files if enabled.
12589 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12590 Add lock elision support for s390.
12591 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12592 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12593 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12594 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12595 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12596 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12597 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12598 Likewise.
12599 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12600 Likewise.
12601 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12602 Likewise.
12603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12604 Likewise.
12605 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12606 (__lll_timedlock_elision, __lll_lock_elision)
12607 (__lll_unlock_elision, __lll_trylock_elision)
12608 (lll_timedlock_elision, lll_lock_elision)
12609 (lll_unlock_elision, lll_trylock_elision): Add.
12610 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12611 (pthread_mutex_t): Add lock elision support for s390.
12612
1a2f40e5
W
126132014-05-14 Wilco <wdijkstr@arm.com>
12614
12615 * sysdeps/arm/fclrexcpt.c: Cleanup.
12616 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12617 * sysdeps/arm/feenablxcpt.c: Cleanup.
12618 * sysdeps/arm/fegetenv.c: Cleanup.
12619 * sysdeps/arm/fegetexcept.c: Cleanup.
12620 * sysdeps/arm/fegetround.c: Cleanup.
12621 * sysdeps/arm/feholdexcpt.c: Cleanup.
12622 * sysdeps/arm/fesetenv.c: Cleanup.
12623 * sysdeps/arm/fesetround.c: Cleanup.
12624 * sysdeps/arm/feupdateenv.c: Cleanup.
12625 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12626 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12627 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12628 * sysdeps/arm/ftestexcept.c: Cleanup.
12629 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12630 * sysdeps/arm/setfpucw.c: Cleanup.
12631
f63c86fe
WN
126322014-05-09 Will Newton <will.newton@linaro.org>
12633
12634 * sysdeps/arm/armv7/strcmp.S: New file.
12635 * NEWS: Mention addition of ARMv7 optimized strcmp.
12636
7a1a51b5
RM
126372014-05-08 Roland McGrath <roland@hack.frob.com>
12638
95afbbe5
RM
12639 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12640 look for %.ac rather than %.in.
12641
12642 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12643 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12644 * sysdeps/mach/hurd/configure: Regenerated.
12645 * sysdeps/unix/sysv/linux/configure: Regenerated.
12646
7a1a51b5
RM
12647 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12648
5057ad3b
SE
126492014-05-07 Steve Ellcey <sellcey@mips.com>
12650
12651 [BZ# 16922]
12652 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12653 (LONG_SUB): Ditto.
12654 (PTR_SUB): Ditto.
12655
8dc97517
AS
126562014-05-07 Andreas Schwab <schwab@suse.de>
12657
12658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12659 when skipping over non-matching result from nscd.
12660
ce0c5b8f
OB
126612014-05-07 Ondřej Bílka <neleai@seznam.cz>
12662
12663 [BZ #16876]
12664 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12665
a1189263
OB
12666 [BZ #16877]
12667 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12668 nscd security class.
ce0c5b8f 12669
0f58d252
RM
126702014-05-06 Roland McGrath <roland@hack.frob.com>
12671
12672 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12673 * sysdeps/arm/unwind.h: ... here.
12674
83df9ad0
AJ
126752014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12676
ce0c5b8f
OB
12677 [BZ# 16916]
12678 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12679 Define.
83df9ad0 12680
f360f94a
VR
126812014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12682
12683 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12684 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12685 multiarch strncpy for PPC64.
12686 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12687 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12689 multiarch optimizations.
12690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12691 (__libc_ifunc_impl_list): Likewise.
12692 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12693 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12694 multiarch stpncpy for PPC64.
12695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12697
978a41c3
AS
126982014-05-06 Andreas Schwab <schwab@suse.de>
12699
12700 [BZ #16912]
12701 * gmon/mcount.c (_MCOUNT_DECL): Use
12702 atomic_compare_and_exchange_bool_acq instead of
12703 catomic_compare_and_exchange_bool_acq.
12704
eb1ed03d
RM
127052014-05-05 Roland McGrath <roland@hack.frob.com>
12706
fe658845
RM
12707 * elf/Makefile (others, install-bin): Remove pldd.
12708 (pldd-modules): Variable removed.
12709 ($(objpfx)pldd): Target removed.
12710 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12711 (others, install-bin): Append pldd here.
12712 ($(objpfx)pldd): New target.
12713
eb1ed03d
RM
12714 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12715 to 0, so the first #if test emitted later doesn't see it undefined.
12716 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12717 * sysdeps/gnu/errlist.c: Regenerated.
12718
19c4bec0
AZ
127192014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12720
12721 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12722 [libc_hidden_builtin_def]: Define to empty value.
12723 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12724 [libc_hidden_builtin_def]: Likewise.
12725 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12726 [libc_hidden_builtin_def]: Likewise.
12727 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12728 [libc_hidden_builtin_def]: Likewise.
12729 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12730 __redirect_memcpy and define ifunc as default hidden symbol.
12731 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12732 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12733
7776e669
AC
127342014-05-04 Adam Conrad <adconrad@0c3.net>
12735
12736 * locale/iso-4217.def: Reintroduce XDR currency.
12737
d69aeb12
AM
127382014-05-04 Allan McRae <allan@archlinux.org>
12739
12740 * po/eo.po: Update Esperanto translation from translation project.
12741
8f1df5cf
CD
127422014-05-02 Carlos O'Donell <carlos@redhat.com>
12743
12744 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12745 and FEATURE_INDEX_MAX to 1.
12746 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12747
13e402e7
SE
127482014-05-01 Steve Ellcey <sellcey@mips.com>
12749
12750 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12751 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12752 * iconvdata/big5.c (ONE_DIRECTION): Define.
12753 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12754 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12755 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12756 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12757 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12758 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12759 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12760 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12761 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12762 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12763 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12764 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12765 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12766 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12767 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12768 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12769 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12770 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12771 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12772 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12773 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12774 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12775 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12776 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12777 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12778 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12779 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12780 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12781 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12782 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12783 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12784 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12785 * iconvdata/johab.c (ONE_DIRECTION): Define.
12786 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12787 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12788 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12789 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12790 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12791 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12792 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12793 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12794 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12795 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12796
c727f032
RM
127972014-05-01 Roland McGrath <roland@hack.frob.com>
12798
8f2f08d0
RM
12799 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12800 (_IO_JUMPS_OFFSET): Define to 0.
12801
c727f032
RM
12802 * nptl/sysdeps/pthread/bits/libc-lock.h
12803 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12804 (__libc_lock_define_initialized_recursive): Always define using
12805 initializer. Modern compilers treat uninitialized (implicit zero) and
12806 explicit zero initializers the same (i.e. put the datum in bss).
12807
a849e800
AS
128082014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12809
12810 * nscd/nscd-client.h: Include <string.h>.
12811
5331255b
DM
128122014-05-01 David S. Miller <davem@davemloft.net>
12813
12814 [BZ #16885]
12815 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12816 multiple zero bytes exist at the end of a string.
12817 Reported by Aurelien Jarno <aurelien@aurel32.net>
12818
12819 * string/test-strcmp.c (check): Add explicit test for situations where
12820 there are multiple zero bytes after the first.
12821
4fdfe821
AS
128222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12823
12824 [BZ #16890]
12825 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12826 when compiling wprintf.
12827 * stdio-common/tstdiomisc.c (t3): New function.
12828 (main): Call it.
12829
0cdddc25
SE
128302014-05-01 Steve Ellcey <sellcey@mips.com>
12831
12832 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12833 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12834 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12835 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12836
6426d77e
SE
128372014-05-01 Steve Ellcey <sellcey@mips.com>
12838
12839 * stdlib/longlong.h: Updated from GCC.
12840
6d96f5e4
WN
128412014-05-01 Will Newton <will.newton@linaro.org>
12842 Bernard Ogden <bernie.ogden@linaro.org>
12843
7470db0c
WN
12844 * NEWS: Update fixed bug list.
12845
6d96f5e4
WN
12846 [BZ #15119]
12847 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12848
211d653c
DM
128492014-04-30 David S. Miller <davem@davemloft.net>
12850
4fa262fa
DM
12851 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12852 (libc_feholdexcept_setround_sparc_ctx): New function.
12853 (libc_fesetenv_sparc_ctx): Likewise.
12854 (libc_feupdateenv_sparc_ctx): Likewise.
12855 (libc_feholdsetround_sparc_ctx): Likewise.
12856 (libc_feholdexcept_setround_ctx): Define.
12857 (libc_feholdexcept_setroundf_ctx): Likewise.
12858 (libc_feholdexcept_setroundl_ctx): Likewise.
12859 (libc_fesetenv_ctx): Likewise.
12860 (libc_fesetenvf_ctx): Likewise.
12861 (libc_fesetenvl_ctx): Likewise.
12862 (libc_feupdateenv_ctx): Likewise.
12863 (libc_feupdateenvf_ctx): Likewise.
12864 (libc_feupdateenvl_ctx): Likewise.
12865 (libc_feresetround_ctx): Likewise.
12866 (libc_feresetroundf_ctx): Likewise.
12867 (libc_feresetroundl_ctx): Likewise.
12868 (libc_feholdsetround_ctx): Likewise.
12869 (libc_feholdsetroundf_ctx): Likewise.
12870 (libc_feholdsetroundl_ctx): Likewise.
12871
1d3d93ef
DM
12872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12873 with __USE_GNU instead of XOPEN cpp guards.
12874
8aa583c3
DM
12875 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12876 0.
12877
211d653c
DM
12878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12879 with XOPEN cpp guards.
12880
60c8f1f6
JB
128812014-04-30 Julian Brown <julian@codesourcery.com>
12882
12883 [BZ #16888]
12884 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12885 handling.
12886
9a461d46
JM
128872014-04-30 Joseph Myers <joseph@codesourcery.com>
12888
d0f5b3f8
JM
12889 [BZ #9894]
12890 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12891 Change to 2.6.32.
12892 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12893 * sysdeps/unix/sysv/linux/configure: Regenerated.
12894 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12895 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12896 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12897 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12898 * README: Update reference to required Linux kernel version.
12899 * manual/install.texi (Linux): Update reference to required Linux
12900 kernel headers version.
12901 * INSTALL: Regenerated.
12902
9a461d46
JM
12903 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12904 header inclusion.
12905 [POSIX] (limits.h): Likewise.
12906 [POSIX] (math.h): Likewise.
12907 [POSIX] (sys/wait.h): Likewise.
12908 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12909 function.
12910 [POSIX] (stddef.h): Do not allow header inclusion.
12911
1775babf
AZ
129122014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12913
57f41c40 12914 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12915
8f630cca
YY
129162014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12917
12918 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12919 Return immediately after lll_futex_wake.
12920
1cdeb237
SP
129212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12922
bc8f194c
SP
12923 [BZ #16791]
12924 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12925 structure.
12926 (datahead_init_pos): Call datahead_init_common early.
12927 (datahead_init_neg): Likewise.
12928
1cdeb237
SP
12929 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12930 datahead_init_neg): New functions.
12931 * nscd/aicache.c (addhstaiX): Use them.
12932 * nscd/grpcache.c (cache_addgr): Likewise.
12933 * nscd/hstcache.c (cache_addhst): Likewise.
12934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12935 * nscd/netgroupcache.c (do_notfound): Likewise.
12936 (addgetnetgrentX): Likewise.
12937 (addinnetgrX): Likewise.
12938 * nscd/pwdcache.c (cache_addpw): Likewise.
12939 * nscd/servicescache.c (cache_addserv): Likewise.
12940
16b293a7
SP
129412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12942 Atsushi Onoe <atsushi@onoe.org>
12943
12944 [BZ #14308]
12945 [BZ #12994]
12946 [BZ #13651]
12947 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12948 one response is valid.
12949 * resolv/res_send.c (send_dg): Check for validity of other
12950 response if the current response is a referral.
12951
a28a9b94
SE
129522014-04-29 Steve Ellcey <sellcey@mips.com>
12953
12954 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12955
2ca180e9
SL
129562014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12957
12958 [BZ #16823]
12959 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12960 Always divide by positive zero when computing -Inf result.
12961 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12962 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12963
18f2945a
AZ
129642014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12965
12966 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12967 FPSCR if value do not change.
12968 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12969 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12970 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12971 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12972 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12973 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12974 function.
12975
5abebba4
CD
129762014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12977
12978 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12979 * sysdeps/unix/sysv/linux/hppa: Move directory from
12980 ports/systeps/unix/sysv/linux/hppa.
12981 * README: Update listing for hppa-*-linux-gnu.
12982
f7ed60c2
OB
129832014-04-28 Ondřej Bílka <neleai@seznam.cz>
12984
fff763a5
OB
12985 [BZ #16754]
12986 * manual/stdio.texi (Hook functions): Fix types of stream hook
12987 functions.
f7ed60c2
OB
12988 [BZ #16854]
12989 * socket/sys/socket.h: Fix typo in comment.
12990
df639d73
WD
129912014-04-28 Wilco <wdijkstr@arm.com>
12992
f7ed60c2 12993 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12994 * sysdeps/arm/math_private.h: New file.
12995 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12996
48332d82
L
129972014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12998
12999 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13000 with __int128_t.
13001 (La_x86_64_retval): Likewise.
13002
e5e0d9a4
IB
130032014-04-24 Ian Bolton <ian.bolton@arm.com>
13004
13005 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13006 fpsr if value didn't change.
13007 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13008 to fpcr if value didn't change.
13009 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13010 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13011 fpsr or fpcr if value didn't change.
13012 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13013 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13014 fpcr if value didn't change.
13015 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13016 to fpsr if value didn't change.
13017
bacc75f7
SP
130182014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13019
13020 * nptl/tst-sem3.c: Use test-skeleton.c
13021 (main): Rename to do_test. Use return instead of
13022 exit.
13023 * nptl/tst-sem4.c: Use test-skeleton.c
13024 (main): Rename to do_test.
13025
a059d359
DM
130262014-04-22 David S. Miller <davem@davemloft.net>
13027
13028 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13029 (struct sigaction): New struct member __glibc_reserved0, change
13030 type of sa_flags to int.
13031
ea6c92f3
YZ
130322014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13033
13034 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13035 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13036
766c4a36
SP
130372014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13038
13039 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13040 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13041
140cc7ab
VK
130422014-04-22 Will Newton <will.newton@linaro.org>
13043 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13044
13045 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13046 (__longjmp): Add longjmp and longjmp_target SystemTap
13047 probes.
13048 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13049 (__sigsetjmp): Add setjmp SystemTap probe.
13050
c54e5cf7
CD
130512014-04-17 Carlos O'Donell <carlos@redhat.com>
13052
13053 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13054 match manual order.
13055
75ffb047
AZ
130562014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
13058 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13059
2cd925f7
AZ
13060 * sysdeps/powerpc/fpu/fenv_private.h
13061 (libc_feholdexcept_setroundl_ctx): Define to
13062 libc_feholdexcept_setround_ppc_ctx.
13063 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13064 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13065 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13066 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13067
39e6cd8d
IB
130682014-04-17 Ian Bolton <ian.bolton@arm.com>
13069
13070 * sysdeps/aarch64/math-tests.h: New file.
13071
f9281df9
SY
130722014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13073
13074 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13075 New.
13076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13077 Check and set bit_AVX2_Usable.
13078 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13079 macro.
13080 (bit_AVX2): Likewise.
13081 (index_AVX2_Usable): Likewise.
13082 (CPUID_AVX2): Likewise.
13083 (HAS_AVX2): Likewise.
13084
37d35007
WN
130852014-04-17 Will Newton <will.newton@linaro.org>
13086
7c677662
WN
13087 * manual/setjmp.texi (System V contexts): Add note that
13088 calling setcontext on a context created by a call to a
13089 signal handler is undefined. Update text to note that
13090 setcontext from a signal handler is possible but not
13091 recommended.
13092
37d35007 13093 [BZ #16629]
e04a4e9d
WN
13094 * stdlib/tst-setcontext.c: Include signal.h.
13095 (main): Check that the signal stack before and
13096 after swapcontext is the same.
13097
37d35007
WN
13098 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13099 Re-implement to restore registers in user code and avoid
13100 rt_sigreturn system call.
13101
423a7160
W
131022014-04-17 Wilco <wdijkstr@arm.com>
13103
13104 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13105 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13106 * math/test-fenv.c: Skip exception trap tests on targets which only
13107 support non-stop mode.
13108
bc93ab29
IB
131092014-04-17 Ian Bolton <ian.bolton@arm.com>
13110 Wilco Dijkstra <wilco.dijkstra@arm.com>
13111
13112 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13113 (libc_feholdsetround_aarch64_ctx)
13114 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13115 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13116 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13117 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13118 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13119 (libc_feresetround_noexl_ctx): Define.
13120
95fc5fa3
RH
131212014-04-16 Richard Henderson <rth@redhat.com>
13122
ddb04724
RH
13123 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13124
d77c0899
RH
13125 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13126 unwind tables.
13127
a3df56fc
RH
13128 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13129 const from the non-libc, non-ldso copy.
13130
95fc5fa3
RH
13131 * sysdeps/alpha/libm-test-ulps: Regenerate.
13132
7e0b6763
IB
131332014-04-16 Ian Bolton <ian.bolton@arm.com>
13134 Wilco Dijkstra <wilco.dijkstra@arm.com>
13135
13136 * sysdeps/aarch64/fpu/math_private.h: New file.
13137
a9ea2e0c
MS
131382014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13139
13140 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13141
ea8ba7cd
IZ
131422014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13143
7e54fd04 13144 [BZ #16275]
ea8ba7cd
IZ
13145 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13146 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13148 Intel MPX bound registers before _dl_profile_fixup.
13149 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13150 registers after _dl_profile_fixup. Save and restore bound
13151 registers bnd0/bnd1 when calling _dl_call_pltexit.
13152 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13153 (LR_BND_OFFSET): Likewise.
13154 (LRV_BND0_OFFSET): Likewise.
13155 (LRV_BND1_OFFSET): Likewise.
13156
9f2a4fbc
ST
131572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13158
13159 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13160 to...
13161 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13162 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13163 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13164 fields.
9f2a4fbc 13165
fd15a59b
ST
131662014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13167
13168 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13169
f19dfa0a
SL
131702014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13171
13172 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13173
4fa8bc3b
SL
131742014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13175
13176 [BZ #14770]
13177 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13178 * sysdeps/s390/configure: Regenerate.
13179
8ea587db
SL
13180 [BZ #16824]
13181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13182 Set round-to-nearest internally to reduce error accumulation.
13183
aa5f0ff1
AM
131842014-04-16 Alan Modra <amodra@gmail.com>
13185
13186 [BZ #16740]
13187 [BZ #16619]
13188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13189 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13190 * NEWS: Update fixed bug list.
aa5f0ff1 13191
bb9c256f
SP
131922014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 * benchtests/Makefile: Depend on libraries in build directory.
13195 (bench-math): Separate out math tests.
13196 (bench-pthread): Separate out pthread tests.
13197 (bench): Include math and pthread tests.
13198
f737dfd0
CD
131992014-04-14 Carlos O'Donell <carlos@redhat.com>
13200
13201 [BZ #16831]
13202 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13203 _dl_debug_initialize.
13204
0699f766
CD
13205 * configure.ac: Remove SELinux header check.
13206 * configure: Regenerate.
13207 * nscd/selinux.c (perms): Array of const char* to permission names.
13208 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13209 default policy. Call string_to_security_class and string_to_av_perm to
13210 translate strings. Enforce default policy and call avs_has_perm with
13211 results of translated strings.
13212
809bd45f
DM
132132014-04-13 David S. Miller <davem@davemloft.net>
13214
13215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13216
89e691f2
AM
132172014-04-12 Allan McRae <allan@archlinux.org>
13218
13219 [BZ #16838]
13220 * manual/string.texi (Collation Functions): Fix qsort argument
13221 order in example.
13222 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13223
9c9daaeb
CM
132242014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13225
13226 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13227 Make the test a no-op if there are no exceptions defined.
13228
95561fb9
PP
132292014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13230
fe8d072c 13231 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13232 enable-hardcoded-path-in-tests
13233
970c602a
WN
132342014-04-11 Will Newton <will.newton@linaro.org>
13235
13236 * benchtests/Makefile (extra-objs): Add json-lib.o.
13237 (bench-func): Tidy up JSON output.
13238 * benchtests/bench-skeleton.c: Include json-lib.h.
13239 (main): Use JSON library functions to do output of
13240 benchmark results.
13241 * benchtests/bench-timing-type.c (main): Output the
13242 timing type simply, leaving formatting to the user.
13243 * benchtests/json-lib.c: New file.
13244 * benchtests/json-lib.h: Likewise.
13245
36875b06
TR
132462014-04-11 Torvald Riegel <triegel@redhat.com>
13247
13248 [BZ #15215]
13249 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13250 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13251 memory barriers. Add comments.
13252 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13253 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13254 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13255 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13256 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13257 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13258
579db35a
SL
132592014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13260
13261 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13262 * sysdeps/s390/s390-64/configure.ac: ... this ...
13263 * sysdeps/s390/configure.ac: ... to here.
13264 * sysdeps/s390/s390-32/configure: Delete file.
13265 * sysdeps/s390/s390-64/configure: Delete file.
13266 * sysdeps/s390/configure: Regenerate.
13267
c12e9f37
JAPH
132682014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13269
13270 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13271
439bda32
WN
132722014-04-11 Will Newton <will.newton@linaro.org>
13273
13274 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13275 to zero if it is not defined elsewhere. (mtrim): Test
13276 the value of MALLOC_DEBUG with #if rather than #ifdef.
13277
6a5d6ea1
TR
132782014-04-10 Torvald Riegel <triegel@redhat.com>
13279
13280 * benchtests/pthread_once-inputs: New file.
13281 * benchtests/pthread_once-source.c: New file.
13282 * benchtests/README: Update documentation.
13283
a4c75cfd
IZ
132842014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13285 H.J. Lu <hongjiu.lu@intel.com>
13286
7e54fd04 13287 [BZ #16275]
a4c75cfd
IZ
13288 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13289 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13290 * sysdeps/x86_64/configure: Regenerated.
13291 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13292 macro.
13293 (REGISTER_SAVE_RAX): Likewise.
13294 (REGISTER_SAVE_RCX): Likewise.
13295 (REGISTER_SAVE_RDX): Likewise.
13296 (REGISTER_SAVE_RSI): Likewise.
13297 (REGISTER_SAVE_RDI): Likewise.
13298 (REGISTER_SAVE_R8): Likewise.
13299 (REGISTER_SAVE_R9): Likewise.
13300 (REGISTER_SAVE_BND0): Likewise.
13301 (REGISTER_SAVE_BND1): Likewise.
13302 (REGISTER_SAVE_BND2): Likewise.
13303 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13304 bound registers when calling _dl_fixup.
13305
27822ce6
AZ
133062014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307
13308 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13309 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13310 of its definition.
27822ce6
AZ
13311 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13312 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13313 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13314 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13315 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13316 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13317 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13318
a88ddc90
PTB
133192014-04-09 Peter Brett <peter@peter-b.co.uk>
13320
13321 [BZ #15514]
13322 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13323 pathconf(_PC_NAME_MAX).
13324
01f8eac2
AZ
133252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13326
13327 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13328 Remove macro usage.
13329 (__PTHREAD_SPINS): Move definition to ...
13330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13331 (__PTHREAD_SPINS): ... here.
13332 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13333 (__PTHREAD_SPIN): Likewise.
13334 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13335 (__PTHREAD_SPIN): Likewise.
13336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13337 (__PTHREAD_SPIN): Likewise.
13338 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13339 (__PTHREAD_SPIN): Likewise.
13340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13341 (__PTHREAD_SPIN): Likewise.
13342 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13343 (__PTHREAD_SPIN): Likewise.
13344 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13345 (__PTHREAD_SPIN): Likewise.
13346 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13347 (__PTHREAD_SPIN): Likewise.
13348 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13349 (__PTHREAD_SPIN): Likewise.
13350 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13351 (__PTHREAD_SPIN): Likewise.
13352 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13353 (__PTHREAD_SPIN): Likewise.
13354 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13355 (__PTHREAD_SPIN): Likewise.
13356
de21c33c
AZ
13357 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13358 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13359 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13360 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13361 imply folder.
13362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13363 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13365 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13366 correct imply path.
13367 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13368 strlen symbol for non multi-arch builds.
13369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13370 missing hidden_def and weak_alias.
13371
862c472e
CD
133722014-04-08 Carlos O'Donell <carlos@redhat.com>
13373
13374 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13375
8667f90e
WN
133762014-04-07 Will Newton <will.newton@linaro.org>
13377
13378 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13379 and contents. [!_LIBC] Remove #ifndef and contents.
13380 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13381 * string/memccpy.c (__memccpy): Use ANSI prototype.
13382 * string/memfrob.c (memfrob): Likewise.
13383 * string/strcoll.c (STRCOLL): Likewise.
13384 * string/strlen.c (strlen): Likewise.
13385 * string/strtok.c (STRTOK): Likewise.
13386 * string/strcat.c: Remove unused #include of memcopy.h.
13387 (strcat): Use ANSI prototype.
13388 * string/strchr.c: Remove unused #include of memcopy.h.
13389 (strchr): Use ANSI prototype.
13390 * string/strcmp.c: Remove unused #include of memcopy.h.
13391 (strcmp): Use ANSI prototype.
13392 * string/strcpy.c: Remove unused #include of memcopy.h.
13393 (strcpy): Use ANSI prototype.
13394
7ffa9423
AZ
133952014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13396
13397 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13398 * config.make.in (config-extra-cppflags): Set it from
13399 libc_extra_cppflags.
13400 * configure.ac (libc_extra_cflags): Make it accumulate over
13401 configure fragments.
13402 (libc_extra_cppflags): New flag.
13403 * configure. Regenerate.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13405 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13406 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13408
8bd70862
AZ
13409 [BZ #16815]
13410 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13411 result for FE_DOWNWARD rounding mode.
13412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13413 Likewise.
13414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13415
d42f3448
CM
134162014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13417
13418 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13419 in function argument name.
13420
1c21d115
DS
134212014-04-03 David Svoboda <svoboda@cert.org>
13422
13423 [BZ #5666]
13424 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13425 explicitly.
13426
fcccd512
RM
134272014-04-03 Roland McGrath <roland@hack.frob.com>
13428
13429 * elf/dl-unmap-segments.h: New file.
13430 * sysdeps/generic/ldsodefs.h
13431 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13432 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13433 * elf/dl-fptr.c: Likewise.
13434 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13435 * sysdeps/aarch64/tlsdesc.c: Likewise.
13436 * sysdeps/arm/tlsdesc.c: Likewise.
13437 * sysdeps/i386/tlsdesc.c: Likewise.
13438 * sysdeps/tile/dl-runtime.c: Likewise.
13439 * sysdeps/x86_64/tlsdesc.c: Likewise.
13440 * elf/dl-load.h: New file.
13441 * elf/dl-load.c: Include it.
13442 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13443 Macros moved to dl-load.h.
13444 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13445 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13446 Use _dl_unmap_segments in place of __munmap.
13447 Break out segment-mapping loop into ...
13448 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13449
f6488e2b
WN
134502014-04-03 Will Newton <will.newton@linaro.org>
13451
13452 * elf/dl-lookup.c (do_lookup_x): Remove comment
13453 referring to nested function and move variable
13454 declarations down to before first use.
13455
6f05bafe
JM
134562014-04-02 Joseph Myers <joseph@codesourcery.com>
13457
a84e78c8
JM
13458 [BZ #16799]
13459 [BZ #16800]
13460 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13461 with 0 numerator.
13462 * math/s_catanf.c (__catanf): Likewise.
13463 * math/s_catanh.c (__catanh): Likewise.
13464 * math/s_catanhf.c (__catanhf): Likewise.
13465 * math/s_catanhl.c (__catanhl): Likewise.
13466 * math/s_catanl.c (__catanl): Likewise.
13467 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13468 by positive zero when computing -Inf result.
13469 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13470 (catanh_test): Likewise.
13471 * sysdeps/i386/fpu/libm-test-ulps: Update.
13472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13473
6f05bafe
JM
13474 [BZ #16789]
13475 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13476 instead of using underflowing value in computing result.
13477 * math/s_clog10.c (__clog10): Likewise.
13478 * math/s_clog10f.c (__clog10f): Likewise.
13479 * math/s_clog10l.c (__clog10l): Likewise.
13480 * math/s_clogf.c (__clogf): Likewise.
13481 * math/s_clogl.c (__clogl): Likewise.
13482 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13483 (clog10_test): Likewise.
13484 * sysdeps/i386/fpu/libm-test-ulps: Update.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486
b0abbc21
AM
134872014-04-02 Alan Modra <amodra@gmail.com>
13488
13489 [BZ #16739]
13490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13491 output when value is near a power of two. Use int64_t for lx and
13492 remove casts. Use decimal rather than hex exponent constants.
13493 Don't use long double multiplication when double will suffice.
13494 * math/libm-test.inc (nextafter_test_data): Add tests.
13495 * NEWS: Add 16739 and 16786 to bug list.
13496
af6b1797
AM
13497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13498
483818d7
AM
13499 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13500
f6c55796
WN
135012014-04-01 Will Newton <will.newton@linaro.org>
13502
13503 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13504 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13505
13f7fe35
FW
135062014-04-01 Florian Weimer <fweimer@redhat.com>
13507
13508 [BZ #13347]
13509 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13510 * nptl/tst-setuid2.c: New file.
13511 * nptl/Makefile (xtests): Add tst-setuid2.
13512
c859b32e
AM
135132014-04-01 Alan Modra <amodra@gmail.com>
13514
13515 [BZ #16786]
13516 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13517
54fa2475
JM
135182014-03-31 Joseph Myers <joseph@codesourcery.com>
13519
8795b4a4
JM
13520 [BZ #6803]
13521 [BZ #6804]
13522 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13523 set errno as appropriate.
13524 * math/w_scalbf.c (__scalbf): Likewise.
13525 * math/w_scalbl.c (__scalbl): Likewise.
13526 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13527 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13528 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13529 Add more NaN tests.
13530
54fa2475
JM
13531 [BZ #16349]
13532 * math/w_atan2.c: Include <errno.h>.
13533 (__atan2): Set errno for result underflowing to zero.
13534 * math/w_atan2f.c: Include <errno.h>.
13535 (__atan2f): Set errno for result underflowing to zero.
13536 * math/w_atan2l.c: Include <errno.h>.
13537 (__atan2l): Set errno for result underflowing to zero.
13538 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13539 tests.
13540 * math/auto-libm-test-out: Regenerated.
13541
757d9dd5
AZ
135422014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13543
13544 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13545 Encode instruction correctly in little endian.
13546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13547 Likewise.
13548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13549 Likewise.
13550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13551 Likewise.
13552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13553 Likewise.
13554
d7a68734
JM
135552014-03-31 Joseph Myers <joseph@codesourcery.com>
13556
47c5adeb
JM
13557 [BZ #9894]
13558 * sysdeps/unix/sysv/linux/kernel-features.h
13559 [__sparc__ && !__arch64__ && !__sparc_v9__]
13560 (__ASSUME_SET_ROBUST_LIST): Do not define.
13561 [__sparc__ && !__arch64__ && !__sparc_v9__]
13562 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13563 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13564 Likewise.
13565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13566 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13567 (__ASSUME_REQUEUE_PI): Likewise.
13568 (__ASSUME_SET_ROBUST_LIST): Likewise.
13569 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13570 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13571 Undefine.
13572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13574 Likewise.
13575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13576 Likewise.
13577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13578 Likewise.
13579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13580 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13581 Undefine.
13582 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13583 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13584 Likewise.
13585
d7a68734
JM
13586 [BZ #16648]
13587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13589 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13590
c760f5c2
WN
135912014-03-31 Will Newton <will.newton@linaro.org>
13592
13593 * benchtests/Makefile (bench): Add ffs and ffsll to list
13594 of tests.
13595 * benchtests/ffs-inputs: New file.
13596 * benchtests/ffsll-inputs: Likewise.
13597
ea6029b1
JM
135982014-03-29 Joseph Myers <joseph@codesourcery.com>
13599
13600 [BZ #16770]
13601 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13602 too large before casting to int.
13603 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13604 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13605 * math/libm-test.inc (scalb_test_data): Add more tests.
13606
cf806aff
SP
136072014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13608
56737508
SP
13609 * benchtests/Makefile (DETAILED_OPT): New make option.
13610 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13611 set.
13612 * benchtests/bench-skeleton.c: Include stdbool.h.
13613 (main): Store and print timings per input.
13614 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13615 member to each argument value.
13616 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13617 (_print_arg_data): Initialize per-input timing to 0.
13618
cb5e4aad
SP
13619 * benchtests/Makefile (timing-type): New binary.
13620 (bench-clean): Also remove bench-timing-type.
13621 (bench): New target for timing-type.
13622 (bench-func): Print output in JSON format.
13623 * benchtests/bench-skeleton.c (main): Print output in JSON
13624 format.
13625 * benchtests/bench-timing-type.c: New file.
13626 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13627 (TIMING_PRINT_STATS): Remove.
13628 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13629 name separately.
13630
cf806aff
SP
13631 * benchtests/bench-modf.c: Remove.
13632 * benchtests/modf-inputs: New inputs file.
13633
289e0779
JM
136342014-03-28 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #16362]
13637 * math/s_clog10.c (M_PI_LOG10E): New macro.
13638 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13639 imaginary parts are 0.
13640 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13641 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13642 imaginary parts are 0.
13643 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13644 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13645 imaginary parts are 0.
13646 * math/libm-test.inc (clog10_test_data): Update expected results
13647 for when real and imaginary parts are 0.
13648
277ae3f1
PP
136492014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13650
13651 * elf/dl-load.c: Finish conversion of __builtin_expect into
13652 __glibc_{un}likely.
13653
03a7091f
JM
136542014-03-27 Joseph Myers <joseph@codesourcery.com>
13655
13656 [BZ #16348]
13657 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13658 1+x for argument with exponent below -67.
13659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13660 Likewise.
13661 * math/auto-libm-test-in: Add more tests of exp.
13662 * math/auto-libm-test-out: Regenerated.
13663
ea7d8b95
SP
136642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13665
dd3022d7
SP
13666 [BZ #16759]
13667 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13668 (nscd_getnetgrent): Use it.
13669
ea7d8b95
SP
13670 [BZ #16760]
13671 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13672 of stpcpy.
13673
df5b85da
AK
136742014-03-27 Andi Kleen <ak@linux.intel.com>
13675
57f41c40
AS
13676 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13677 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13678 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13679 (lll_robust_unlock): Remove out of line section. Use cfi
13680 intrinsics.
df5b85da 13681 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13682 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13683 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13684 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13685 (lll_robust_unlock): Remove out of line section. Use cfi
13686 intrinsics.
df5b85da
AK
13687 (LLL_STUB_UNWIND_INFO*): Remove.
13688
fbd6b5a4
SP
136892014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13690
13691 [BZ #16758]
13692 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13693 blank values.
13694
1b26b855
PP
136952014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13696
13697 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13698
9be36fb8
JM
136992014-03-26 Joseph Myers <joseph@codesourcery.com>
13700
13701 [BZ #16198]
13702 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13703 fnstenv.
13704 * math/test-fenv-preserve.c: New file.
13705 * math/Makefile (tests): Add test-fenv-preserve.
13706
60a2f3c1
WN
137072014-03-26 Will Newton <will.newton@linaro.org>
13708
13709 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13710
a5e5f1e2
RM
137112014-03-25 Roland McGrath <roland@hack.frob.com>
13712
13713 * scripts/versionlist.awk: Partition the version sets and emit all
13714 GLIBC_* (sorted) before all others (sorted).
13715
00f4012a
JM
137162014-03-25 Joseph Myers <joseph@codesourcery.com>
13717
13718 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13719 GLIBC_2.2.5 version.
13720
7bc5a741
AZ
137212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13722
13723 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13724 calls.
13725
7578473b
AZ
13726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13727 previous change.
13728
f3f1dab3
AZ
13729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13730
6da36183
AS
137312014-03-25 Andreas Schwab <schwab@suse.de>
13732
13733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13734 label to be used after in6ailist is initialized.
13735
f3f1dab3 137362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13737
7578473b 13738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13739 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13740
046651c1
JM
137412014-03-25 Joseph Myers <joseph@codesourcery.com>
13742
13743 [BZ #16357]
13744 [BZ #16599]
13745 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13746 min_plus_half.
13747 (fp_formats): Update initializers.
13748 (init_fp_formats): Initialize new field.
13749 (output_for_one_input_case): Allow underflow for results up to
13750 min_plus_half.
13751 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13752 * math/auto-libm-test-in: Don't mark some underflows from asin and
13753 atanh as spurious.
13754 * math/auto-libm-test-out: Regenerated.
13755 * sysdeps/i386/fpu/libm-test-ulps: Update.
13756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13757
003e49ed
AS
137582014-03-25 Andreas Schwab <schwab@suse.de>
13759
13760 * libio/Makefile (tst-ftell-partial-wide-ENV)
13761 (tst-ftell-active-handler-ENV): Define.
13762
de031874
SL
137632014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13764
13765 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13766
55a81e3b
PP
137672014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13768
13769 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13770
f3426898
JM
137712014-03-24 Joseph Myers <joseph@codesourcery.com>
13772
13773 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13774 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13775 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13776
a42faf59
PP
137772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13778
13779 [BZ #16634]
a42faf59 13780 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13781 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13782 (open_path): Change from boolean 'secure' to complete flag 'mode'
13783 (_dl_map_object): Adjust.
a42faf59
PP
13784 * elf/Makefile (tests): Add tst-dlopen-aout.
13785 * elf/tst-dlopen-aout.c: New test.
13786
50936127
SL
137872014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13788
13789 [BZ #16714]
13790 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13791 (struct stat): Rename member pad0 to __glibc_reserved0.
13792
26011b5c
SL
13793 [BZ #16712]
13794 * sysdeps/s390/s390-32/bits/wordsize.h
13795 (__WORDSIZE32_SIZE_ULONG): New define.
13796 * sysdeps/s390/s390-64/bits/wordsize.h
13797 (__WORDSIZE32_SIZE_ULONG): Likewise.
13798 * sysdeps/generic/stdint.h (SIZE_MAX):
13799 Define as UL if __WORDSIZE32_SIZE_ULONG.
13800
a2d86bf1
SL
13801 [BZ #16713]
13802 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13803 (__glibc_reserved0): New variable.
13804 (sa_flags): Change type to int.
13805
78b6eebc
SL
13806 * posix/Makefile (before-compile): Use += before-compile instead
13807 of a :=.
13808
f1399b5a
SL
13809 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13810 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13811
a071766e
AS
138122014-03-20 Andreas Schwab <schwab@suse.de>
13813
13814 [BZ #16743]
13815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13816 non-matching result from nscd.
13817
27c673b8
SP
138182014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13819
13820 * scripts/bench.py: Moved to ...
13821 * benchtests/scripts/bench.py: ... here.
13822 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13823
44152e4b
AS
138242014-03-24 Andreas Schwab <schwab@suse.de>
13825
13826 [BZ #16002]
13827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13828 alloca_account and account alloca use for struct in6ailist.
13829
b376a11a
JM
138302014-03-24 Joseph Myers <joseph@codesourcery.com>
13831
13832 [BZ #16284]
13833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13834 rounding mode to recompute results that overflow to infinity or
13835 underflow to zero.
13836 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13837 bug 16284.
13838 * math/auto-libm-test-out: Regenerated.
13839 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13840 (ccosh_test): Likewise.
13841 (csin_test_data): Use plus_oflow.
13842 (csin_test): Use ALL_RM_TEST.
13843 (csinh_test_data): Use plus_oflow.
13844 (csinh_test): Use ALL_RM_TEST.
13845 * sysdeps/i386/fpu/libm-test-ulps: Update.
13846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13847
f7be7376
JM
138482014-03-21 Joseph Myers <joseph@codesourcery.com>
13849
1ca2d03e
JM
13850 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13851 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13852 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13853
f7be7376
JM
13854 [BZ #16731]
13855 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13856 when x - 1 is zero.
13857 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13858 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13859 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13861 argument is 1.
13862 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13863 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13864 zero.
13865 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13866 * sysdeps/i386/fpu/libm-test-ulps: Update.
13867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13868
fdf4534d
SP
138692014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13870
df26ea53
SP
13871 * scripts/bench.pl: Remove file.
13872 * scripts/bench.py: New benchmark script.
13873 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13874 * benchtests/README: Mention python dependency.
13875 * scripts/pylintrc: New file.
13876 * scripts/pylint: New file.
13877
fdf4534d
SP
13878 * bits/mathdef.h: Use #ifdef instead of #if.
13879 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13880 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13881 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13882 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13883 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13884 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13885
6f23d093
AZ
138862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13887 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13888
13889 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13891 and strpbrk-ppc64 objects.
13892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13893 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13894 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13895 multiarch strpbrk for POWER7.
13896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13897 multiarch strpbrk for PPC64.
13898 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13899 ifunc selector.
13900 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13901 strpbrk for POWER7.
13902
8c92dfff
JM
139032014-03-20 Joseph Myers <joseph@codesourcery.com>
13904
13905 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13906 (atan_test): Likewise.
13907 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13908 (atanh_test): Use ALL_RM_TEST.
13909 (atan2_test_data): Likewise.
13910 (cabs_test): Likewise.
13911 (cacosh_test): Likewise.
13912 (carg_test): Likewise.
13913 (casin_test): Likewise.
13914 (casinh_test): Likewise.
13915 (cbrt_test): Likewise.
13916 (csqrt_test): Likewise.
13917 (erf_test): Likewise.
13918 (erfc_test): Likewise.
13919 (pow10_test): Likewise.
13920 (exp2_test): Likewise.
13921 (hypot_test): Likewise.
13922 (j0_test): Likewise.
13923 (j1_test): Likewise.
13924 (lgamma_test): Likewise.
13925 (gamma_test): Likewise.
13926 (sincos_test): Likewise.
13927 (tanh_test): Likewise.
13928 (y0_test): Likewise.
13929 (y1_test): Likewise.
13930 * sysdeps/i386/fpu/libm-test-ulps: Update.
13931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932
6eaf95cb
AZ
139332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13934
a387428c
SP
13935 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13937 and strcspn-ppc64 objects.
13938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13939 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13940 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13941 multiarch strcspn for POWER7.
13942 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13943 multiarch strcspn for PPC64.
13944 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13945 ifunc selector.
13946 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13947 strcspn for POWER7.
13948
ae3a5dff
JM
139492014-03-20 Joseph Myers <joseph@codesourcery.com>
13950
13951 * math/gen-libm-test.pl (generate_testfile): Expect only function
13952 name as argument to AUTO_TESTS_* and pass results for all rounding
13953 modes to parse_args.
13954 (parse_auto_input): Separate inputs of automatic tests from
13955 outputs before storing in %auto_tests.
13956 * math/libm-test.inc (acos_test_data): Update call to
13957 AUTO_TESTS_f_f.
13958 (acos_test): Use ALL_RM_TEST.
13959 (acos_tonearest_test_data): Remove.
13960 (acos_test_tonearest): Likewise.
13961 (acos_towardzero_test_data): Likewise.
13962 (acos_test_towardzero): Likewise.
13963 (acos_downward_test_data): Likewise.
13964 (acos_test_downward): Likewise.
13965 (acos_upward_test_data): Likewise.
13966 (acos_test_upward): Likewise.
13967 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13968 (asin_test_data): Likewise.
13969 (asin_test): Use ALL_RM_TEST.
13970 (asin_tonearest_test_data): Remove.
13971 (asin_test_tonearest): Likewise.
13972 (asin_towardzero_test_data): Likewise.
13973 (asin_test_towardzero): Likewise.
13974 (asin_downward_test_data): Likewise.
13975 (asin_test_downward): Likewise.
13976 (asin_upward_test_data): Likewise.
13977 (asin_test_upward): Likewise.
13978 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13979 (atan_test_data): Likewise.
13980 (atanh_test_data): Likewise.
13981 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13982 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13983 (carg_test_data): Likewise.
13984 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13985 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13986 (ccosh_test_data): Likewise.
13987 (cexp_test_data): Likewise.
13988 (clog_test_data): Likewise.
13989 (clog10_test_data): Likewise.
13990 (cos_test_data): Update call to AUTO_TESTS_f_f.
13991 (cos_test): Use ALL_RM_TEST.
13992 (cos_tonearest_test_data): Remove.
13993 (cos_test_tonearest): Likewise.
13994 (cos_towardzero_test_data): Likewise.
13995 (cos_test_towardzero): Likewise.
13996 (cos_downward_test_data): Likewise.
13997 (cos_test_downward): Likewise.
13998 (cos_upward_test_data): Likewise.
13999 (cos_test_upward): Likewise.
14000 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14001 (cosh_test): Use ALL_RM_TEST.
14002 (cosh_tonearest_test_data): Remove.
14003 (cosh_test_tonearest): Likewise.
14004 (cosh_towardzero_test_data): Likewise.
14005 (cosh_test_towardzero): Likewise.
14006 (cosh_downward_test_data): Likewise.
14007 (cosh_test_downward): Likewise.
14008 (cosh_upward_test_data): Likewise.
14009 (cosh_test_upward): Likewise.
14010 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14011 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14012 (ctan_test_data): Likewise.
14013 (ctan_test): Use ALL_RM_TEST.
14014 (ctan_tonearest_test_data): Remove.
14015 (ctan_test_tonearest): Likewise.
14016 (ctan_towardzero_test_data): Likewise.
14017 (ctan_test_towardzero): Likewise.
14018 (ctan_downward_test_data): Likewise.
14019 (ctan_test_downward): Likewise.
14020 (ctan_upward_test_data): Likewise.
14021 (ctan_test_upward): Likewise.
14022 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14023 (ctanh_test): Use ALL_RM_TEST.
14024 (ctanh_tonearest_test_data): Remove.
14025 (ctanh_test_tonearest): Likewise.
14026 (ctanh_towardzero_test_data): Likewise.
14027 (ctanh_test_towardzero): Likewise.
14028 (ctanh_downward_test_data): Likewise.
14029 (ctanh_test_downward): Likewise.
14030 (ctanh_upward_test_data): Likewise.
14031 (ctanh_test_upward): Likewise.
14032 (erf_test_data): Update call to AUTO_TESTS_f_f.
14033 (erfc_test_data): Likewise.
14034 (exp_test_data): Likewise.
14035 (exp_test): Use ALL_RM_TEST.
14036 (exp_tonearest_test_data): Remove.
14037 (exp_test_tonearest): Likewise.
14038 (exp_towardzero_test_data): Likewise.
14039 (exp_test_towardzero): Likewise.
14040 (exp_downward_test_data): Likewise.
14041 (exp_test_downward): Likewise.
14042 (exp_upward_test_data): Likewise.
14043 (exp_test_upward): Likewise.
14044 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14045 (exp10_test): Use ALL_RM_TEST.
14046 (exp10_tonearest_test_data): Remove.
14047 (exp10_test_tonearest): Likewise.
14048 (exp10_towardzero_test_data): Likewise.
14049 (exp10_test_towardzero): Likewise.
14050 (exp10_downward_test_data): Likewise.
14051 (exp10_test_downward): Likewise.
14052 (exp10_upward_test_data): Likewise.
14053 (exp10_test_upward): Likewise.
14054 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14055 (expm1_test_data): Likewise.
14056 (expm1_test): Use ALL_RM_TEST.
14057 (expm1_tonearest_test_data): Remove.
14058 (expm1_test_tonearest): Likewise.
14059 (expm1_towardzero_test_data): Likewise.
14060 (expm1_test_towardzero): Likewise.
14061 (expm1_downward_test_data): Likewise.
14062 (expm1_test_downward): Likewise.
14063 (expm1_upward_test_data): Likewise.
14064 (expm1_test_upward): Likewise.
14065 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14066 (fma_test): Use ALL_RM_TEST.
14067 (fma_towardzero_test_data): Remove.
14068 (fma_test_towardzero): Likewise.
14069 (fma_downward_test_data): Likewise.
14070 (fma_test_downward): Likewise.
14071 (fma_upward_test_data): Likewise.
14072 (fma_test_upward): Likewise.
14073 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14074 (j0_test_data): Update call to AUTO_TESTS_f_f.
14075 (j1_test_data): Likewise.
14076 (jn_test_data): Update call to AUTO_TESTS_if_f.
14077 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14078 (log_test_data): Update call to AUTO_TESTS_f_f.
14079 (log10_test_data): Likewise.
14080 (log1p_test_data): Likewise.
14081 (log2_test_data): Likewise.
14082 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14083 (pow_tonearest_test_data): Likewise.
14084 (sin_test_data): Update call to AUTO_TESTS_f_f.
14085 (sin_test): Use ALL_RM_TEST.
14086 (sin_tonearest_test_data): Remove.
14087 (sin_test_tonearest): Likewise.
14088 (sin_towardzero_test_data): Likewise.
14089 (sin_test_towardzero): Likewise.
14090 (sin_downward_test_data): Likewise.
14091 (sin_test_downward): Likewise.
14092 (sin_upward_test_data): Likewise.
14093 (sin_test_upward): Likewise.
14094 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14095 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14096 (sinh_test): Use ALL_RM_TEST.
14097 (sinh_tonearest_test_data): Remove.
14098 (sinh_test_tonearest): Likewise.
14099 (sinh_towardzero_test_data): Likewise.
14100 (sinh_test_towardzero): Likewise.
14101 (sinh_downward_test_data): Likewise.
14102 (sinh_test_downward): Likewise.
14103 (sinh_upward_test_data): Likewise.
14104 (sinh_test_upward): Likewise.
14105 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14106 (sqrt_test): Use ALL_RM_TEST.
14107 (sqrt_tonearest_test_data): Remove.
14108 (sqrt_test_tonearest): Likewise.
14109 (sqrt_towardzero_test_data): Likewise.
14110 (sqrt_test_towardzero): Likewise.
14111 (sqrt_downward_test_data): Likewise.
14112 (sqrt_test_downward): Likewise.
14113 (sqrt_upward_test_data): Likewise.
14114 (sqrt_test_upward): Likewise.
14115 (tan_test_data): Update call to AUTO_TESTS_f_f.
14116 (tan_test): Use ALL_RM_TEST.
14117 (tan_tonearest_test_data): Remove.
14118 (tan_test_tonearest): Likewise.
14119 (tan_towardzero_test_data): Likewise.
14120 (tan_test_towardzero): Likewise.
14121 (tan_downward_test_data): Likewise.
14122 (tan_test_downward): Likewise.
14123 (tan_upward_test_data): Likewise.
14124 (tan_test_upward): Likewise.
14125 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14126 (tgamma_test_data): Likewise.
14127 (y0_test_data): Likewise.
14128 (y1_test_data): Likewise.
14129 (yn_test_data): Update call to AUTO_TESTS_if_f.
14130 (main): Do not call removed functions.
14131
d71aeee8
JM
141322014-03-19 Joseph Myers <joseph@codesourcery.com>
14133
14134 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14135 (ldexp_test_data): Remove.
14136 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14137 scalbn_test_data.
14138 (scalb_test): Use ALL_RM_TEST.
14139
baaf1ded
AS
141402014-03-19 Andreas Schwab <schwab@suse.de>
14141
14142 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14143
b1115e91
JM
141442014-03-19 Joseph Myers <joseph@codesourcery.com>
14145
14146 [BZ #16649]
14147 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14148 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14149 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14151 (__ASSUME_PREADV): Undefine.
14152 (__ASSUME_PWRITEV): Likewise.
14153
0283ecca
RM
141542014-03-18 Roland McGrath <roland@hack.frob.com>
14155
7d375303
RM
14156 * bits/mman-linux.h: Add comment about non-Linux use.
14157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14158 bits/mman-linux.h resting place.
14159
0283ecca
RM
14160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14161 * bits/mman-linux.h: ... here.
14162
aebe1003
AZ
141632014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14164
14165 * conform/conformtest.pl: Add standard definition when calling C
14166 preprocessor on data files.
14167 (checknamespace): Remove unused variable.
14168
b29b6bb8
JM
141692014-03-18 Joseph Myers <joseph@codesourcery.com>
14170
14171 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14172 minus_oflow, plus_uflow and minus_uflow in expected results.
14173 * math/libm-test.inc (scalbn_test_data): Add more tests of
14174 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14175 minus_uflow.
14176 (scalbn_test): Use ALL_RM_TEST.
14177 (scalbln_test_data): Add more tests of negative arguments. Use
14178 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14179 (scalbln_test): Use ALL_RM_TEST.
14180
c8f8fa15
RM
141812014-03-18 Roland McGrath <roland@hack.frob.com>
14182
14183 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14184
fede7a5f
WN
141852014-03-18 Will Newton <will.newton@linaro.org>
14186
14187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14188 inaccurate comment.
14189
80cf0a58
JM
141902014-03-18 Joseph Myers <joseph@codesourcery.com>
14191
14192 * Makerules [!subdir] (check-abi): Exit with error status if a
14193 test failed.
14194
b3620862
JM
141952014-03-17 Joseph Myers <joseph@codesourcery.com>
14196
14197 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14198 for rint. Include results for all rounding modes.
14199 (nearbyint_test): Use ALL_RM_TEST.
14200 (rint_test_data): Include all tests used for nearbyint.
14201
788bba36
WN
142022014-03-17 Will Newton <will.newton@linaro.org>
14203
04ec140a
WN
14204 * nptl/sysdeps/pthread/pthread.h: Revert previous
14205 change.
14206
7579d8d5
WN
14207 * sysdeps/generic/ldsodefs.h: Revert previous
14208 change.
14209
c15cf13a
WN
14210 * libio/genops.c: Revert previous change.
14211 * libio/libioP.h: Likewise.
14212 * stdio-common/vfprintf.c: Likewise.
14213
d0ac1324
WN
14214 * sysdeps/generic/math_private.h: Revert previous
14215 change.
14216
9290130a
WN
14217 * sysdeps/generic/math_private.h: Check whether
14218 HAVE_RM_CTX is defined with #ifdef rather
14219 than #if.
14220
afb466fc
WN
14221 * argp/argp-fmtstream.h: Check whether
14222 __STRICT_ANSI__ is defined with #ifdef rather
14223 than #if.
14224 * argp/argp.h: Likewise.
14225
f7efd7c3
WN
14226 * libio/genops.c: Check whether
14227 _IO_JUMPS_OFFSET is defined with #ifdef rather
14228 than #if.
14229 * libio/libioP.h: Likewise.
14230 * stdio-common/vfprintf.c: Likewise.
14231
53f1bed3
WN
14232 * sysdeps/generic/ldsodefs.h: Check whether
14233 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14234 than #if.
14235
788bba36
WN
14236 * nptl/sysdeps/pthread/pthread.h: Check
14237 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14238 its value.
14239
fcd89ebe
SP
142402014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14241
ae42bbc5
SP
14242 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14243 setting O_APPEND.
14244 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14245 test case.
14246
ea33158c
SP
14247 [BZ #16680]
14248 * libio/fileops.c (_IO_file_open): Seek to end of file but
14249 don't cache the offset.
14250 (get_file_offset): Remove function.
14251 (do_ftell): Use cached offset when available.
14252 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14253 don't cache the offset.
14254 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14255 case.
14256 (do_one_test): Call it.
14257 (do_ftell_test): Fix up expected old offset for a+ mode.
14258 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14259 available.
14260
b1dbb426
SP
14261 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14262 up test status with function return status.
14263 (do_write_test): Likewise.
14264 (do_append_test): Likewise.
14265
fcd89ebe
SP
14266 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14267 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14268 Remove.
14269
9962a2d3
JM
142702014-03-17 Joseph Myers <joseph@codesourcery.com>
14271
14272 * math/gen-libm-test.pl (parse_args): Handle results specified for
14273 each rounding mode separately.
14274 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14275 tests and results from lrint_tonearest_test_data,
14276 lrint_towardzero_test_data, lrint_downward_test_data and
14277 lrint_upward_test_data.
14278 (lrint_test): Use ALL_RM_TEST.
14279 (lrint_tonearest_test_data): Remove.
14280 (lrint_test_tonearest): Likewise.
14281 (lrint_towardzero_test_data): Likewise.
14282 (lrint_test_towardzero): Likewise.
14283 (lrint_downward_test_data): Likewise.
14284 (lrint_test_downward): Likewise.
14285 (lrint_upward_test_data): Likewise.
14286 (lrint_test_upward): Likewise.
14287 (llrint_test_data): Merge in per-rounding-mode tests and results
14288 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14289 llrint_downward_test_data and llrint_upward_test_data.
14290 (llrint_test): Use ALL_RM_TEST.
14291 (llrint_tonearest_test_data): Remove.
14292 (llrint_test_tonearest): Likewise.
14293 (llrint_towardzero_test_data): Likewise.
14294 (llrint_test_towardzero): Likewise.
14295 (llrint_downward_test_data): Likewise.
14296 (llrint_test_downward): Likewise.
14297 (llrint_upward_test_data): Likewise.
14298 (llrint_test_upward): Likewise.
14299 (rint_test_data): Merge in per-rounding-mode tests and results
14300 from rint_tonearest_test_data, rint_towardzero_test_data,
14301 rint_downward_test_data and rint_upward_test_data. Add
14302 per-rounding-mode results for tests not in those arrays.
14303 (rint_test): Use ALL_RM_TEST.
14304 (rint_tonearest_test_data): Remove.
14305 (rint_test_tonearest): Likewise.
14306 (rint_towardzero_test_data): Likewise.
14307 (rint_test_towardzero): Likewise.
14308 (rint_downward_test_data): Likewise.
14309 (rint_test_downward): Likewise.
14310 (rint_upward_test_data): Likewise.
14311 (rint_test_upward): Likewise.
14312 (main): Don't call removed functions.
14313
5006148e
RM
143142014-03-14 Roland McGrath <roland@hack.frob.com>
14315
14316 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14317 "Compiled on ..." crapola. It is anti-useful.
14318
d6fe5e58
JM
143192014-03-14 Joseph Myers <joseph@codesourcery.com>
14320
14321 * scripts/evaluate-test.sh: Handle fourth argument to determine
14322 whether test run should stop on failure.
14323 * Makeconfig (stop-on-test-failure): New variable.
14324 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14325 $(stop-on-test-failure).
14326 * Makefile (tests): Give a summary of results from testing and
14327 exit with failure status if they include an ERROR or FAIL.
14328 (xtests): Likewise.
14329 * manual/install.texi (Configuring and compiling): Mention
14330 stop-on-test-failure=y.
14331 * INSTALL: Regenerated.
14332
498a2233
RM
143332014-03-14 Roland McGrath <roland@hack.frob.com>
14334
22dbc19d
RM
14335 * scripts/versionlist.awk: New file.
14336 * Makerules [$(build-shared) = yes]
14337 (postclean-generated): Add Versions.def, not Versions.def.v and
14338 Versions.def.v.i.
14339 ($(common-objpfx)Versions.def.v.i): Target removed.
14340 ($(common-objpfx)Versions.def): New target.
14341 ($(common-objpfx)Versions.all): Depend on that rather that
14342 $(common-objpfx)Versions.def.v.
14343 * Versions.def: File removed.
14344
498a2233
RM
14345 * Makeconfig (+gccwarn): Add -Wundef.
14346 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14347 a dl-sysdep.h breaking its contract.
14348 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14349 * include/stackinfo.h: New file.
14350 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14351 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14352 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14353 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14354 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14355 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14356 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14357 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14358 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14359 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14360 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14361 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14362 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14363 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14364 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14365
c7de5025
AZ
143662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367
14368 [BZ #16707]
14369 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14370 implementation.
14371 * math/libm-test.inc (round_test_data): Add more tests.
14372
98fb27a3
AZ
14373 [BZ #16706]
14374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14375 implementation.
14376 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14377
374f7f61
AZ
14378 [BZ #16701]
14379 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14380 implementation.
14381 * math/libm-test.inc (ceil_test_data): Add more tests.
14382
4655c291
AZ
14383 * math/libm-test.inc (trunc_test_data): Add more tests related to
14384 BZ#16414.
14385
d7329d4b
RM
143862014-03-14 Roland McGrath <roland@hack.frob.com>
14387
14388 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14389 with #if rather than #ifdef.
14390 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14391
aa4de9ce
L
143922014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14395 first. Disable AVX-512 GCC support if assembler doesn't support
14396 it.
14397 * sysdeps/x86_64/configure: Regenerated.
14398
2e03fae7
CD
143992014-03-13 Carlos O'Donell <carlos@redhat.com>
14400
14401 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14402 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14403 (__old_pthread_attr_setstack): Likewise.
14404 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14405 [!_STACK_GROWS_DOWN]: Likewise.
14406
43ca83ec
MF
144072014-03-13 Mike Frysinger <vapier@gentoo.org>
14408
14409 * config.make.in (have-bash2): Delete.
14410 * configure.ac (libc_cv_have_bash2): Delete.
14411 * configure: Regenerate.
14412 * elf/Makefile (common-ldd-rewrite): Rename to ...
14413 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14414 (sh-ldd-rewrite): Delete.
14415 (bash-ldd-rewrite): Delete.
14416 (have-bash2): Delete checks.
57f41c40
AS
14417 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14418 ldd-rewrite.
c66e48b4
MF
14419
14420 * config.make.in (have-ksh): Delete.
14421 (KSH): Delete.
14422 * configure.ac (libc_cv_have_ksh): Delete.
14423 * configure: Regenerate.
14424
b93834ef
MF
14425 * elf/Makefile: Delete $(have-ksh) check.
14426 ($(objpfx)sotruss): Change KSH to BASH.
14427 * elf/sotruss.ksh: Rename to ...
14428 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14429 function style to match POSIX. Drop ksh vim mode setting.
14430
f3a4632a
MF
14431 * manual/time.texi (Specifying the Time Zone with TZ): Change
14432 Tuesday to Thursday.
14433
5896c8bd
MF
14434 * debug/tst-longjmp_chk2.c: Update header comment.
14435 (stackoverflow_handler): Add comment. Call assert on pass value.
14436
2d63a517
IZ
144372014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14438
7e54fd04 14439 [BZ #16194]
2d63a517
IZ
14440 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14441 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14442 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14443 (La_x86_64_vector): Add zmm.
14444 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14445 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14446 ($(objpfx)tst-audit10): New target.
14447 ($(objpfx)tst-audit10.out): Likewise.
14448 (tst-audit10-ENV): New.
14449 (AVX512-CFLAGS): Likewise.
14450 (CFLAGS-tst-audit10.c): Likewise.
14451 (CFLAGS-tst-auditmod10a.c): Likewise.
14452 (CFLAGS-tst-auditmod10b.c): Likewise.
14453 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14454 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14455 * sysdeps/x86_64/configure: Regenerated.
14456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14457 AVX-512 zmm register support.
14458 (_dl_x86_64_save_sse): Likewise.
14459 (_dl_x86_64_restore_sse): Likewise.
14460 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14461 size vector registers.
14462 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14463 (ZMM_SIZE): Likewise.
14464 * sysdeps/x86_64/tst-audit10.c: New file.
14465 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14466 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14467
44c4e5d5
RM
144682014-03-13 Roland McGrath <roland@hack.frob.com>
14469
14470 * configure.ac (HAVE_EHDR_START): New check.
14471 * configure: Regenerated.
14472 * config.h.in (HAVE_EHDR_START): New #undef.
14473 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14474 assuming the lowest-addressed segment maps the start of the file.
14475
acd6e389
JM
144762014-03-13 Joseph Myers <joseph@codesourcery.com>
14477
14478 * INSTALL: Regenerated.
14479
6f918f36
WN
144802014-03-13 Will Newton <will.newton@linaro.org>
14481
14482 * manual/setjmp.texi (System V contexts): Improve
14483 clarity and grammar of documentation.
14484
798212a0
PP
144852014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14486
14487 [BZ #16381]
798212a0 14488 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14489 (tests-pie): Add tst-pie2.
798212a0
PP
14490 * elf/tst-pie2.c: New file.
14491 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14492 for ET_EXEC.
14493 * elf/rtld.c (map_doit): Load executable as lt_executable.
14494 (dl_main): Likewise.
14495
abe6d90c
JM
144962014-03-12 Joseph Myers <joseph@codesourcery.com>
14497
14498 [BZ #16642]
14499 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14500 (__ASSUME_PSELECT): Undefine.
14501
dd3946c6
AZ
145022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14503
14504 [BZ #16689]
14505 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14506 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14507 static build.
14508 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14509 selector for static builds.
14510
c44496df
SP
145112014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14512
14513 [BZ #16695]
14514 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14515 key in the buffer.
14516
27c7220a
AZ
145172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14518
57f41c40
AS
14519 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14520 IFUNC selector for static builds.
27c7220a 14521
600fa361
JM
145222014-03-11 Joseph Myers <joseph@codesourcery.com>
14523
76c96cf7
JM
14524 * sysdeps/mips/math_private.h [__mips_hard_float]
14525 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14526 libc_feresetround_mips_ctx.
14527 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14528 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14529 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14530
600fa361
JM
14531 [BZ #16677]
14532 * math/s_nextafter.c (__nextafter): Do not return value from
14533 overflowing computation.
14534 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14535 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14536 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14537 Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14539 Likewise.
14540 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14541 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14542
d7706c32
RM
145432014-03-11 Roland McGrath <roland@hack.frob.com>
14544
14545 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14546 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14547 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14548 the new mov targetting sp.
14549
4facea47
AZ
145502014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14551
14552 [BZ #16683]
14553 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14554 Define it for static builds as well.
14555 (NO_BZERO_IMPL): Likewise.
14556
e65caf1f
VR
145572014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14558
14559 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14560 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14561 multiarch strspn for PPC64.
14562 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14563 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14565 (__libc_ifunc_impl_list): Likewise.
14566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14567 multiarch optimizations
14568 * string/strspn.c (strspn): Using macro to redefine symbol name.
14569
ba9cc071
AZ
145702014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14571 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14572
14573 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14574 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14575 multiarch strncat for PPC64.
14576 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14577 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14579 (__libc_ifunc_impl_list): Likewise.
14580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14581 multiarch optimizations
14582
8b4ff974
SP
145832014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14584
14585 [BZ #16639]
14586 * nscd/nscd.service: Make service type forking.
14587
54b46a4b
AZ
145882014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14589
14590 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14591 sign in non default rounding modes.
14592 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14593
e9996ef7
JM
145942014-03-08 Joseph Myers <joseph@codesourcery.com>
14595
14596 * math/libm-test.inc (ALL_RM_TEST): New macro.
14597 (ceil_test): Use ALL_RM_TEST.
14598 (cimag_test): Likewise.
14599 (conj_test): Likewise.
14600 (copysign_test): Likewise.
14601 (cproj_test): Likewise.
14602 (creal_test): Likewise.
14603 (fabs_test): Likewise.
14604 (floor_test): Likewise.
14605 (fmax_test): Likewise.
14606 (fmin_test): Likewise.
14607 (fmod_test): Likewise.
14608 (fpclassify_test): Likewise.
14609 (frexp_test): Likewise.
14610 (ilogb_test): Likewise.
14611 (isfinite_test): Likewise.
14612 (finite_test): Likewise.
14613 (isgreater_test): Likewise.
14614 (isgreaterequal_test): Likewise.
14615 (isinf_test): Likewise.
14616 (isless_test): Likewise.
14617 (islessequal_test): Likewise.
14618 (islessgreater_test): Likewise.
14619 (isnan_test): Likewise.
14620 (isnormal_test): Likewise.
14621 (issignaling_test): Likewise.
14622 (isunordered_test): Likewise.
14623 (logb_test): Likewise.
14624 (logb_downward_test_data): Remove.
14625 (logb_test_downward): Likewise.
14626 (lround_test): Use ALL_RM_TEST.
14627 (llround_test): Likewise.
14628 (modf_test): Likewise.
14629 (nexttoward_test): Likewise.
14630 (remainder_test): Likewise.
14631 (drem_test): Likewise.
14632 (remainder_tonearest_test_data): Likewise.
14633 (remainder_test_tonearest): Likewise.
14634 (drem_test_tonearest): Likewise.
14635 (remainder_towardzero_test_data): Likewise.
14636 (remainder_test_towardzero): Likewise.
14637 (drem_test_towardzero): Likewise.
14638 (remainder_downward_test_data): Likewise.
14639 (remainder_test_downward): Likewise.
14640 (drem_test_downward): Likewise.
14641 (remainder_upward_test_data): Likewise.
14642 (remainder_test_upward): Likewise.
14643 (drem_test_upward): Likewise.
14644 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14645 (round_test): Use ALL_RM_TEST.
14646 (signbit_test): Likewise.
14647 (trunc_test): Likewise.
14648 (significand_test): Likewise.
14649 (main): Don't call removed functions.
14650
bc61d27c
JM
146512014-03-07 Joseph Myers <joseph@codesourcery.com>
14652
5c780849
JM
14653 [BZ #16674]
14654 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14655 || __USE_XOPEN2K8].
14656 (ILL_ILLOPN): Likewise.
14657 (ILL_ILLADR): Likewise.
14658 (ILL_ILLTRP): Likewise.
14659 (ILL_PRVOPC): Likewise.
14660 (ILL_PRVREG): Likewise.
14661 (ILL_COPROC): Likewise.
14662 (ILL_BADSTK): Likewise.
14663 (FPE_INTDIV): Likewise.
14664 (FPE_INTOVF): Likewise.
14665 (FPE_FLTDIV): Likewise.
14666 (FPE_FLTOVF): Likewise.
14667 (FPE_FLTUND): Likewise.
14668 (FPE_FLTRES): Likewise.
14669 (FPE_FLTINV): Likewise.
14670 (FPE_FLTSUB): Likewise.
14671 (SEGV_MAPERR): Likewise.
14672 (SEGV_ACCERR): Likewise.
14673 (BUS_ADRALN): Likewise.
14674 (BUS_ADRERR): Likewise.
14675 (BUS_OBJERR): Likewise.
14676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14677 (TRAP_TRACE): Likewise.
14678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14679 __USE_XOPEN2K8].
14680 (CLD_KILLED): Likewise.
14681 (CLD_DUMPED): Likewise.
14682 (CLD_TRAPPED): Likewise.
14683 (CLD_STOPPED): Likewise.
14684 (CLD_CONTINUED): Likewise.
14685 (POLL_IN): Likewise.
14686 (POLL_OUT): Likewise.
14687 (POLL_MSG): Likewise.
14688 (POLL_ERR): Likewise.
14689 (POLL_PRI): Likewise.
14690 (POLL_HUP): Likewise.
14691 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14692 Likewise.
14693 (ILL_ILLOPN): Likewise.
14694 (ILL_ILLADR): Likewise.
14695 (ILL_ILLTRP): Likewise.
14696 (ILL_PRVOPC): Likewise.
14697 (ILL_PRVREG): Likewise.
14698 (ILL_COPROC): Likewise.
14699 (ILL_BADSTK): Likewise.
14700 (FPE_INTDIV): Likewise.
14701 (FPE_INTOVF): Likewise.
14702 (FPE_FLTDIV): Likewise.
14703 (FPE_FLTOVF): Likewise.
14704 (FPE_FLTUND): Likewise.
14705 (FPE_FLTRES): Likewise.
14706 (FPE_FLTINV): Likewise.
14707 (FPE_FLTSUB): Likewise.
14708 (SEGV_MAPERR): Likewise.
14709 (SEGV_ACCERR): Likewise.
14710 (BUS_ADRALN): Likewise.
14711 (BUS_ADRERR): Likewise.
14712 (BUS_OBJERR): Likewise.
14713 (BUS_MCEERR_AR): Likewise.
14714 (BUS_MCEERR_AO): Likewise.
14715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14716 (TRAP_TRACE): Likewise.
14717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14718 __USE_XOPEN2K8].
14719 (CLD_KILLED): Likewise.
14720 (CLD_DUMPED): Likewise.
14721 (CLD_TRAPPED): Likewise.
14722 (CLD_STOPPED): Likewise.
14723 (CLD_CONTINUED): Likewise.
14724 (POLL_IN): Likewise.
14725 (POLL_OUT): Likewise.
14726 (POLL_MSG): Likewise.
14727 (POLL_ERR): Likewise.
14728 (POLL_PRI): Likewise.
14729 (POLL_HUP): Likewise.
14730 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14731 (ILL_ILLOPN): Likewise.
14732 (ILL_ILLADR): Likewise.
14733 (ILL_ILLTRP): Likewise.
14734 (ILL_PRVOPC): Likewise.
14735 (ILL_PRVREG): Likewise.
14736 (ILL_COPROC): Likewise.
14737 (ILL_BADSTK): Likewise.
14738 (FPE_INTDIV): Likewise.
14739 (FPE_INTOVF): Likewise.
14740 (FPE_FLTDIV): Likewise.
14741 (FPE_FLTOVF): Likewise.
14742 (FPE_FLTUND): Likewise.
14743 (FPE_FLTRES): Likewise.
14744 (FPE_FLTINV): Likewise.
14745 (FPE_FLTSUB): Likewise.
14746 (SEGV_MAPERR): Likewise.
14747 (SEGV_ACCERR): Likewise.
14748 (BUS_ADRALN): Likewise.
14749 (BUS_ADRERR): Likewise.
14750 (BUS_OBJERR): Likewise.
14751 (BUS_MCEERR_AR): Likewise.
14752 (BUS_MCEERR_AO): Likewise.
14753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14754 (TRAP_TRACE): Likewise.
14755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14756 __USE_XOPEN2K8].
14757 (CLD_KILLED): Likewise.
14758 (CLD_DUMPED): Likewise.
14759 (CLD_TRAPPED): Likewise.
14760 (CLD_STOPPED): Likewise.
14761 (CLD_CONTINUED): Likewise.
14762 (POLL_IN): Likewise.
14763 (POLL_OUT): Likewise.
14764 (POLL_MSG): Likewise.
14765 (POLL_ERR): Likewise.
14766 (POLL_PRI): Likewise.
14767 (POLL_HUP): Likewise.
14768 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14769 Likewise.
14770 (ILL_ILLOPN): Likewise.
14771 (ILL_ILLADR): Likewise.
14772 (ILL_ILLTRP): Likewise.
14773 (ILL_PRVOPC): Likewise.
14774 (ILL_PRVREG): Likewise.
14775 (ILL_COPROC): Likewise.
14776 (ILL_BADSTK): Likewise.
14777 (ILL_BADIADDR): Likewise.
14778 (ILL_BREAK): Likewise.
14779 (FPE_INTDIV): Likewise.
14780 (FPE_INTOVF): Likewise.
14781 (FPE_FLTDIV): Likewise.
14782 (FPE_FLTOVF): Likewise.
14783 (FPE_FLTUND): Likewise.
14784 (FPE_FLTRES): Likewise.
14785 (FPE_FLTINV): Likewise.
14786 (FPE_FLTSUB): Likewise.
14787 (FPE_DECOVF): Likewise.
14788 (FPE_DECDIV): Likewise.
14789 (FPE_DECERR): Likewise.
14790 (FPE_INVASC): Likewise.
14791 (FPE_INVDEC): Likewise.
14792 (SEGV_MAPERR): Likewise.
14793 (SEGV_ACCERR): Likewise.
14794 (SEGV_PSTKOVF): Likewise.
14795 (BUS_ADRALN): Likewise.
14796 (BUS_ADRERR): Likewise.
14797 (BUS_OBJERR): Likewise.
14798 (BUS_MCEERR_AR): Likewise.
14799 (BUS_MCEERR_AO): Likewise.
14800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14801 (TRAP_TRACE): Likewise.
14802 (TRAP_BRANCH): Likewise.
14803 (TRAP_HWBKPT): Likewise.
14804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14805 __USE_XOPEN2K8].
14806 (CLD_KILLED): Likewise.
14807 (CLD_DUMPED): Likewise.
14808 (CLD_TRAPPED): Likewise.
14809 (CLD_STOPPED): Likewise.
14810 (CLD_CONTINUED): Likewise.
14811 (POLL_IN): Likewise.
14812 (POLL_OUT): Likewise.
14813 (POLL_MSG): Likewise.
14814 (POLL_ERR): Likewise.
14815 (POLL_PRI): Likewise.
14816 (POLL_HUP): Likewise.
14817 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14818 (ILL_ILLOPN): Likewise.
14819 (ILL_ILLADR): Likewise.
14820 (ILL_ILLTRP): Likewise.
14821 (ILL_PRVOPC): Likewise.
14822 (ILL_PRVREG): Likewise.
14823 (ILL_COPROC): Likewise.
14824 (ILL_BADSTK): Likewise.
14825 (FPE_INTDIV): Likewise.
14826 (FPE_INTOVF): Likewise.
14827 (FPE_FLTDIV): Likewise.
14828 (FPE_FLTOVF): Likewise.
14829 (FPE_FLTUND): Likewise.
14830 (FPE_FLTRES): Likewise.
14831 (FPE_FLTINV): Likewise.
14832 (FPE_FLTSUB): Likewise.
14833 (SEGV_MAPERR): Likewise.
14834 (SEGV_ACCERR): Likewise.
14835 (BUS_ADRALN): Likewise.
14836 (BUS_ADRERR): Likewise.
14837 (BUS_OBJERR): Likewise.
14838 (BUS_MCEERR_AR): Likewise.
14839 (BUS_MCEERR_AO): Likewise.
14840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14841 (TRAP_TRACE): Likewise.
14842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14843 __USE_XOPEN2K8].
14844 (CLD_KILLED): Likewise.
14845 (CLD_DUMPED): Likewise.
14846 (CLD_TRAPPED): Likewise.
14847 (CLD_STOPPED): Likewise.
14848 (CLD_CONTINUED): Likewise.
14849 (POLL_IN): Likewise.
14850 (POLL_OUT): Likewise.
14851 (POLL_MSG): Likewise.
14852 (POLL_ERR): Likewise.
14853 (POLL_PRI): Likewise.
14854 (POLL_HUP): Likewise.
14855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14856 (ILL_ILLOPN): Likewise.
14857 (ILL_ILLADR): Likewise.
14858 (ILL_ILLTRP): Likewise.
14859 (ILL_PRVOPC): Likewise.
14860 (ILL_PRVREG): Likewise.
14861 (ILL_COPROC): Likewise.
14862 (ILL_BADSTK): Likewise.
14863 (FPE_INTDIV): Likewise.
14864 (FPE_INTOVF): Likewise.
14865 (FPE_FLTDIV): Likewise.
14866 (FPE_FLTOVF): Likewise.
14867 (FPE_FLTUND): Likewise.
14868 (FPE_FLTRES): Likewise.
14869 (FPE_FLTINV): Likewise.
14870 (FPE_FLTSUB): Likewise.
14871 (SEGV_MAPERR): Likewise.
14872 (SEGV_ACCERR): Likewise.
14873 (BUS_ADRALN): Likewise.
14874 (BUS_ADRERR): Likewise.
14875 (BUS_OBJERR): Likewise.
14876 (BUS_MCEERR_AR): Likewise.
14877 (BUS_MCEERR_AO): Likewise.
14878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14879 (TRAP_TRACE): Likewise.
14880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14881 __USE_XOPEN2K8].
14882 (CLD_KILLED): Likewise.
14883 (CLD_DUMPED): Likewise.
14884 (CLD_TRAPPED): Likewise.
14885 (CLD_STOPPED): Likewise.
14886 (CLD_CONTINUED): Likewise.
14887 (POLL_IN): Likewise.
14888 (POLL_OUT): Likewise.
14889 (POLL_MSG): Likewise.
14890 (POLL_ERR): Likewise.
14891 (POLL_PRI): Likewise.
14892 (POLL_HUP): Likewise.
14893 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14894 (ILL_ILLOPN): Likewise.
14895 (ILL_ILLADR): Likewise.
14896 (ILL_ILLTRP): Likewise.
14897 (ILL_PRVOPC): Likewise.
14898 (ILL_PRVREG): Likewise.
14899 (ILL_COPROC): Likewise.
14900 (ILL_BADSTK): Likewise.
14901 (FPE_INTDIV): Likewise.
14902 (FPE_INTOVF): Likewise.
14903 (FPE_FLTDIV): Likewise.
14904 (FPE_FLTOVF): Likewise.
14905 (FPE_FLTUND): Likewise.
14906 (FPE_FLTRES): Likewise.
14907 (FPE_FLTINV): Likewise.
14908 (FPE_FLTSUB): Likewise.
14909 (SEGV_MAPERR): Likewise.
14910 (SEGV_ACCERR): Likewise.
14911 (BUS_ADRALN): Likewise.
14912 (BUS_ADRERR): Likewise.
14913 (BUS_OBJERR): Likewise.
14914 (BUS_MCEERR_AR): Likewise.
14915 (BUS_MCEERR_AO): Likewise.
14916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14917 (TRAP_TRACE): Likewise.
14918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14919 __USE_XOPEN2K8].
14920 (CLD_KILLED): Likewise.
14921 (CLD_DUMPED): Likewise.
14922 (CLD_TRAPPED): Likewise.
14923 (CLD_STOPPED): Likewise.
14924 (CLD_CONTINUED): Likewise.
14925 (POLL_IN): Likewise.
14926 (POLL_OUT): Likewise.
14927 (POLL_MSG): Likewise.
14928 (POLL_ERR): Likewise.
14929 (POLL_PRI): Likewise.
14930 (POLL_HUP): Likewise.
14931 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14932 (ILL_ILLOPN): Likewise.
14933 (ILL_ILLADR): Likewise.
14934 (ILL_ILLTRP): Likewise.
14935 (ILL_PRVOPC): Likewise.
14936 (ILL_PRVREG): Likewise.
14937 (ILL_COPROC): Likewise.
14938 (ILL_BADSTK): Likewise.
14939 (ILL_DBLFLT): Likewise.
14940 (ILL_HARDWALL): Likewise.
14941 (FPE_INTDIV): Likewise.
14942 (FPE_INTOVF): Likewise.
14943 (FPE_FLTDIV): Likewise.
14944 (FPE_FLTOVF): Likewise.
14945 (FPE_FLTUND): Likewise.
14946 (FPE_FLTRES): Likewise.
14947 (FPE_FLTINV): Likewise.
14948 (FPE_FLTSUB): Likewise.
14949 (SEGV_MAPERR): Likewise.
14950 (SEGV_ACCERR): Likewise.
14951 (BUS_ADRALN): Likewise.
14952 (BUS_ADRERR): Likewise.
14953 (BUS_OBJERR): Likewise.
14954 (BUS_MCEERR_AR): Likewise.
14955 (BUS_MCEERR_AO): Likewise.
14956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14957 (TRAP_TRACE): Likewise.
14958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14959 __USE_XOPEN2K8].
14960 (CLD_KILLED): Likewise.
14961 (CLD_DUMPED): Likewise.
14962 (CLD_TRAPPED): Likewise.
14963 (CLD_STOPPED): Likewise.
14964 (CLD_CONTINUED): Likewise.
14965 (POLL_IN): Likewise.
14966 (POLL_OUT): Likewise.
14967 (POLL_MSG): Likewise.
14968 (POLL_ERR): Likewise.
14969 (POLL_PRI): Likewise.
14970 (POLL_HUP): Likewise.
14971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14972 (ILL_ILLOPN): Likewise.
14973 (ILL_ILLADR): Likewise.
14974 (ILL_ILLTRP): Likewise.
14975 (ILL_PRVOPC): Likewise.
14976 (ILL_PRVREG): Likewise.
14977 (ILL_COPROC): Likewise.
14978 (ILL_BADSTK): Likewise.
14979 (FPE_INTDIV): Likewise.
14980 (FPE_INTOVF): Likewise.
14981 (FPE_FLTDIV): Likewise.
14982 (FPE_FLTOVF): Likewise.
14983 (FPE_FLTUND): Likewise.
14984 (FPE_FLTRES): Likewise.
14985 (FPE_FLTINV): Likewise.
14986 (FPE_FLTSUB): Likewise.
14987 (SEGV_MAPERR): Likewise.
14988 (SEGV_ACCERR): Likewise.
14989 (BUS_ADRALN): Likewise.
14990 (BUS_ADRERR): Likewise.
14991 (BUS_OBJERR): Likewise.
14992 (BUS_MCEERR_AR): Likewise.
14993 (BUS_MCEERR_AO): Likewise.
14994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14995 (TRAP_TRACE): Likewise.
14996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14997 __USE_XOPEN2K8].
14998 (CLD_KILLED): Likewise.
14999 (CLD_DUMPED): Likewise.
15000 (CLD_TRAPPED): Likewise.
15001 (CLD_STOPPED): Likewise.
15002 (CLD_CONTINUED): Likewise.
15003 (POLL_IN): Likewise.
15004 (POLL_OUT): Likewise.
15005 (POLL_MSG): Likewise.
15006 (POLL_ERR): Likewise.
15007 (POLL_PRI): Likewise.
15008 (POLL_HUP): Likewise.
15009 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15011
bc61d27c
JM
15012 [BZ #16670]
15013 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15014 before #include of <time.h>.
15015 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15016 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15017 (test-xfail-UNIX98/sched.h/conform): Likewise.
15018
302949e2
MS
150192014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15020
15021 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15022 error absence of trapping exception support.
15023 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15024
a00f522a
JM
150252014-03-07 Joseph Myers <joseph@codesourcery.com>
15026
6f99f280
JM
15027 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15028 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15029 * timezone/Makefile (testdata): Move definition above include of
15030 Rules.
15031 (test-zones): New variable.
15032 (tests-special): Add zone files.
15033 (build-testdata): Use $(evaluate-test).
15034
0b20a9e8
JM
15035 * elf/Makefile (tests-special): Rename tests to end with .out.
15036 ($(objpfx)noload-mem): Likewise.
15037 ($(objpfx)tst-leaks1-mem): Likewise.
15038 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15039 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15040 $(objpfx)test-iconvconfig.out.
15041 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15042 set -e inside subshell and redirect output to file.
15043 * iconvdata/Makefile (generated): Rename tests to end with .out.
15044 Correct type.
15045 (tests-special): Rename tests to end with .out.
15046 ($(objpfx)mtrace-tst-loading): Likewise.
15047 * intl/Makefile (generated): Likewise.
15048 (tests-special): Likewise.
15049 ($(objpfx)mtrace-tst-gettext): Likewise.
15050 * misc/Makefile (generated): Likewise.
15051 (tests-special): Likewise.
15052 ($(objpfx)tst-error1-mem): Likewise.
15053 * nptl/Makefile (tests-special): Likewise.
15054 ($(objpfx)tst-stack3-mem): Likewise.
15055 (generated): Likewise.
15056 * posix/Makefile (generated): Likewise.
15057 (tests-special): Likewise.
15058 (xtests-special): Likewise.
15059 ($(objpfx)tst-fnmatch-mem): Likewise.
15060 ($(objpfx)bug-regex2-mem): Likewise.
15061 ($(objpfx)bug-regex14-mem): Likewise.
15062 ($(objpfx)bug-regex21-mem): Likewise.
15063 ($(objpfx)bug-regex31-mem): Likewise.
15064 ($(objpfx)tst-vfork3-mem): Likewise.
15065 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15066 ($(objpfx)tst-pcre-mem): Likewise.
15067 ($(objpfx)tst-boost-mem): Likewise.
15068 ($(objpfx)bug-ga2-mem): Likewise.
15069 ($(objpfx)bug-glob2-mem): Likewise.
15070 * resolv/Makefile (generate): Likewise.
15071 (tests-special): Likewise.
15072 (xtests-special): Likewise.
15073 (generated): Likewise.
15074 ($(objpfx)mtrace-tst-leaks): Likewise.
15075 ($(objpfx)mtrace-tst-leaks2): Likewise.
15076
265d52ab
JM
15077 * scripts/merge-test-results.sh: New file.
15078 * Makefile (tests-special-notdir): New variable.
15079 (tests): Run merge-test-results.sh.
15080 (xtests): Likewise.
15081 * Rules (tests-special-notdir): New variable.
15082 (xtests-special-notdir): Likewise.
15083 (tests): Run merge-test-results.sh
15084 (xtests): Likewise.
15085
54ee292d
JM
15086 * Makeconfig (test-xfail-name): New variable.
15087 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15088 compute variable name for expected failures.
15089 * conform/Makefile (conformtest-headers-data): New variable.
15090 (conformtest-standards): Likewise.
15091 (conformtest-headers-ISO): Likewise.
15092 (conformtest-headers-ISO99): Likewise.
15093 (conformtest-headers-ISO11): Likewise.
15094 (conformtest-headers-POSIX): Likewise.
15095 (conformtest-headers-XPG3): Likewise.
15096 (conformtest-headers-XPG4): Likewise.
15097 (conformtest-headers-UNIX98): Likewise.
15098 (conformtest-headers-XOPEN2K): Likewise.
15099 (conformtest-headers-POSIX2008): Likewise.
15100 (conformtest-headers-XOPEN2K8): Likewise.
15101 (conformtest-header-list-base): Likewise.
15102 (conformtest-header-list-tests): Likewise.
15103 (conformtest-header-base): Likewise.
15104 (conformtest-header-tests): Likewise.
15105 (tests-special): Add $(conformtest-header-list-tests). If
15106 [$(fast-check) && !$(cross-compiling)], add
15107 $(conformtest-header-tests) instead of
15108 $(objpfx)run-conformtest.out.
15109 (generated): Add $(conformtest-header-list-base). If
15110 [$(fast-check) && !$(cross-compiling)], add
15111 $(conformtest-header-base). Remove previous setting.
15112 ($(conformtest-header-list-tests)): New target.
15113 (test-xfail-run-conformtest): Remove variable.
15114 ($(objpfx)run-conformtest.out): Remove target.
15115 (test-xfail-ISO11/complex.h/conform): New variable.
15116 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15117 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15118 (test-xfail-XPG3/varargs.h/conform): Likewise.
15119 (test-xfail-XPG4/varargs.h/conform): Likewise.
15120 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15121 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15122 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15123 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15124 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15125 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15126 (test-xfail-XPG3/ftw.h/conform): Likewise.
15127 (test-xfail-XPG3/grp.h/conform): Likewise.
15128 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15129 (test-xfail-XPG3/limits.h/conform): Likewise.
15130 (test-xfail-XPG3/pwd.h/conform): Likewise.
15131 (test-xfail-XPG3/search.h/conform): Likewise.
15132 (test-xfail-XPG3/signal.h/conform): Likewise.
15133 (test-xfail-XPG3/stdio.h/conform): Likewise.
15134 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15135 (test-xfail-XPG3/string.h/conform): Likewise.
15136 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15137 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15138 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15139 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15140 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15141 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15142 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15143 (test-xfail-XPG3/termios.h/conform): Likewise.
15144 (test-xfail-XPG3/time.h/conform): Likewise.
15145 (test-xfail-XPG3/unistd.h/conform): Likewise.
15146 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15147 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15148 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15149 (test-xfail-XPG4/netdb.h/conform): Likewise.
15150 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15151 (test-xfail-XPG4/signal.h/conform): Likewise.
15152 (test-xfail-XPG4/stdio.h/conform): Likewise.
15153 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15154 (test-xfail-XPG4/stropts.h/conform): Likewise.
15155 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15156 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15157 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15158 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15159 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15160 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15161 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15162 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15163 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15164 (test-xfail-XPG4/termios.h/conform): Likewise.
15165 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15166 (test-xfail-XPG4/unistd.h/conform): Likewise.
15167 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15168 (test-xfail-POSIX/sched.h/conform): Likewise.
15169 (test-xfail-POSIX/signal.h/conform): Likewise.
15170 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15171 (test-xfail-POSIX/tar.h/conform): Likewise.
15172 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15173 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15174 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15175 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15176 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15177 (test-xfail-UNIX98/sched.h/conform): Likewise.
15178 (test-xfail-UNIX98/signal.h/conform): Likewise.
15179 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15180 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15181 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15182 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15183 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15184 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15185 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15186 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15187 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15188 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15189 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15190 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15191 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15192 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15193 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15194 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15195 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15196 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15197 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15198 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15199 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15200 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15201 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15202 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15203 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15204 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15205 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15206 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15207 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15208 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15209 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15210 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15211 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15212 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15213 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15214 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15215 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15216 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15217 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15218 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15219 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15220 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15221 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15222 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15223 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15224 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15225 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15226 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15227 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15228 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15229 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15230 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15231 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15232 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15233 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15234 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15235 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15236 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15237 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15238 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15239 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15240 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15241 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15242 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15243 (conformtest-cc-flags): Likewise.
15244 ($(conformtest-header-tests): New target.
15245 * conform/check-header-lists.sh: New file.
15246 * conform/run-conformtest.sh: Remove.
15247
a00f522a
JM
15248 * conform/conformtest.pl: Allow ' and \ in values given for
15249 constants.
15250 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15251 inclusion.
15252 [POSIX] (sys/types.h): Likewise.
15253 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15254 inclusion.
15255 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15256 inclusion.
15257 * conform/data/signal.h-data (SIGIO): Remove expectation.
15258 [XPG3] (SIGBUS): Do not expect.
15259 [POSIX || XPG3] (SIGPOLL): Likewise.
15260 [POSIX || XPG3] (SIGPROF): Likewise.
15261 [POSIX || XPG3] (SIGSYS): Likewise.
15262 [XPG3] (SIGTRAP): Likewise.
15263 [POSIX || XPG3] (SIGURG): Likewise.
15264 [POSIX || XPG3] (SIGVTALRM): Likewise.
15265 [POSIX || XPG3] (SIGXCPU): Likewise.
15266 [POSIX || XPG3] (SIGXFSZ): Likewise.
15267 [POSIX] (SA_SIGINFO): Expect.
15268 [XPG3] (siginfo_t): Do not expect type or contents.
15269 [POSIX] (si_pid): Do not expect element.
15270 [POSIX] (si_uid): Likewise.
15271 [POSIX] (si_addr): Likewise.
15272 [POSIX] (si_status): Likewise.
15273 [POSIX] (si_band): Likewise.
15274 [XPG4] (si_value): Likewise.
15275 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15276 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15277 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15278 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15279 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15280 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15281 [POSIX || XPG3] (ILL_COPROC): Likewise.
15282 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15283 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15284 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15285 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15286 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15287 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15288 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15289 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15290 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15291 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15292 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15293 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15294 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15295 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15296 [POSIX || XPG3] (CLD_EXITED): Likewise.
15297 [POSIX || XPG3] (CLD_KILLED): Likewise.
15298 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15299 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15300 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15301 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15302 [POSIX || XPG3] (POLL_IN): Likewise.
15303 [POSIX || XPG3] (POLL_OUT): Likewise.
15304 [POSIX || XPG3] (POLL_MSG): Likewise.
15305 [POSIX || XPG3] (POLL_ERR): Likewise.
15306 [POSIX || XPG3] (POLL_PRI): Likewise.
15307 [POSIX || XPG3] (POLL_HUP): Likewise.
15308 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15309 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15310 (SIG*): Do not allow.
15311 [XPG3] (si_*): Likewise.
15312 [XPG3] (SI_*): Likewise.
15313 [XPG3 || XPG4] (sigev_*): Likewise.
15314 [XPG3 || XPG4] (SIGEV_*): Likewise.
15315 [XPG3 || XPG4] (sival_*): Likewise.
15316 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15317 [POSIX || XPG3] (BUS_*): Likewise.
15318 [POSIX || XPG3] (CLD_*): Likewise.
15319 [POSIX || XPG3] (FPE_*): Likewise.
15320 [POSIX || XPG3] (ILL_*): Likewise.
15321 [POSIX || XPG3] (POLL_*): Likewise.
15322 [POSIX || XPG3] (SEGV_*): Likewise.
15323 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15324 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15325 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15326 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15327 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15328 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15329 Specify type and value.
15330 (TVERSLEN): Likewise.
15331 (REGTYPE): Likewise.
15332 (AREGTYPE): Likewise.
15333 (LNKTYPE): Likewise.
15334 (SYMTYPE): Likewise.
15335 (CHRTYPE): Likewise.
15336 (BLKTYPE): Likewise.
15337 (DIRTYPE): Likewise.
15338 (FIFOTYPE): Likewise.
15339 (CONTTYPE): Likewise.
15340 (TSUID): Likewise.
15341 (TSGID): Likewise.
15342 (TSVTX): Likewise.
15343 (TUREAD): Likewise.
15344 (TUWRITE): Likewise.
15345 (TUEXEC): Likewise.
15346 (TGREAD): Likewise.
15347 (TGWRITE): Likewise.
15348 (TGEXEC): Likewise.
15349 (TOREAD): Likewise.
15350 (TOWRITE): Likewise.
15351 (TOEXEC): Likewise.
15352 [POSIX] (TSVTX): Expect constant.
15353
aa97dee1
JM
153542014-03-06 Joseph Myers <joseph@codesourcery.com>
15355
f214606a
JM
15356 * Makefile (tests): Change dependencies to ....
15357 (tests-special): ... additions to this variable.
15358 (tests): Depend on $(tests-special).
15359 * Makerules (check-abi-list): New variable.
15360 (check-abi): Depend on $(check-abi-list).
15361 [$(subdir) = elf] (tests-special): Add
15362 $(objpfx)check-abi-libc.out.
15363 [$(build-shared) = yes && subdir] (tests-special): Add
15364 $(check-abi-list).
15365 [$(build-shared) = yes && subdir] (tests): Do not depend on
15366 check-abi.
15367 * Rules (tests): Depend on $(tests-special).
15368 (xtests): Depend on $(xtests-special).
15369 * catgets/Makefile (tests): Change dependencies to ....
15370 (tests-special): ... additions to this variable.
15371 * conform/Makefile (tests): Change dependencies to ....
15372 (tests-special): ... additions to this variable.
15373 * elf/Makefile (tests): Change dependencies to ....
15374 (tests-special): ... additions to this variable.
15375 * grp/Makefile (tests): Change dependencies to ....
15376 (tests-special): ... additions to this variable.
15377 * iconv/Makefile (xtests): Change dependencies to ....
15378 (xtests-special): ... additions to this variable.
15379 * iconvdata/Makefile (tests): Change dependencies to ....
15380 (tests-special): ... additions to this variable.
15381 * intl/Makefile (tests): Change dependencies to ....
15382 (tests-special): ... additions to this variable. Also add
15383 $(objpfx)tst-gettext.out.
15384 * io/Makefile (tests): Change dependencies to ....
15385 (tests-special): ... additions to this variable.
15386 * libio/Makefile (tests): Change dependencies to ....
15387 (tests-special): ... additions to this variable.
15388 * malloc/Makefile (tests): Change dependencies to ....
15389 (tests-special): ... additions to this variable.
15390 * misc/Makefile (tests): Change dependencies to ....
15391 (tests-special): ... additions to this variable.
15392 * nptl/Makefile (tests): Change dependencies to ....
15393 (tests-special): ... additions to this variable.
15394 * nptl_db/Makefile (tests): Change dependencies to ....
15395 (tests-special): ... additions to this variable.
15396 * posix/Makefile (tests): Change dependencies to ....
15397 (tests-special): ... additions to this variable.
15398 (xtests): Change dependencies to ....
15399 (xtests-special): ... additions to this variable.
15400 * resolv/Makefile (tests): Change dependencies to ....
15401 (tests-special): ... additions to this variable.
15402 (xtests): Change dependencies to ....
15403 (xtests-special): ... additions to this variable.
15404 * stdio-common/Makefile (tests): Change dependencies to ....
15405 (tests-special): ... additions to this variable.
15406 (do-tst-unbputc): Remove target.
15407 (do-tst-printf): Likewise.
15408 * stdlib/Makefile (tests): Change dependencies to ....
15409 (tests-special): ... additions to this variable.
15410 * string/Makefile (tests): Change dependencies to ....
15411 (tests-special): ... additions to this variable.
15412 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15413 (tests-special): ... additions to this variable.
15414
81700b53
JM
15415 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15416 whole file.
15417 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15418 whole file.
15419 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15420 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15421
2ea18461
JM
15422 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15423 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15424 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15425 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15426 * conform/data/libgen.h-data [XPG3]: Likewise.
15427 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15428 * conform/data/ndbm.h-data [XPG3]: Likewise.
15429 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15430 * conform/data/netdb.h-data [XPG3]: Likewise.
15431 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15432 * conform/data/poll.h-data [XPG3]: Likewise.
15433 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15434 * conform/data/strings.h-data [XPG3]: Likewise.
15435 * conform/data/stropts.h-data [XPG3]: Likewise.
15436 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15437 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15438 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15439 Likewise.
15440 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15441 * conform/data/sys/time.h-data [XPG3]: Likewise.
15442 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15443 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15444 * conform/data/sys/un.h-data [XPG3]: Likewise.
15445 * conform/data/syslog.h-data [XPG3]: Likewise.
15446 * conform/data/ucontext.h-data [XPG3]: Likewise.
15447 * conform/data/utmpx.h-data [XPG3]: Likewise.
15448 * conform/data/varargs.h-data [UNIX98]: Enable file.
15449
355bc986
JM
15450 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15451
215db402
JM
15452 * math/libm-test.inc (struct test_f_f_data): Move expected results
15453 into structure for each rounding mode.
15454 (struct test_ff_f_data): Likewise.
15455 (struct test_ff_f_data_nexttoward): Likewise.
15456 (struct test_fi_f_data): Likewise.
15457 (struct test_fl_f_data): Likewise.
15458 (struct test_if_f_data): Likewise.
15459 (struct test_fff_f_data): Likewise.
15460 (struct test_c_f_data): Likewise.
15461 (struct test_f_f1_data): Likewise.
15462 (struct test_fF_f1_data): Likewise.
15463 (struct test_ffI_f1_data): Likewise.
15464 (struct test_c_c_data): Likewise.
15465 (struct test_cc_c_data): Likewise.
15466 (struct test_f_i_data): Likewise.
15467 (struct test_ff_i_data): Likewise.
15468 (struct test_f_l_data): Likewise.
15469 (struct test_f_L_data): Likewise.
15470 (struct test_fFF_11_data): Likewise.
15471 (RM_): New macro.
15472 (RM_FE_DOWNWARD): Likewise.
15473 (RM_FE_TONEAREST): Likewise.
15474 (RM_FE_TOWARDZERO): Likewise.
15475 (RM_FE_UPWARD): Likewise.
15476 (RUN_TEST_LOOP_f_f): Update references to expected results.
15477 (RUN_TEST_LOOP_2_f): Likewise.
15478 (RUN_TEST_LOOP_fff_f): Likewise.
15479 (RUN_TEST_LOOP_c_f): Likewise.
15480 (RUN_TEST_LOOP_f_f1): Likewise.
15481 (RUN_TEST_LOOP_fF_f1): Likewise.
15482 (RUN_TEST_LOOP_fI_f1): Likewise.
15483 (RUN_TEST_LOOP_ffI_f1): Likewise.
15484 (RUN_TEST_LOOP_c_c): Likewise.
15485 (RUN_TEST_LOOP_cc_c): Likewise.
15486 (RUN_TEST_LOOP_f_i): Likewise.
15487 (RUN_TEST_LOOP_f_i_tg): Likewise.
15488 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15489 (RUN_TEST_LOOP_f_b): Likewise.
15490 (RUN_TEST_LOOP_f_b_tg): Likewise.
15491 (RUN_TEST_LOOP_f_l): Likewise.
15492 (RUN_TEST_LOOP_f_L): Likewise.
15493 (RUN_TEST_LOOP_fFF_11): Likewise.
15494 * math/gen-libm-test.pl (parse_args): Output four copies of
15495 expected results for each test.
15496
67737b8f
JM
15497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15498 (__ASSUME_UTIMES): Remove.
15499 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15500 (__ASSUME_UTIMES): Likewise.
15501
aa97dee1
JM
15502 * math/gen-auto-libm-tests.c: Update comment on output format.
15503 (output_for_one_input_case): Generate before-rounding and
15504 after-rounding information as conditions on output flags not
15505 floating-point format.
15506 * math/auto-libm-test-out: Regenerated.
15507 * math/gen-libm-test.pl (cond_value): New function.
15508 (or_cond_value): Use cond_value.
15509 (generate_testfile): Handle conditional exceptions.
15510
e6b6a857
JM
155112014-03-05 Joseph Myers <joseph@codesourcery.com>
15512
2f0a0f44
JM
15513 * math/libm-test.inc (max_valid_error): New variable.
15514 (init_max_error): Take new argument specifying whether function
15515 results are exactly determined. Set max_valid_error and bound
15516 other variables for errors based on this argument.
15517 (set_max_error): Do not record results above max_valid_error.
15518 (check_float_internal): Only accept errors of up to 0.5ulps if
15519 also at most max_valid_error.
15520 (START): Take new argument EXACT and pass it to init_max_error.
15521 (acos_test): Update call to START.
15522 (acos_test_tonearest): Likewise.
15523 (acos_test_towardzero): Likewise.
15524 (acos_test_downward): Likewise.
15525 (acos_test_upward): Likewise.
15526 (acosh_test): Likewise.
15527 (asin_test): Likewise.
15528 (asin_test_tonearest): Likewise.
15529 (asin_test_towardzero): Likewise.
15530 (asin_test_downward): Likewise.
15531 (asin_test_upward): Likewise.
15532 (asinh_test): Likewise.
15533 (atan_test): Likewise.
15534 (atanh_test): Likewise.
15535 (atan2_test): Likewise.
15536 (cabs_test): Likewise.
15537 (cacos_test): Likewise.
15538 (cacosh_test): Likewise.
15539 (carg_test): Likewise.
15540 (casin_test): Likewise.
15541 (casinh_test): Likewise.
15542 (catan_test): Likewise.
15543 (catanh_test): Likewise.
15544 (cbrt_test): Likewise.
15545 (ccos_test): Likewise.
15546 (ccosh_test): Likewise.
15547 (ceil_test): Likewise.
15548 (cexp_test): Likewise.
15549 (cimag_test): Likewise.
15550 (clog_test): Likewise.
15551 (clog10_test): Likewise.
15552 (conj_test): Likewise.
15553 (copysign_test): Likewise.
15554 (cos_test): Likewise.
15555 (cos_test_tonearest): Likewise.
15556 (cos_test_towardzero): Likewise.
15557 (cos_test_downward): Likewise.
15558 (cos_test_upward): Likewise.
15559 (cosh_test): Likewise.
15560 (cosh_test_tonearest): Likewise.
15561 (cosh_test_towardzero): Likewise.
15562 (cosh_test_downward): Likewise.
15563 (cosh_test_upward): Likewise.
15564 (cpow_test): Likewise.
15565 (cproj_test): Likewise.
15566 (creal_test): Likewise.
15567 (csin_test): Likewise.
15568 (csinh_test): Likewise.
15569 (csqrt_test): Likewise.
15570 (ctan_test): Likewise.
15571 (ctan_test_tonearest): Likewise.
15572 (ctan_test_towardzero): Likewise.
15573 (ctan_test_downward): Likewise.
15574 (ctan_test_upward): Likewise.
15575 (ctanh_test): Likewise.
15576 (ctanh_test_tonearest): Likewise.
15577 (ctanh_test_towardzero): Likewise.
15578 (ctanh_test_downward): Likewise.
15579 (ctanh_test_upward): Likewise.
15580 (erf_test): Likewise.
15581 (erfc_test): Likewise.
15582 (exp_test): Likewise.
15583 (exp_test_tonearest): Likewise.
15584 (exp_test_towardzero): Likewise.
15585 (exp_test_downward): Likewise.
15586 (exp_test_upward): Likewise.
15587 (exp10_test): Likewise.
15588 (exp10_test_tonearest): Likewise.
15589 (exp10_test_towardzero): Likewise.
15590 (exp10_test_downward): Likewise.
15591 (exp10_test_upward): Likewise.
15592 (pow10_test): Likewise.
15593 (exp2_test): Likewise.
15594 (expm1_test): Likewise.
15595 (expm1_test_tonearest): Likewise.
15596 (expm1_test_towardzero): Likewise.
15597 (expm1_test_downward): Likewise.
15598 (expm1_test_upward): Likewise.
15599 (fabs_test): Likewise.
15600 (fdim_test): Likewise.
15601 (floor_test): Likewise.
15602 (fma_test): Likewise.
15603 (fma_test_towardzero): Likewise.
15604 (fma_test_downward): Likewise.
15605 (fma_test_upward): Likewise.
15606 (fmax_test): Likewise.
15607 (fmin_test): Likewise.
15608 (fmod_test): Likewise.
15609 (fpclassify_test): Likewise.
15610 (frexp_test): Likewise.
15611 (hypot_test): Likewise.
15612 (ilogb_test): Likewise.
15613 (isfinite_test): Likewise.
15614 (finite_test): Likewise.
15615 (isgreater_test): Likewise.
15616 (isgreaterequal_test): Likewise.
15617 (isinf_test): Likewise.
15618 (isless_test): Likewise.
15619 (islessequal_test): Likewise.
15620 (islessgreater_test): Likewise.
15621 (isnan_test): Likewise.
15622 (isnormal_test): Likewise.
15623 (issignaling_test): Likewise.
15624 (isunordered_test): Likewise.
15625 (j0_test): Likewise.
15626 (j1_test): Likewise.
15627 (jn_test): Likewise.
15628 (ldexp_test): Likewise.
15629 (lgamma_test): Likewise.
15630 (gamma_test): Likewise.
15631 (lrint_test): Likewise.
15632 (lrint_test_tonearest): Likewise.
15633 (lrint_test_towardzero): Likewise.
15634 (lrint_test_downward): Likewise.
15635 (lrint_test_upward): Likewise.
15636 (llrint_test): Likewise.
15637 (llrint_test_tonearest): Likewise.
15638 (llrint_test_towardzero): Likewise.
15639 (llrint_test_downward): Likewise.
15640 (llrint_test_upward): Likewise.
15641 (log_test): Likewise.
15642 (log10_test): Likewise.
15643 (log1p_test): Likewise.
15644 (log2_test): Likewise.
15645 (logb_test): Likewise.
15646 (logb_test_downward): Likewise.
15647 (lround_test): Likewise.
15648 (llround_test): Likewise.
15649 (modf_test): Likewise.
15650 (nearbyint_test): Likewise.
15651 (nextafter_test): Likewise.
15652 (nexttoward_test): Likewise.
15653 (pow_test): Likewise.
15654 (pow_test_tonearest): Likewise.
15655 (pow_test_towardzero): Likewise.
15656 (pow_test_downward): Likewise.
15657 (pow_test_upward): Likewise.
15658 (remainder_test): Likewise.
15659 (drem_test): Likewise.
15660 (remainder_test_tonearest): Likewise.
15661 (drem_test_tonearest): Likewise.
15662 (remainder_test_towardzero): Likewise.
15663 (drem_test_towardzero): Likewise.
15664 (remainder_test_downward): Likewise.
15665 (drem_test_downward): Likewise.
15666 (remainder_test_upward): Likewise.
15667 (drem_test_upward): Likewise.
15668 (remquo_test): Likewise.
15669 (rint_test): Likewise.
15670 (rint_test_tonearest): Likewise.
15671 (rint_test_towardzero): Likewise.
15672 (rint_test_downward): Likewise.
15673 (rint_test_upward): Likewise.
15674 (round_test): Likewise.
15675 (scalb_test): Likewise.
15676 (scalbn_test): Likewise.
15677 (scalbln_test): Likewise.
15678 (signbit_test): Likewise.
15679 (sin_test): Likewise.
15680 (sin_test_tonearest): Likewise.
15681 (sin_test_towardzero): Likewise.
15682 (sin_test_downward): Likewise.
15683 (sin_test_upward): Likewise.
15684 (sincos_test): Likewise.
15685 (sinh_test): Likewise.
15686 (sinh_test_tonearest): Likewise.
15687 (sinh_test_towardzero): Likewise.
15688 (sinh_test_downward): Likewise.
15689 (sinh_test_upward): Likewise.
15690 (sqrt_test): Likewise.
15691 (sqrt_test_tonearest): Likewise.
15692 (sqrt_test_towardzero): Likewise.
15693 (sqrt_test_downward): Likewise.
15694 (sqrt_test_upward): Likewise.
15695 (tan_test): Likewise.
15696 (tan_test_tonearest): Likewise.
15697 (tan_test_towardzero): Likewise.
15698 (tan_test_downward): Likewise.
15699 (tan_test_upward): Likewise.
15700 (tanh_test): Likewise.
15701 (tgamma_test): Likewise.
15702 (trunc_test): Likewise.
15703 (y0_test): Likewise.
15704 (y1_test): Likewise.
15705 (yn_test): Likewise.
15706 (significand_test): Likewise.
15707
e6b6a857
JM
15708 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15709 individual tests in comment.
15710 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15711 (prev_max_error): New variable.
15712 (prev_real_max_error): Likewise.
15713 (prev_imag_max_error): Likewise.
15714 (compare_ulp_data): Don't refer to test names in comment.
15715 (find_test_ulps): Remove function.
15716 (find_function_ulps): Likewise.
15717 (find_complex_function_ulps): Likewise.
15718 (init_max_error): Take function name as argument. Look up ulps
15719 for that function.
15720 (print_ulps): Remove function.
15721 (print_max_error): Use prev_max_error instead of calling
15722 find_function_ulps.
15723 (print_complex_max_error): Use prev_real_max_error and
15724 prev_imag_max_error instead of calling find_complex_function_ulps.
15725 (check_float_internal): Take max_ulp parameter instead of calling
15726 find_test_ulps. Don't call print_ulps.
15727 (check_float): Update call to check_float_internal.
15728 (check_complex): Update calls to check_float_internal.
15729 (START): Pass argument to init_max_error.
15730 * math/gen-libm-test.pl (%results): Don't include "kind"
15731 information.
15732 (parse_ulps): Don't handle ulps of individual tests.
15733 (print_ulps_file): Likewise.
15734 (output_ulps): Likewise.
15735 * math/README.libm-test: Update.
15736 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15737 individual tests.
15738 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15739 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15740 * sysdeps/arm/libm-test-ulps: Likewise.
15741 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15742 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15743 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15744 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15745 * sysdeps/microblaze/libm-test-ulps: Likewise.
15746 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15747 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15748 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15749 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15750 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15751 * sysdeps/sh/libm-test-ulps: Likewise.
15752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15753 * sysdeps/tile/libm-test-ulps: Likewise.
15754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755
45adef3c
JM
157562014-03-04 Joseph Myers <joseph@codesourcery.com>
15757
15758 * math/libm-test.inc (print_complex_max_error): Check separately
15759 whether real and imaginary errors are within allowed range and
15760 pass 0 to print_complex_function_ulps instead of value within
15761 allowed range.
15762
000232b9
SP
157632014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15764
d4b17258
SP
15765 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15766 formatting.
15767 (get_handles_fopen): Likewise.
15768 (do_write_test): Likewise.
15769
091eff71
SP
15770 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15771
fa3cd248
SP
15772 * libio/fileops.c (do_ftell): Use cached offset when
15773 available.
15774 * libio/iofwide.c (do_ftell_wide): Likewise.
15775 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15776 _IO_file_attach.
15777 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15778
000232b9
SP
15779 [BZ #16532]
15780 * libio/libioP.h (get_file_offset): New function.
15781 * libio/fileops.c (get_file_offset): Likewise.
15782 (do_ftell): Likewise.
15783 (_IO_new_file_seekoff): Split out ftell logic.
15784 * libio/wfileops.c (do_ftell_wide): Likewise.
15785 (_IO_wfile_seekoff): Split out ftell logic.
15786 * libio/tst-ftell-active-handler.c: New test case.
15787 * libio/Makefile (tests): Add it.
15788
116f4d1a
RM
157892014-03-03 Roland McGrath <roland@hack.frob.com>
15790
15791 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15792 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15793
532a6035
SP
157942014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
15796 [BZ #16639]
15797 * nscd/connections.c (nscd_init): Call do_exit.
15798 (start_threads): Call do_exit and notify_parent.
15799 (begin_drop_privileges): Call do_exit.
15800 (finish_drop_privileges): Likewise.
15801 * nscd/selinux.c (preserve_capabilities): Likewise.
15802 (install_real_capabilities): Likewise.
15803 (nscd_selinux_enabled): Likewise.
15804 (avc_create_thread): Likewise.
15805 (avc_alloc_lock): Likewise.
15806 (nscd_avc_init): Likewise.
15807 * nscd/nscd.c (parent_fd): New static variable.
15808 (main): Create a pipe between parent and child processes.
15809 Skip closing parent_fd.
15810 (monitor_child): New function.
15811 (do_exit): Likewise.
15812 (notify_parent): Likewise.
15813 * nscd/nscd.h (notify_parent): Likewise.
15814 (do_exit): Likewise.
15815
d6285c9f
CD
158162014-03-03 Carlos O'Donell <carlos@redhat.com>
15817
15818 * malloc/malloc.c (__libc_calloc): Revert last change.
15819
2b85d2a0
AZ
158202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15821
15822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15823
c7debbdf
RS
158242014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15825
15826 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15828 implementation.
15829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15830 (__libc_ifunc_impl_list): Likewise.
15831 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15832 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15833 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15834 * string/strrchr.c: Define STRRCHR.
15835
235eed86
OB
158362014-02-28 Ondřej Bílka <neleai@seznam.cz>
15837
15838 * benchtest/bench-strtok.c (simple_strtok): Delete.
15839 (strtok_string): Use as benchmark.
15840 * string/strtok (STRTOK): New macro.
15841
8e25d1e7
CD
158422014-02-28 Carlos O'Donell <carlos@redhat.com>
15843
ef563f92
CD
15844 * manual/threads.texi: Add header and standard comments to all
15845 functions.
15846
8e25d1e7
CD
15847 * elf/dl-lookup.c (check_match): New function.
15848 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15849 (do_lookup_x): Remove nested function check_match. Use non-nested
15850 function check_match.
15851
ff71cc37
RM
158522014-02-28 Roland McGrath <roland@hack.frob.com>
15853
f08e9a26
RM
15854 * csu/Makefile (generated, before-compile): Use += rather than =.
15855 * catgets/Makefile (generated, generated-dirs): Likewise.
15856 * debug/Makefile (generated): Likewise.
15857 * dlfcn/Makefile (generated): Likewise.
15858 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15859 * iconvdata/Makefile (before-compile, generated): Likewise.
15860 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15861 * libio/Makefile (generated): Likewise.
15862 * malloc/Makefile (generated): Likewise.
15863 * manual/Makefile (generated, generated-dirs): Likewise.
15864 * misc/Makefile (generated): Likewise.
15865 * posix/Makefile (generated): Likewise.
15866 * resolv/Makefile (generated): Likewise.
15867 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15868 * timezone/Makefile (generated, generated-dirs): Likewise.
15869
ff71cc37
RM
15870 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15871
fe13a20c
AZ
158722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15873
57f41c40
AS
15874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15875 power8 implementation.
15876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15877 file: POWER8 llround ifunc implementation.
15878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15879 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15880 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15881 POWER8 llround implementation.
15882
57f41c40
AS
15883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15884 power8 implementation.
15885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15886 file: POWER8 llrint ifunc implementation.
15887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15888 Add POWER8 implementation.
1ad8950a
AZ
15889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15890 POWER8 llrint implementation.
15891
57f41c40
AS
15892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15893 power8 implementation.
15894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15895 file: POWER8 finite ifunc implementation.
15896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15897 Add POWER8 implementation.
cac626d6
AZ
15898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15899 Likewise.
15900 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15901 POWER8 finite implementation.
15902 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15903
57f41c40
AS
15904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15905 power8 implementation.
15906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15907 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15909 POWER8 implementation.
15910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15911 Likewise.
57f41c40
AS
15912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15913 isinf implementation.
4393fc11
AZ
15914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15915
57f41c40
AS
15916 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15917 (INIT_ARCH): Add hwcap2 initialization.
15918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15919 power8 implementation.
15920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15921 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15923 POWER8 implementation.
15924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15925 Likewise.
57f41c40
AS
15926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15927 isnan implementation.
487972ae
AZ
15928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15929
7d92b787
JY
159302014-02-27 Joey Ye <joey.ye@arm.com>
15931
15932 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15933 (_FP_NANFRAC_Q): Set to zero.
15934
1cadc858
SP
159352014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15936
15937 [BZ #16623]
15938 * math/auto-libm-test-in: New test inputs.
15939 * math/auto-libm-test-out: Regenerate.
15940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15941 and DA.
15942 (__cos): Likewise.
15943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15944
f8c17e79
JM
159452014-02-27 Joseph Myers <joseph@codesourcery.com>
15946
15947 * scripts/evaluate-test.sh: Take new argument indicating whether
15948 failure is expected.
15949 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15950 indicating whether failure is expected.
15951 * conform/Makefile (test-xfail-run-conformtest): New variable.
15952 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15953 level.
15954 * posix/Makefile (test-xfail-annexc): New variable.
15955 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15956
a5f891ac
JM
159572014-02-26 Joseph Myers <joseph@codesourcery.com>
15958
15959 * argp/Makefile: Include Makeconfig immediately after defining
15960 subdir.
15961 * assert/Makefile: Likewise.
15962 * benchtests/Makefile: Likewise.
15963 * catgets/Makefile: Likewise.
15964 * conform/Makefile: Likewise.
15965 * crypt/Makefile: Likewise.
15966 * csu/Makefile: Likewise.
15967 (all): Remove target.
15968 * ctype/Makefile: Include Makeconfig immediately after defining
15969 subdir.
15970 * debug/Makefile: Likewise.
15971 * dirent/Makefile: Likewise.
15972 * dlfcn/Makefile: Likewise.
15973 * gmon/Makefile: Likewise.
15974 * gnulib/Makefile: Likewise.
15975 * grp/Makefile: Likewise.
15976 * gshadow/Makefile: Likewise.
15977 * hesiod/Makefile: Likewise.
15978 * hurd/Makefile: Likewise.
15979 (all): Remove target.
15980 * iconvdata/Makefile: Include Makeconfig immediately after
15981 defining subdir.
15982 * inet/Makefile: Likewise.
15983 * intl/Makefile: Likewise.
15984 * io/Makefile: Likewise.
15985 * libio/Makefile: Likewise.
15986 (all): Remove target.
15987 * locale/Makefile: Include Makeconfig immediately after defining
15988 subdir.
15989 * login/Makefile: Likewise.
15990 * mach/Makefile: Likewise.
15991 (all): Remove target.
15992 * malloc/Makefile: Include Makeconfig immediately after defining
15993 subdir.
15994 (all): Remove target.
15995 * manual/Makefile: Include Makeconfig immediately after defining
15996 subdir.
15997 * math/Makefile: Likewise.
15998 * misc/Makefile: Likewise.
15999 * nis/Makefile: Likewise.
16000 * nss/Makefile: Likewise.
16001 * po/Makefile: Likewise.
16002 (all): Remove target.
16003 * posix/Makefile: Include Makeconfig immediately after defining
16004 subdir.
16005 * pwd/Makefile: Likewise.
16006 * resolv/Makefile: Likewise.
16007 * resource/Makefile: Likewise.
16008 * rt/Makefile: Likewise.
16009 * setjmp/Makefile: Likewise.
16010 * shadow/Makefile: Likewise.
16011 * signal/Makefile: Likewise.
16012 * socket/Makefile: Likewise.
16013 * soft-fp/Makefile: Likewise.
16014 * stdio-common/Makefile: Likewise.
16015 * stdlib/Makefile: Likewise.
16016 * streams/Makefile: Likewise.
16017 * string/Makefile: Likewise.
16018 * sunrpc/Makefile: Likewise.
16019 (all): Remove target.
16020 * sysvipc/Makefile: Include Makeconfig immediately after defining
16021 subdir.
16022 * termios/Makefile: Likewise.
16023 * time/Makefile: Likewise.
16024 * timezone/Makefile: Likewise.
16025 (all): Remove target.
16026 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16027 subdir.
16028 * wctype/Makefile: Likewise.
16029
5b456e9d
SE
160302014-02-26 Steve Ellcey <sellcey@mips.com>
16031
16032 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16033 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16034 (libc_feholdexcept_setround_mips): Ditto.
16035 (libc_feholdsetround): New.
16036 (libc_feholdsetroundf): New.
16037 (libc_feholdsetroundl): New.
16038 (libc_feupdateenv_test_mips): New.
16039 (libc_feupdateenv_test): New.
16040 (libc_feupdateenv_testf): New.
16041 (libc_feupdateenv_testl): New.
16042 (libc_feresetround): New.
16043 (libc_feresetroundf): New.
16044 (libc_feresetroundl): New.
16045 (libc_fetestexcept_mips): New.
16046 (libc_fetestexcept): New.
16047 (libc_fetestexceptf): New.
16048 (libc_fetestexceptl): New.
16049 (HAVE_RM_CTX): New.
16050 (libc_feholdexcept_setround_mips_ctx): New.
16051 (libc_feholdexcept_setround_ctx): New.
16052 (libc_feholdexcept_setroundf_ctx): New.
16053 (libc_feholdexcept_setroundl_ctx): New.
16054 (libc_fesetenv_mips_ctx): New.
16055 (libc_fesetenv_ctx): New.
16056 (libc_fesetenv_ctxf): New.
16057 (libc_fesetenv_ctxl): New.
16058 (libc_feupdateenv_mips_ctx): New.
16059 (libc_feupdateenv_ctx): New.
16060 (libc_feupdateenvf_ctx): New.
16061 (libc_feupdateenvl_ctx): New.
16062 (libc_feholdsetround_mips_ctx): New.
16063 (libc_feholdsetround_ctx): New.
16064 (libc_feholdsetroundf_ctx): New.
16065 (libc_feholdsetroundl_ctx): New.
16066 (libc_feresetround_mips_ctx): New.
16067 (libc_feresetround_ctx): New.
16068 (libc_feresetroundf_ctx): New.
16069 (libc_feresetroundl_ctx): New.
16070
085d0e35
CD
160712014-02-26 Carlos O'Donell <carlos@redhat.com>
16072
f067bf1f
CD
16073 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16074
085d0e35
CD
16075 * manual/ipc.texi: New file.
16076 * manual/Makefile (chapters): Add ipc.
16077 * manual/job.texi: Add "Inter-Process Communication" to next.
16078 * manual/process.texi: Add "Inter-Process Communication" to prev.
16079
86e58c08
AZ
160802014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16081
16082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16083
4248f0da
OB
160842014-02-26 Ondřej Bílka <neleai@seznam.cz>
16085
16086 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16087
cf822e3c
OB
16088 * manual/arith.texi: Fix spaces after sentences.
16089 * manual/charset.texi: Likewise.
16090 * manual/errno.texi: Likewise.
16091 * manual/install.texi: Likewise.
16092 * manual/llio.texi: Likewise.
16093 * manual/locale.texi: Likewise.
16094 * manual/maint.texi: Likewise.
16095 * manual/math.texi: Likewise.
16096 * manual/memory.texi: Likewise.
16097 * manual/message.texi: Likewise.
16098 * manual/probes.texi: Likewise.
16099 * manual/resource.texi: Likewise.
16100 * manual/signal.texi: Likewise.
16101 * manual/socket.texi: Likewise.
16102 * manual/stdio.texi: Likewise.
16103 * manual/string.texi: Likewise.
16104 * manual/time.texi: Likewise.
16105 * manual/users.texi: Likewise.
16106
ade40b10
CD
161072014-02-25 Carlos O'Donell <carlos@redhat.com>
16108
16109 [BZ #16632]
16110 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16111 _DEFAULT_SOURCE is defined.
16112
d0503676
CD
161132014-02-25 Ulrich Drepper <drepper@gmail.com>
16114 Carlos O'Donell <carlos@redhat.com>
16115
16116 [BZ #16613]
16117 * elf/dl-tls.c (_dl_count_modids): New function.
16118 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16119 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16120 audit library and increment generation counter.
16121 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16122 * elf/tst-audit9.c: New file.
16123 * elf/tst-auditmod9a.c: New file.
16124 * elf/tst-auditmod9b.c: New file.
16125 * elf/Makefile: Add rules to build and run tst-audit9.
16126
4cbf380c
FW
161272014-02-25 Florian Weimer <fweimer@redhat.com>
16128
16129 [BZ #15347]
16130 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16131
80a56cc3
WN
161322014-02-25 Will Newton <will.newton@linaro.org>
16133
16134 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16135 (__longjmp): Restore sp and lr before restoring callee
16136 saved registers. Add longjmp and longjmp_target
16137 SystemTap probe point.
16138 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16139 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16140 Define to zero to match jmpbuf layout.
16141 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16142 (__sigsetjmp): Save sp and lr before saving callee
16143 saved registers. Add setjmp SystemTap probe point.
16144
3ea0f74e
SL
161452014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16146
16147 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16148
b04acb26
AS
161492014-02-24 Andreas Schwab <schwab@suse.de>
16150
16151 [BZ #15804]
16152 * elf/pldd.c (wait_for_ptrace_stop): New function.
16153 (main): Call it after attaching.
16154
098ad55c
RM
161552014-02-22 Roland McGrath <roland@hack.frob.com>
16156
d4ec6ae1
RM
16157 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16158 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16159 Versions files is now verboten.
16160 * hurd/Versions (libc: GLIBC_2.0):
16161 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16162 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16163 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16164 * mach/Versions: Likewise.
16165
098ad55c
RM
16166 * csu/Versions: Remove unused %include.
16167 * resolv/Versions: Likewise.
16168
acd7f096
JM
161692014-02-21 Joseph Myers <joseph@codesourcery.com>
16170
f0881698
JM
16171 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16172 ($(objpfx)check-local-headers.out): Likewise.
16173 ($(objpfx)begin-end-check.out): Likewise.
16174 * Makerules (check-abi-%.out): Likewise.
16175 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16176 ($(objpfx)test2.cat): Likewise.
16177 ($(objpfx)de/libc.cat): Likewise.
16178 ($(objpfx)test-gencat.out): Likewise.
16179 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16180 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16181 ($(objpfx)noload-mem): Likewise.
16182 ($(objpfx)tst-pathopt.out): Likewise.
16183 ($(objpfx)tst-rtld-load-self.out): Likewise.
16184 ($(objpfx)tst-array1-cmp.out): Likewise.
16185 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16186 ($(objpfx)tst-array2-cmp.out): Likewise.
16187 ($(objpfx)tst-array3-cmp.out): Likewise.
16188 ($(objpfx)tst-array4-cmp.out): Likewise.
16189 ($(objpfx)tst-array5-cmp.out): Likewise.
16190 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16191 ($(objpfx)check-textrel.out): Likewise.
16192 ($(objpfx)check-execstack.out): Likewise.
16193 ($(objpfx)check-localplt.out): Likewise.
16194 ($(objpfx)order2-cmp.out): Likewise.
16195 ($(objpfx)tst-leaks1-mem): Likewise.
16196 ($(objpfx)tst-leaks1-static-mem): Likewise.
16197 ($(objpfx)tst-initorder-cmp.out): Likewise.
16198 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16199 ($(objpfx)tst-unused-dep.out): Likewise.
16200 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16201 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16202 * iconv/Makefile (test-iconvconfig): Likewise.
16203 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16204 ($(objpfx)iconv-test.out): Likewise.
16205 ($(objpfx)tst-tables.out): Likewise.
16206 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16207 ($(objpfx)tst-gettext.out): Likewise.
16208 ($(objpfx)tst-translit.out): Likewise.
16209 ($(objpfx)tst-gettext2.out): Likewise.
16210 ($(objpfx)tst-gettext4.out): Likewise.
16211 ($(objpfx)tst-gettext6.out): Likewise.
16212 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16213 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16214 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16215 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16217 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16218 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16219 ($(objpfx)wordexp-tst.out): Likewise.
16220 ($(objpfx)annexc.out): Likewise.
16221 ($(objpfx)tst-fnmatch-mem): Likewise.
16222 ($(objpfx)bug-regex2-mem): Likewise.
16223 ($(objpfx)bug-regex14-mem): Likewise.
16224 ($(objpfx)bug-regex21-mem): Likewise.
16225 ($(objpfx)bug-regex31-mem): Likewise.
16226 ($(objpfx)tst-vfork3-mem): Likewise.
16227 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16228 ($(objpfx)tst-pcre-mem): Likewise.
16229 ($(objpfx)tst-boost-mem): Likewise.
16230 ($(objpfx)tst-getconf.out): Likewise.
16231 ($(objpfx)bug-ga2-mem): Likewise.
16232 ($(objpfx)bug-glob2-mem): Likewise.
16233 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16234 ($(objpfx)mtrace-tst-leaks2): Likewise.
16235 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16236 ($(objpfx)tst-printf.out): Likewise.
16237 ($(objpfx)tst-setvbuf1.out): Likewise.
16238 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16239 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16240 ($(objpfx)tst-fmtmsg.out): Likewise.
16241 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16242 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16243
acd7f096
JM
16244 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16245 * bits/sigaction.h [__USE_MISC]: Likewise.
16246 * bits/waitstatus.h: Update #endif comments.
16247 * ctype/ctype.h: Likewise.
16248 * dirent/dirent.h: Likewise.
16249 [__USE_MISC]: Remove redundant conditionals.
16250 * grp/grp.h: Update #endif comments.
16251 [__USE_GNU]: Remove redundant conditionals.
16252 [__USE_MISC]: Likewise.
16253 * inet/netinet/in.h [__USE_GNU]: Likewise.
16254 * io/sys/stat.h [__USE_MISC]: Likewise.
16255 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16256 * libio/bits/stdio.h: Update #endif comments.
16257 [__USE_MISC]: Remove redundant conditionals.
16258 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16259 * libio/stdio.h: Update #endif comments.
16260 [__USE_MISC]: Remove redundant conditionals.
16261 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16262 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16263 * math/math.h: Update #else and #endif comments.
16264 [__USE_MISC]: Remove redundant conditionals.
16265 * misc/sys/uio.h: Update #endif comments.
16266 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16267 * posix/glob.h [__USE_MISC]: Likewise.
16268 * posix/sys/types.h: Update #endif comments.
16269 [__USE_MISC]: Remove redundant conditionals.
16270 * posix/sys/wait.h: Update #endif comments.
16271 [__USE_MISC]: Remove redundant conditionals.
16272 * posix/unistd.h: Update #endif comments.
16273 [__USE_MISC]: Remove redundant conditionals.
16274 * pwd/pwd.h [__USE_GNU]: Likewise.
16275 [__USE_MISC]: Likewise.
16276 * resolv/netdb.h [__USE_GNU]: Likewise.
16277 * signal/signal.h: Update #endif comments.
16278 [__USE_MISC]: Remove redundant conditionals.
16279 * stdlib/stdlib.h: Update #else and #endif comments.
16280 [__USE_MISC]: Remove redundant conditionals.
16281 [__USE_GNU]: Likewise.
16282 * string/bits/string2.h [__USE_MISC]: Likewise.
16283 * string/string.h: Update #endif comments.
16284 [__USE_MISC]: Remove redundant conditionals.
16285 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16286 Likewise.
16287 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16288 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16289 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16290 Likewise.
16291 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16292 Likewise.
16293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16294 comments.
16295 [__USE_MISC]: Remove redundant conditionals.
16296 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16297 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16298 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16299 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16300 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16301 Likewise.
16302 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16303 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16304 Likewise.
16305 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16306 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16307 Likewise.
16308 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16309 Likewise.
16310 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16311 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16312 Likewise.
16313 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16314 Likewise.
16315 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16316 * sysdeps/x86/bits/string.h: Update #endif comments.
16317 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16318 conditionals.
16319 * time/sys/time.h: Update #endif comments.
16320 * time/time.h: Likewise.
16321 [__USE_MISC]: Remove redundant conditionals.
16322
a5d82e4e
YG
163232014-02-21 Yury Gribov <y.gribov@samsung.com>
16324
16325 [BZ #16600]
16326 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16327
9a80491d
AS
163282014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16329
16330 * Versions.def (librt): Add GLIBC_2.17.
16331
105fa381
AC
163322014-02-21 Adam Conrad <adconrad@0c3.net>
16333
16334 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16335 synonym for _SYS_AUXV_H to allow direct inclusion.
16336 * sysdeps/sparc/bits/hwcap.h: Likewise.
16337 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16338 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16339 * sysdeps/sparc/sysdep.h: Likewise.
16340
b8cd1c4e
SP
163412014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16342
16343 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16344
bd939d23
RS
163452014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16346
16347 * benchtests/bench-strrchr.c: Print length instead of position.
16348
5d7b57ca
JM
163492014-02-20 Joseph Myers <joseph@codesourcery.com>
16350
bc688c10
JM
16351 [BZ #16611]
16352 * sysdeps/unix/sysv/linux/kernel-features.h
16353 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16354 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16355 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16356 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16357 Likewise.
16358 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16359 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16360 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16361 (__ASSUME_SENDMMSG): Define instead of using previous
16362 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16363 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16364 (__ASSUME_SENDMMSG_SYSCALL): Define.
16365 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16366 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16369 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16370 Likewise.
16371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16372 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16373 Likewise.
16374 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16375 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16376 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16377 [__ASSUME_SENDMMSG]: Change conditionals to
16378 [__ASSUME_SENDMMSG_SOCKETCALL].
16379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16380 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16381 Define.
16382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16383 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16384 Likewise.
16385 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16386 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16387 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16388 [!__ASSUME_SENDMMSG]: Change conditional to
16389 [!__ASSUME_SENDMMSG_SOCKETCALL].
16390 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16391 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16392 Define.
16393
0e31b18c
JM
16394 [BZ #16610]
16395 * sysdeps/unix/sysv/linux/kernel-features.h
16396 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16397 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16398 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16399 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16400 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16401 [__i386__ || __sparc__]
16402 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16403 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16404 (__ASSUME_RECVMMSG): Define instead of using previous
16405 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16406 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16407 (__ASSUME_RECVMMSG_SYSCALL): Define.
16408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16409 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16410 Likewise.
16411 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16412 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16413 Likewise.
16414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16416 Likewise.
16417 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16418 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16419 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16420 [__ASSUME_RECVMMSG]: Change condition to
16421 [__ASSUME_RECVMMSG_SOCKETCALL].
16422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16424 Define.
16425 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16427 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16428 Likewise.
16429 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16430 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16431 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16432 [!__ASSUME_RECVMMSG]: Change condition to
16433 [!__ASSUME_RECVMMSG_SOCKETCALL].
16434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16435 (__ASSUME_RECVMMSG_SYSCALL): Define.
16436
dd481ccf
JM
16437 [BZ #16609]
16438 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16439 __powerpc__ || __s390__ || __sh__ || __sparc__]
16440 (__ASSUME_SOCKETCALL): Define.
16441 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16442 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16443 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16444 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16445 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16446 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16447 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16448 (__ASSUME_ACCEPT4): Define instead of using previous
16449 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16450 __powerpc__ || __sparc__ || __s390__)] condition.
16451 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16452 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16453 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16454 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16455 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16456 [!__ASSUME_ACCEPT4]: Change condition to
16457 [!__ASSUME_ACCEPT4_SOCKETCALL].
16458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16459 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16460 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16461 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16462 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16463 __ASSUME_ACCEPT4_SYSCALL.
16464 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16465 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16467 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16468 __ASSUME_ACCEPT4_SYSCALL.
16469 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16470 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16471 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16472 [__ASSUME_ACCEPT4]: Change condition to
16473 [__ASSUME_ACCEPT4_SOCKETCALL].
16474 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16475 (__ASSUME_SOCKETCALL): Define.
16476 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16478 (__ASSUME_SOCKETCALL): Define.
16479 (__ASSUME_ACCEPT4): Remove.
16480 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16481 Define.
16482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16483 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16484 Likewise.
16485 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16486 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16487
5d7b57ca
JM
16488 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16489 macro.
16490 (HWCAP_ARM_LPAE): Likewise.
16491 (HWCAP_ARM_EVTSTRM): Likewise.
16492 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16493 Add vpfd32, lpae and evtstrm.
16494 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16495 Increase to 22.
16496
63689d61
JM
164972014-02-19 Joseph Myers <joseph@codesourcery.com>
16498
16499 * math/auto-libm-test-in: Add tests of clog10.
16500 * math/auto-libm-test-out: Regenerated.
16501 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16502 * sysdeps/i386/fpu/libm-test-ulps: Update.
16503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504
ab09bf61
AS
165052014-02-18 Andreas Schwab <schwab@suse.de>
16506
16507 [BZ #16574]
16508 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16509 Store non-zero if the second buffer was newly allocated.
16510 (send_dg): Likewise.
16511 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16512 to send_vc and send_dg.
16513 (res_nsend): Pass NULL for ansp2_malloced.
16514 * resolv/res_query.c (__libc_res_nquery): Add parameter
16515 answerp2_malloced and pass it down to __libc_res_nsend.
16516 (res_nquery): Pass additional NULL to __libc_res_nquery.
16517 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16518 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16519 second answer buffer if answerp2_malloced was set.
16520 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16521 (__libc_res_nquerydomain): Add parameter
16522 answerp2_malloced and pass it down to __libc_res_nquery.
16523 (res_nquerydomain): Pass additional NULL to
16524 __libc_res_nquerydomain.
16525 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16526 additional NULL to __libc_res_nsend and __libc_res_nquery.
16527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16528 additional NULL to __libc_res_nsearch.
16529 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16530 parameter of __libc_res_nsearch to check for separately allocated
16531 second buffer.
16532 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16533 __libc_res_nquery.
16534 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16535 additional NULL to __libc_res_nquery.
16536 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16537 __libc_res_nsearch.
16538 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16539 * include/resolv.h: Update prototypes of __libc_res_nquery,
16540 __libc_res_nsearch, __libc_res_nsend.
16541
a4fb7861
JM
165422014-02-18 Joseph Myers <joseph@codesourcery.com>
16543
c6af2d89
JM
16544 * math/auto-libm-test-in: Add tests of fma.
16545 * math/auto-libm-test-out: Regenerated.
16546 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16547 (fma_towardzero_test_data): Likewise.
16548 (fma_downward_test_data): Likewise.
16549 (fma_upward_test_data): Likewise.
16550 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16551 mpc_mode.
16552 (rounding_modes): Add values for new field.
16553 (func_calc_method): Add value mpfr_fff_f.
16554 (func_calc_desc): Add mpfr_fff_f union field.
16555 (test_function): Add field exact_args.
16556 (FUNC): Add macro argument EXACT_ARGS.
16557 (FUNC_mpfr_f_f): Update call to FUNC.
16558 (FUNC_mpfr_f_f): Likewise.
16559 (FUNC_mpfr_ff_f): Likewise.
16560 (FUNC_mpfr_if_f): Likewise.
16561 (FUNC_mpc_c_f): Likewise.
16562 (FUNC_mpc_c_c): Likewise.
16563 (test_functions): Add fma. Update calls to FUNC.
16564 (handle_input_arg): Add argument exact_args.
16565 (add_test): Update call to handle_input_arg.
16566 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16567 (output_for_one_input_case): Update call to calc_generic_results.
16568 Recalculate exact zero results in each rounding mode.
16569
a4fb7861
JM
16570 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16571 non-negative before setting low bit.
16572 * math/auto-libm-test-in: Mark one asin test possibly having
16573 spurious underflow.
16574 * math/auto-libm-test-out: Regenerated.
16575 * sysdeps/i386/fpu/libm-test-ulps: Update.
16576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16577
ef114eaf
DH
165782014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16579
2b7f4f2c
SP
16580 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16581 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16582 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16583 * README: Add missing listing for microblaze*-*-linux-gnu.
16584
8125aedc
AM
165852014-02-16 Ondřej Bílka <neleai@seznam.cz>
16586
16587 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16588 duplicate code
16589
c70a4b1d
MF
165902014-02-16 Mike Frysinger <vapier@gentoo.org>
16591
16592 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16593 * sysdeps/unix/sysv/linux/ia64: Move directory from
16594 ports/sysdeps/unix/sysv/linux/ia64.
16595 * README: Update listing for ia64-*-linux-gnu.
16596
591aeaf7
TD
165972014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16598 Joseph Myers <joseph@codesourcery.com>
16599
16600 * Makeconfig (test-name): New variable.
16601 (evaluate-test): Likewise.
16602 * Makerules (do-test-clean): Remove .test-result files.
16603 (common-mostlyclean): Likewise.
16604 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16605 * scripts/evaluate-test.sh: New file.
16606
6e89caf1
JM
166072014-02-14 Joseph Myers <joseph@codesourcery.com>
16608
7f98f180
JM
16609 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16610 separate $(objpfx)tst-fopenloc-cmp.out and
16611 $(objpfx)tst-fopenloc-mem.out targets.
16612 (tests): Update dependencies.
16613 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16614 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16615 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16616 (tst-rxspencer-no-utf8-ARGS): New variable.
16617 (tst-rxspencer-no-utf8-ENV): Likewise.
16618 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16619 instead of $(objpfx)tst-rxspencer-mem.
16620 ($(objpfx)tst-rxspencer-mem): Change target to
16621 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16622 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16623 * posix/tst-rxspencer-no-utf8.c: New file.
16624
6e89caf1
JM
16625 * elf/Makefile ($(objpfx)order.out): Remove rule.
16626 [$(run-built-tests) = yes] (tests): Depend on
16627 $(objpfx)order-cmp.out.
16628 ($(objpfx)order-cmp.out): New rule.
16629 [$(run-built-tests) = yes] (tests): Depend on
16630 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16631 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16632 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16633 $(objpfx)tst-array5-static-cmp.out.
16634 ($(objpfx)tst-array1.out): Remove rule.
16635 ($(objpfx)tst-array1-cmp.out): New rule.
16636 ($(objpfx)tst-array1-static.out): Remove rule.
16637 ($(objpfx)tst-array1-static-cmp.out): New rule.
16638 ($(objpfx)tst-array2.out): Remove rule.
16639 ($(objpfx)tst-array2-cmp.out): New rule.
16640 ($(objpfx)tst-array3.out): Remove rule.
16641 ($(objpfx)tst-array3-cmp.out): New rule.
16642 ($(objpfx)tst-array4.out): Remove rule.
16643 ($(objpfx)tst-array4-cmp.out): New rule.
16644 ($(objpfx)tst-array5.out): Remove rule.
16645 ($(objpfx)tst-array5-cmp.out): New rule.
16646 ($(objpfx)tst-array5-static.out): Remove rule.
16647 ($(objpfx)tst-array5-static-cmp.out): New rule.
16648 [$(run-built-tests) = yes] (tests): Depend on
16649 $(objpfx)order2-cmp.out.
16650 ($(objpfx)order2.out): Remove rule.
16651 ($(objpfx)order2-cmp.out): New rule.
16652 ($(objpfx)tst-initorder.out): Remove rule.
16653 [$(run-built-tests) = yes] (tests): Depend on
16654 $(objpfx)tst-initorder-cmp.out.
16655 ($(objpfx)tst-initorder-cmp.out): New rule.
16656 ($(objpfx)tst-initorder2.out): Remove rule.
16657 [$(run-built-tests) = yes] (tests): Depend on
16658 $(objpfx)tst-initorder2-cmp.out.
16659 ($(objpfx)tst-initorder2-cmp.out): New rule.
16660 [$(run-built-tests) = yes] (tests): Depend on
16661 $(objpfx)tst-unused-dep-cmp.out.
16662 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16663 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16664 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16665 on $(objpfx)tst-setvbuf1-cmp.out.
16666 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16667 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16668 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16669 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16670 ($(objpfx)tst-svc.out): Remove rule.
16671 ($(objpfx)tst-svc-cmp.out): New rule.
16672
ed9a38e2
JM
166732014-02-13 Joseph Myers <joseph@codesourcery.com>
16674
16675 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16676 * ctype/ctype.h [__USE_MISC]: Likewise.
16677 * dirent/dirent.h [__USE_MISC]: Likewise.
16678 * grp/grp.h [__USE_MISC]: Likewise.
16679 * io/fcntl.h [__USE_MISC]: Likewise.
16680 * io/sys/stat.h [__USE_MISC]: Likewise.
16681 * libio/stdio.h [__USE_MISC]: Likewise.
16682 * posix/unistd.h [__USE_MISC]: Likewise.
16683 * pwd/pwd.h [__USE_MISC]: Likewise.
16684 * stdlib.h [__USE_MISC]: Likewise.
16685 * string/bits/string2.h [__USE_MISC]: Likewise.
16686 * string/string.h [__USE_MISC]: Likewise.
16687 * time/time.h [__USE_MISC]: Likewise.
16688
d6680619
AS
166892014-02-13 Andreas Schwab <schwab@suse.de>
16690
16691 [BZ #16574]
16692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16693 second answer buffer if it was separately allocated.
16694
ace614b8
JM
166952014-02-12 Joseph Myers <joseph@codesourcery.com>
16696
743151ae
JM
16697 * sysdeps/mips/math-tests.h: Include <features.h>.
16698 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16699 (ROUNDING_TESTS_long_double): Do not define.
16700 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16701 (EXCEPTION_TESTS_long_double): Likewise.
16702 * sysdeps/mips/mips64/libm-test-ulps: Update.
16703
498afc54
JM
16704 * include/features.h (__USE_BSD): Remove macro definitions.
16705 (__USE_SVID): Likewise.
16706 (_BSD_SOURCE): Likewise.
16707 (_SVID_SOURCE): Likewise.
16708 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16709 from definition of _DEFAULT_SOURCE.
16710 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16711 [_DEFAULT_SOURCE].
16712 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16713 * bits/mman.h [__USE_BSD]: Likewise.
16714 * bits/termios.h [__USE_BSD]: Likewise.
16715 * bits/waitstatus.h [__USE_BSD]: Likewise.
16716 * ctype/ctype.h [__USE_SVID]: Likewise.
16717 * dirent/dirent.h [__USE_BSD]: Likewise.
16718 * grp/grp.h [__USE_SVID]: Likewise.
16719 [__USE_BSD]: Likewise.
16720 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16721 * io/fcntl.h [__USE_BSD]: Likewise.
16722 * io/ftw.h [__USE_BSD]: Likewise.
16723 * io/sys/stat.h [__USE_BSD]: Likewise.
16724 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16725 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16726 * libio/stdio.h [__USE_SVID]: Likewise.
16727 [__USE_BSD]: Likewise.
16728 * math/math.h [__USE_SVID]: Likewise.
16729 [__USE_BSD]: Likewise.
16730 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16731 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16732 * misc/search.h [__USE_SVID]: Likewise.
16733 * misc/sys/mman.h [__USE_BSD]: Likewise.
16734 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16735 * misc/sys/uio.h [__USE_BSD]: Likewise.
16736 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16737 * posix/glob.h [__USE_BSD]: Likewise.
16738 * posix/regex.h [__USE_BSD]: Likewise.
16739 * posix/sys/types.h [__USE_BSD]: Likewise.
16740 [__USE_SVID]: Likewise.
16741 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16742 * posix/sys/wait.h [__USE_BSD]: Likewise.
16743 [__USE_SVID]: Likewise.
16744 * posix/unistd.h [__USE_BSD]: Likewise.
16745 [__USE_SVID]: Likewise.
16746 * pwd/pwd.h [__USE_SVID]: Likewise.
16747 * resolv/netdb.h [__USE_BSD]: Likewise.
16748 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16749 * signal/signal.h [__USE_BSD]: Likewise.
16750 [__USE_SVID]: Likewise.
16751 * socket/sys/socket.h [__USE_BSD]: Likewise.
16752 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16753 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16754 [__USE_SVID]: Likewise.
16755 * string/bits/string2.h [__USE_BSD]: Likewise.
16756 [__USE_SVID]: Likewise.
16757 * string/bits/string3.h [__USE_BSD]: Likewise.
16758 * string/endian.h [__USE_BSD]: Likewise.
16759 * string/string.h [__USE_SVID]: Likewise.
16760 [__USE_BSD]: Likewise.
16761 * string/strings.h [__USE_BSD]: Likewise.
16762 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16763 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16764 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16765 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16766 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16767 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16768 Likewise.
16769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16770 Likewise.
16771 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16773 Likewise.
16774 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16775 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16778 Likewise.
16779 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16780 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16784 Likewise.
16785 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16786 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16787 * termios/termios.h [__USE_BSD]: Likewise.
16788 * time/sys/time.h [__USE_BSD]: Likewise.
16789 * time/time.h [__USE_BSD]: Likewise.
16790 [__USE_SVID]: Likewise.
16791
dd7b064c
JM
16792 * Makefile (subdir_targets): Remove subdir_lint.out.
16793
a2c4c199
JM
16794 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16795 (do-tst-printf): Likewise.
16796 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16797 $(objpfx)tst-printf.out.
16798
8756f740
JM
16799 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16800
1b6dd3f1
JM
16801 * Makerules (check-abi-%): Change target to
16802 $(objpfx)check-abi-%.out.
16803 (check-abi target): Update dependencies.
16804 (check-abi-pattern variable): Redirect output of diff to $@.
16805 (check-abi variable): Likewise.
16806 * elf/Makefile (check-abi): Update dependencies.
16807
ace614b8
JM
16808 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16809 unused.
16810 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16811 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16812 subnormal range.
16813 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16814 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16815 value has largest subnormal exponent.
16816 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16817 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16818 * sysdeps/aarch64/soft-fp/sfp-machine.h
16819 (_FP_TININESS_AFTER_ROUNDING): New macro.
16820 * sysdeps/alpha/soft-fp/sfp-machine.h
16821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16822 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16823 Likewise.
16824 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16826 * sysdeps/mips/soft-fp/sfp-machine.h
16827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16828 * sysdeps/powerpc/soft-fp/sfp-machine.h
16829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16830 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16831 Likewise.
16832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16835 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16836 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16837 Likewise.
16838
fbfdf9cb
DAS
168392014-02-12 Dylan Alex Simon <dylan@dylex.net>
16840
16841 [BZ #16545]
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16843 model 1.
16844
68b7efaa
RH
168452014-02-12 Richard Henderson <rth@redhat.com>
16846
c70a4b1d 16847 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16848 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16849 * sysdeps/unix/sysv/linux/alpha: Move directory from
16850 ports/sysdeps/unix/sysv/linux/alpha.
16851 * README: Update listing for alpha-*-linux-gnu.
16852
cb4a2928
JM
168532014-02-11 Joseph Myers <joseph@codesourcery.com>
16854
c941736c
JM
16855 * include/features.h: Update comment documenting feature test
16856 macros.
16857 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16858 _DEFAULT_SOURCE.
16859 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16860 (_SVID_SOURCE): Likewise.
16861 (_DEFAULT_SOURCE): Update description of default features.
16862 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16863 with _GNU_SOURCE.
16864 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16865 (S_ISVTX): Likewise.
16866 * manual/math.texi (Mathematical Constants): Likewise.
16867 * manual/signal.texi (Interrupted Primitives): Likewise.
16868 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16869 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16870 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16871 Don't refer to _SVID_SOURCE in warning text.
16872
e8d8d7ec
JM
16873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16874
cb4a2928
JM
16875 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16876 already defined.
16877 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16878 * sysdeps/mips/dl-lookup.c: Remove.
16879 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16880
7e6424e3
AK
168812014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16882
16883 [BZ #16447]
16884 * math/auto-libm-test-in: Add testcase for expl.
16885 * math/auto-libm-test-out: Regenerate.
16886 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16887 calculation of unsafe.
16888 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16889
75eff3fe
MS
168902014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16891
16892 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16893 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16894 ports/sysdeps/unix/sysv/linux/aarch64.
16895 * README: Update listing for aarch64*-*-linux-gnu.
16896
d35f1e80
WN
168972014-02-11 Will Newton <will.newton@linaro.org>
16898
16899 * manual/probes.texi (Mathematical Function Probes): Use
16900 "triggered" instead of "hit".
16901
7b3436d4
WN
16902 * manual/probes.texi (Internal Probes): Add documentation
16903 of setjmp, longjmp and longjmp_target probes.
16904
b4f12ca3
WN
16905 * include/stap-probe.h: Add comment about probe argument
16906 format.
16907
c13a72b7
WN
16908 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16909 definition. (tr_where, tr_freehook, tr_mallochook,
16910 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16911
195b8165
DM
169122014-02-11 David S. Miller <davem@davemloft.net>
16913
16914 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16915 processing int_tests.
16916
2ad7600b
JM
169172014-02-10 Joseph Myers <joseph@codesourcery.com>
16918
16919 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16920 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16921 * sysdeps/unix/sysv/linux/mips: Move directory from
16922 ports/sysdeps/unix/sysv/linux/mips.
16923 * README: Update listing for mips-*-linux-gnu and
16924 mips64-*-linux-gnu.
16925
73588a72
AS
169262014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16927
16928 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16929 * sysdeps/unix/sysv/linux/m68k: Move directory from
16930 ports/sysdeps/unix/sysv/linux/m68k.
16931 * README: Update listing for m68k-*-linux-gnu.
16932
4372980f
CM
169332014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16934
16935 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16936 * sysdeps/unix/sysv/linux/generic: Move directory from
16937 ports/sysdeps/unix/sysv/linux/generic.
16938 * sysdeps/unix/sysv/linux/tile: Move directory from
16939 ports/sysdeps/unix/sysv/linux/tile.
16940 * README: Update listing for tile*-*-linux-gnu.
16941
a1ffb40e
OB
169422014-02-10 Ondřej Bílka <neleai@seznam.cz>
16943
57f41c40
AS
16944 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16945 __builtin_expect.
a1ffb40e
OB
16946 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16947 * catgets/open_catalog.c (__open_catalog): Likewise.
16948 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16949 * debug/confstr_chk.c: Likewise.
16950 * debug/fread_chk.c (__fread_chk): Likewise.
16951 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16952 * debug/getgroups_chk.c: Likewise.
16953 * debug/mbsnrtowcs_chk.c: Likewise.
16954 * debug/mbsrtowcs_chk.c: Likewise.
16955 * debug/mbstowcs_chk.c: Likewise.
16956 * debug/memcpy_chk.c: Likewise.
16957 * debug/memmove_chk.c: Likewise.
16958 * debug/mempcpy_chk.c: Likewise.
16959 * debug/memset_chk.c: Likewise.
16960 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16961 * debug/strcat_chk.c (__strcat_chk): Likewise.
16962 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16963 * debug/strncat_chk.c (__strncat_chk): Likewise.
16964 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16965 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16966 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16967 * debug/wcpncpy_chk.c: Likewise.
16968 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16969 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16970 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16971 * debug/wcsncpy_chk.c: Likewise.
16972 * debug/wcsnrtombs_chk.c: Likewise.
16973 * debug/wcsrtombs_chk.c: Likewise.
16974 * debug/wcstombs_chk.c: Likewise.
16975 * debug/wmemcpy_chk.c: Likewise.
16976 * debug/wmemmove_chk.c: Likewise.
16977 * debug/wmempcpy_chk.c: Likewise.
16978 * debug/wmemset_chk.c: Likewise.
16979 * dirent/scandirat.c (SCANDIRAT): Likewise.
16980 * dlfcn/dladdr1.c (dladdr1): Likewise.
16981 * dlfcn/dladdr.c (dladdr): Likewise.
16982 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16983 * dlfcn/dlerror.c (__dlerror): Likewise.
16984 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16985 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16986 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16987 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16988 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16989 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16990 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16991 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16992 Likewise.
16993 * elf/dl-conflict.c: Likewise.
16994 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16995 * elf/dl-dst.h: Likewise.
16996 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16997 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16999 * elf/dl-init.c (call_init, _dl_init): Likewise.
17000 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17001 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17002 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17003 Likewise.
a1ffb40e
OB
17004 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17005 Likewise.
17006 * elf/dl-minimal.c (__libc_memalign): Likewise.
17007 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17008 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17009 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17010 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17011 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17012 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17013 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17014 * elf/dl-writev.h (_dl_writev): Likewise.
17015 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17016 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17017 (dl_main): Likewise.
a1ffb40e
OB
17018 * elf/setup-vdso.h (setup_vdso): Likewise.
17019 * grp/compat-initgroups.c (compat_call): Likewise.
17020 * grp/fgetgrent.c (fgetgrent): Likewise.
17021 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17022 * grp/putgrent.c (putgrent): Likewise.
17023 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17024 Likewise.
17025 * hurd/hurdinit.c: Likewise.
17026 * iconvdata/8bit-gap.c (struct): Likewise.
17027 * iconvdata/ansi_x3.110.c : Likewise.
17028 * iconvdata/big5.c : Likewise.
17029 * iconvdata/big5hkscs.c : Likewise.
17030 * iconvdata/cp1255.c: Likewise.
17031 * iconvdata/cp1258.c : Likewise.
17032 * iconvdata/cp932.c : Likewise.
17033 * iconvdata/euc-cn.c: Likewise.
17034 * iconvdata/euc-jisx0213.c : Likewise.
17035 * iconvdata/euc-jp.c: Likewise.
17036 * iconvdata/euc-jp-ms.c : Likewise.
17037 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17038 * iconvdata/gb18030.c : Likewise.
17039 * iconvdata/gbbig5.c (const): Likewise.
17040 * iconvdata/gbgbk.c: Likewise.
17041 * iconvdata/gbk.c : Likewise.
17042 * iconvdata/ibm1364.c : Likewise.
17043 * iconvdata/ibm930.c : Likewise.
17044 * iconvdata/ibm932.c: Likewise.
17045 * iconvdata/ibm933.c : Likewise.
17046 * iconvdata/ibm935.c : Likewise.
17047 * iconvdata/ibm937.c : Likewise.
17048 * iconvdata/ibm939.c : Likewise.
17049 * iconvdata/ibm943.c: Likewise.
17050 * iconvdata/iso_11548-1.c: Likewise.
17051 * iconvdata/iso-2022-cn.c : Likewise.
17052 * iconvdata/iso-2022-cn-ext.c : Likewise.
17053 * iconvdata/iso-2022-jp-3.c: Likewise.
17054 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17055 * iconvdata/iso-2022-kr.c : Likewise.
17056 * iconvdata/iso646.c (gconv_end): Likewise.
17057 * iconvdata/iso_6937-2.c : Likewise.
17058 * iconvdata/iso_6937.c : Likewise.
17059 * iconvdata/iso8859-1.c: Likewise.
17060 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17061 * iconvdata/shift_jisx0213.c : Likewise.
17062 * iconvdata/sjis.c : Likewise.
17063 * iconvdata/t.61.c : Likewise.
17064 * iconvdata/tcvn5712-1.c : Likewise.
17065 * iconvdata/tscii.c: Likewise.
17066 * iconvdata/uhc.c : Likewise.
17067 * iconvdata/unicode.c (gconv_end): Likewise.
17068 * iconvdata/utf-16.c (gconv_end): Likewise.
17069 * iconvdata/utf-32.c (gconv_end): Likewise.
17070 * iconvdata/utf-7.c (base64): Likewise.
17071 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17072 * iconv/gconv_close.c (__gconv_close): Likewise.
17073 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17074 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17075 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17076 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17077 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17078 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17079 * iconv/iconv.c (iconv): Likewise.
17080 * iconv/iconv_close.c: Likewise.
17081 * iconv/loop.c (SINGLE): Likewise.
17082 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17083 * include/atomic.h: Likewise.
17084 * inet/inet6_option.c (option_alloc): Likewise.
17085 * intl/bindtextdom.c (set_binding_values): Likewise.
17086 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17087 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17088 * intl/localealias.c (read_alias_file): Likewise.
17089 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17090 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17091 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17092 * libio/fmemopen.c (fmemopen): Likewise.
17093 * libio/iofgets.c (_IO_fgets): Likewise.
17094 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17095 * libio/iofgetws.c (fgetws): Likewise.
17096 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17097 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17098 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17099 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17100 * locale/findlocale.c (_nl_find_locale): Likewise.
17101 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17102 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17103 Likewise.
17104 * locale/setlocale.c (setlocale): Likewise.
17105 * login/programs/pt_chown.c (main): Likewise.
17106 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17107 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17108 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17109 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17110 * math/e_exp2l.c: Likewise.
17111 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17112 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17113 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17114 * math/s_catan.c (__catan): Likewise.
17115 * math/s_catanf.c (__catanf): Likewise.
17116 * math/s_catanh.c (__catanh): Likewise.
17117 * math/s_catanhf.c (__catanhf): Likewise.
17118 * math/s_catanhl.c (__catanhl): Likewise.
17119 * math/s_catanl.c (__catanl): Likewise.
17120 * math/s_ccosh.c (__ccosh): Likewise.
17121 * math/s_ccoshf.c (__ccoshf): Likewise.
17122 * math/s_ccoshl.c (__ccoshl): Likewise.
17123 * math/s_cexp.c (__cexp): Likewise.
17124 * math/s_cexpf.c (__cexpf): Likewise.
17125 * math/s_cexpl.c (__cexpl): Likewise.
17126 * math/s_clog10.c (__clog10): Likewise.
17127 * math/s_clog10f.c (__clog10f): Likewise.
17128 * math/s_clog10l.c (__clog10l): Likewise.
17129 * math/s_clog.c (__clog): Likewise.
17130 * math/s_clogf.c (__clogf): Likewise.
17131 * math/s_clogl.c (__clogl): Likewise.
17132 * math/s_csin.c (__csin): Likewise.
17133 * math/s_csinf.c (__csinf): Likewise.
17134 * math/s_csinh.c (__csinh): Likewise.
17135 * math/s_csinhf.c (__csinhf): Likewise.
17136 * math/s_csinhl.c (__csinhl): Likewise.
17137 * math/s_csinl.c (__csinl): Likewise.
17138 * math/s_csqrt.c (__csqrt): Likewise.
17139 * math/s_csqrtf.c (__csqrtf): Likewise.
17140 * math/s_csqrtl.c (__csqrtl): Likewise.
17141 * math/s_ctan.c (__ctan): Likewise.
17142 * math/s_ctanf.c (__ctanf): Likewise.
17143 * math/s_ctanh.c (__ctanh): Likewise.
17144 * math/s_ctanhf.c (__ctanhf): Likewise.
17145 * math/s_ctanhl.c (__ctanhl): Likewise.
17146 * math/s_ctanl.c (__ctanl): Likewise.
17147 * math/w_pow.c: Likewise.
17148 * math/w_powf.c: Likewise.
17149 * math/w_powl.c: Likewise.
17150 * math/w_scalb.c (sysv_scalb): Likewise.
17151 * math/w_scalbf.c (sysv_scalbf): Likewise.
17152 * math/w_scalbl.c (sysv_scalbl): Likewise.
17153 * misc/error.c (error_tail): Likewise.
17154 * misc/pselect.c (__pselect): Likewise.
17155 * nis/nis_callback.c (__nis_create_callback): Likewise.
17156 * nis/nis_call.c (__nisfind_server): Likewise.
17157 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17158 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17159 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17160 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17161 * nis/nis_lookup.c (nis_lookup): Likewise.
17162 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17163 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17164 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17165 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17166 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17167 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17168 * nis/nss_compat/compat-initgroups.c (add_group)
17169 (internal_getgrent_r): Likewise.
17170 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17171 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17172 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17173 (internal_getspnam_r): Likewise.
17174 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17175 (_nss_nis_getaliasbyname_r): Likewise.
17176 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17177 (_nss_nis_getntohost_r): Likewise.
17178 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17179 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17180 (_nss_nis_getgrgid_r): Likewise.
17181 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17182 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17183 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17184 (_nss_nis_gethostbyname4_r): Likewise.
17185 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17186 (initgroups_netid): Likewise.
a1ffb40e 17187 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17188 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17189 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17190 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17191 (_nss_nis_getprotobynumber_r): Likewise.
17192 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17193 (_nss_nis_getsecretkey): Likewise.
17194 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17195 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17196 (_nss_nis_getpwuid_r): Likewise.
17197 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17198 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17199 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17200 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17201 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17202 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17203 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17204 Likewise.
57f41c40
AS
17205 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17206 (_nss_nisplus_getntohost_r): Likewise.
17207 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17208 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17209 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17210 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17211 Likewise.
57f41c40
AS
17212 * nis/nss_nisplus/nisplus-initgroups.c
17213 (_nss_nisplus_initgroups_dyn): Likewise.
17214 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17215 (_nss_nisplus_getnetbyaddr_r): Likewise.
17216 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17217 (_nss_nisplus_getprotobynumber_r): Likewise.
17218 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17219 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17220 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17221 Likewise.
57f41c40
AS
17222 * nis/nss_nisplus/nisplus-service.c
17223 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17224 (_nss_nisplus_getservbyport_r): Likewise.
17225 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17226 (_nss_nisplus_getspnam_r): Likewise.
17227 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17228 Likewise.
a1ffb40e
OB
17229 * nscd/aicache.c (addhstaiX): Likewise.
17230 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17231 * nscd/connections.c (register_traced_file, send_ro_fd)
17232 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17233 (main_loop_epoll): Likewise.
a1ffb40e
OB
17234 * nscd/grpcache.c (addgrbyX): Likewise.
17235 * nscd/hstcache.c (addhstbyX): Likewise.
17236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17237 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17238 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17239 (addinnetgrX): Likewise.
17240 * nscd/nscd-client.h (__nscd_acquire_maplock)
17241 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17242 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17243 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17245 Likewise.
17246 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17247 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17248 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17249 (__nscd_get_map_ref): Likewise.
a1ffb40e 17250 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17251 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17252 Likewise.
a1ffb40e
OB
17253 * nscd/pwdcache.c (addpwbyX): Likewise.
17254 * nscd/selinux.c (preserve_capabilities): Likewise.
17255 * nscd/servicescache.c (addservbyX): Likewise.
17256 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17257 * posix/fnmatch.c (fnmatch): Likewise.
17258 * posix/getopt.c (_getopt_internal_r): Likewise.
17259 * posix/glob.c (glob, glob_in_dir): Likewise.
17260 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17262 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17263 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17264 * resolv/res_init.c: Likewise.
17265 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17266 * resolv/res_query.c (__libc_res_nquery): Likewise.
17267 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17268 Likewise.
17269 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17270 * stdio-common/perror.c (perror): Likewise.
17271 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17272 * stdio-common/tmpnam.c (tmpnam): Likewise.
17273 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17274 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17275 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17276 Likewise.
a1ffb40e
OB
17277 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17278 * stdlib/putenv.c (putenv): Likewise.
17279 * stdlib/setenv.c (__add_to_environ): Likewise.
17280 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17281 * stdlib/strtol_l.c (INTERNAL): Likewise.
17282 * string/memmem.c (memmem): Likewise.
17283 * string/strerror.c (strerror): Likewise.
17284 * string/strnlen.c (__strnlen): Likewise.
17285 * string/test-memmem.c (simple_memmem): Likewise.
17286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17287 * sunrpc/pm_getport.c (__get_socket): Likewise.
17288 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17289 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17290 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17291 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17292 Likewise.
17293 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17295 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17296 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17297 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17298 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17299 Likewise.
17300 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17301 Likewise.
a1ffb40e
OB
17302 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17303 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17305 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17306 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17308 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17309 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17310 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17311 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17312 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17313 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17314 Likewise.
17315 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17316 Likewise.
17317 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17318 Likewise.
17319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17323 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17324 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17325 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17334 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17335 Likewise.
a1ffb40e
OB
17336 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17337 Likewise.
17338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17339 Likewise.
17340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17341 Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17344 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17345 Likewise.
17346 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17347 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17348 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17349 * sysdeps/posix/sleep.c: Likewise.
17350 * sysdeps/posix/tempname.c: Likewise.
17351 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17352 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17353 Likewise.
57f41c40
AS
17354 * sysdeps/powerpc/powerpc32/dl-machine.h
17355 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17356 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17358 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17359 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17360 Likewise.
17361 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17362 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17363 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17364 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17365 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17366 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17367 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17368 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17369 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17370 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17372 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17373 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17375 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17376 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17377 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17378 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17379 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17380 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17381 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17382 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17384 Likewise.
17385 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17386 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17387 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17388 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17389 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17390 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17391 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17392 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17393 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17394 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17395 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17396 Likewise.
17397 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17398 (__posix_fallocate64_l64): Likewise.
17399 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17400 (posix_fallocate): Likewise.
57f41c40
AS
17401 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17402 Likewise.
a1ffb40e 17403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17404 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17405 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17406 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17407 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17408 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17409 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17410 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17411 (__posix_fallocate64_l64): Likewise.
17412 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17413 Likewise.
17414 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17415 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17416 (__get_clockfreq): Likewise.
a1ffb40e
OB
17417 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17418 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17419 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17422 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17423 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17424 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17425 Likewise.
17426 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17427 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17428 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17431 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17433 Likewise.
17434 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17435 (posix_fallocate): Likewise.
17436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17437 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17438 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17439 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17440 (elf_machine_rela, elf_machine_rela_relative)
17441 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17442 * time/asctime.c (asctime_internal): Likewise.
17443 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17444 * time/tzset.c (__tzset_parse_tz): Likewise.
17445 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17446 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17447 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17448 * wcsmbs/wcsmbsload.h: Likewise.
17449
f3d338c9
OB
17450 [BZ #15894]
17451 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17452
57f41c40
AS
17453 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17454 (arena_get2): Remove THREAD_STATS conditionals.
17455 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17456 (__malloc_stats, int): Likewise.
bdfe308a 17457
d674667c
MF
174582014-02-08 Mike Frysinger <vapier@gentoo.org>
17459
17460 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17461 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17462
6349768c
MF
17463 * manual/setjmp.texi: Fix typos/grammar errors.
17464
0b7c7473
MF
17465 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17466 Only return early when n is <= 0. Delete unused return statement.
17467
ac8cc9e3
MF
17468 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17469 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17470 * debug/tst-longjmp_chk3.c: New file.
17471
c5bb8e23
MF
17472 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17473 (test_main): Replace code with set_fortify_handler call.
17474 * debug/test-strcpy_chk.c: Likewise.
17475 * debug/tst-chk1.c: Likewise.
17476 * debug/tst-longjmp_chk.c: Likewise.
17477 * test-skeleton.c: Include fcntl.h & paths.h
17478 (set_fortify_handler): Define.
17479
10444e42
MF
17480 * debug/tst-longjmp_chk.c: Add header comment and include
17481 ../test-skeleton.c.
17482 (do_test): Mark static.
17483 (TEST_FUNCTION): Define.
17484
1e805e8d
MF
17485 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17486 (IP_PMTUDISC_INTERFACE): Likewise.
17487 (IP_MULTICAST_IF): Likewise.
17488 (IP_MULTICAST_TTL): Likewise.
17489 (IP_MULTICAST_LOOP): Likewise.
17490 (IP_ADD_MEMBERSHIP): Likewise.
17491 (IP_DROP_MEMBERSHIP): Likewise.
17492 (IP_UNBLOCK_SOURCE): Likewise.
17493 (IP_BLOCK_SOURCE): Likewise.
17494 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17495 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17496 (IP_MSFILTER): Likewise.
17497 (MCAST_JOIN_GROUP): Likewise.
17498 (MCAST_BLOCK_SOURCE): Likewise.
17499 (MCAST_UNBLOCK_SOURCE): Likewise.
17500 (MCAST_LEAVE_GROUP): Likewise.
17501 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17502 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17503 (MCAST_MSFILTER): Likewise.
17504 (IP_MULTICAST_ALL): Likewise.
17505 (IP_UNICAST_IF): Likewise.
17506
73f79bb7
MF
17507 * timezone/Makefile: Delete $(have-ksh) check.
17508 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17509 * timezone/tzselect.ksh: Add +x mode bits.
17510
8da79b60
MF
17511 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17512 (ANON_INODE_FS_MAGIC): Likewise.
17513 (BDEVFS_MAGIC): Likewise.
17514 (BINFMTFS_MAGIC): Likewise.
17515 (BTRFS_TEST_MAGIC): Likewise.
17516 (CRAMFS_MAGIC_WEND): Likewise.
17517 (DEBUGFS_MAGIC): Likewise.
17518 (ECRYPTFS_SUPER_MAGIC): Likewise.
17519 (EXT3_SUPER_MAGIC): Likewise.
17520 (EXT4_SUPER_MAGIC): Likewise.
17521 (FUTEXFS_SUPER_MAGIC): Likewise.
17522 (HOSTFS_SUPER_MAGIC): Likewise.
17523 (HUGETLBFS_MAGIC): Likewise.
17524 (MINIX3_SUPER_MAGIC): Likewise.
17525 (MTD_INODE_FS_MAGIC): Likewise.
17526 (NILFS_SUPER_MAGIC): Likewise.
17527 (OPENPROM_SUPER_MAGIC): Likewise.
17528 (PIPEFS_MAGIC): Likewise.
17529 (PSTOREFS_MAGIC): Likewise.
17530 (QNX6_SUPER_MAGIC): Likewise.
17531 (RAMFS_MAGIC): Likewise.
17532 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17533 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17534 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17535 (SECURITYFS_MAGIC): Likewise.
17536 (SELINUX_MAGIC): Likewise.
17537 (SMACK_MAGIC): Likewise.
17538 (SOCKFS_MAGIC): Likewise.
17539 (SQUASHFS_MAGIC): Likewise.
17540 (STACK_END_MAGIC): Likewise.
17541 (TMPFS_MAGIC): Likewise.
17542 (USBDEVICE_SUPER_MAGIC): Likewise.
17543 (V9FS_MAGIC): Likewise.
17544 (XENFS_SUPER_MAGIC): Likewise.
17545 (CRAMFS_MAGIC): Fix typo in comment.
17546 (EXT2_SUPER_MAGIC): Update comment.
17547 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17548
464263cc
JM
175492014-02-08 Joseph Myers <joseph@codesourcery.com>
17550
c6bfe5c4
JM
17551 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17552 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17553 * sysdeps/unix/sysv/linux/arm: Move directory from
17554 ports/sysdeps/unix/sysv/linux/arm.
17555 * README: Update listing for arm-*-linux-gnueabi.
17556
464263cc
JM
17557 * README: Remove mention of am33.
17558
32749f6c
RM
175592014-02-07 Roland McGrath <roland@hack.frob.com>
17560
17561 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17562 than the comma operator, to avoid "rhs of comma has no effect"
17563 compiler warnings.
17564 (__sigfillset, __sigandset, __sigorset): Likewise.
17565 * include/signal.h (__sigemptyset): Likewise.
17566 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17567
d5b396c1
AM
175682014-02-07 Allan McRae <allan@archlinux.org>
17569
17570 * version.h (RELEASE): Set to "development".
17571 (VERSION): Set to "2.19.90"
17572 * NEWS: Add 2.20 section.
17573
3bfff2ed
CD
175742014-02-06 Carlos O'Donell <carlos@redhat.com>
17575
17576 [BZ #16529]
17577 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17578
ee7cc385
SP
175792014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17580
17581 * manual/contrib.texi: Update entry for Carlos O'Donell,
17582 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17583
f877c4f2
CD
175842014-02-05 Carlos O'Donell <carlos@rehdat.com>
17585
27e839f6
CD
17586 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17587
f877c4f2
CD
17588 * sysdeps/unix/sysv/linux/kernel-features.h
17589 [__LINUX_KERNEL_VERSION >= 0x020621]
17590 (__ASSUME_PROC_PID_TASK_COMM): Define.
17591
68159946
SP
175922014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17593
ba17cdbd
SP
17594 [BZ #16398]
17595 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17596 conversion when destination buffer does not have enough space.
17597 * libio/tst-ftell-partial-wide.c: New test case.
17598 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17599
68159946
SP
17600 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17601 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17602 Leonard and Allan McRae.
17603
2b528732
DM
176042014-02-04 David S. Miller <davem@davemloft.net>
17605
17606 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17607 32-bit.
17608
0ff82463
AZ
176092014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17610
57f41c40
AS
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17612 New file
c01603f7
AZ
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17614 New file
57f41c40
AS
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17616 New file.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17618 New file.
c01603f7
AZ
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17620 New file.
57f41c40
AS
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17622 New file.
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17624 New file.
c01603f7
AZ
17625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17626 New file.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17628 New file.
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17630 New file.
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17632 New file.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17634 New file.
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17636 New file.
17637
176382014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17639
0ff82463
AZ
17640 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17641 * shlib-versions: Likewise.
17642
1695c773
AZ
176432014-02-04 Roland McGrath <roland@hack.frob.com>
17644 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17645
17646 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17647 (abilist-pattern): New variable, set to %-le.abilist.
17648
17649 * Makerules (abilist-pattern): New variable.
17650 (vpath): Use $(abilist-pattern) in place of %.abilist.
17651 (check-abi-% pattern rule): Likewise.
17652 (check-abi, update-abi): Likewise.
17653
6c0ce4b4
EW
176542014-02-04 Eric Wong <normalperson@yhbt.net>
17655
17656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17657
481e3524
CD
176582014-02-03 Carlos O'Donell <carlos@redhat.com>
17659
17660 * manual/startup.texi: Add next, previous, and top entries for
17661 the `Program Arguments' and `Environment Variables' nodes.
17662
375592d3
AO
176632014-02-03 Alexandre Oliva <aoliva@redhat.com>
17664
17665 * manual/macros.texi: Add comments before MTASC-safety macros.
17666
f54838ba
AO
17667 * manual/users.texi: Document MTASC-safety properties.
17668
57f41c40
AS
17669 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17670 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17671 @deftypefun, and add @safety note.
17672 * manual/signal.texi: Move comments that analyze the above
17673 functions to their home place.
17674
fd3daba4
AM
176752014-02-03 Allan McRae <allan@archlinux.org>
17676
17677 * po/sl.po: Update Slovenian translation from translation project.
17678
597636d7
AO
176792014-02-02 Alexandre Oliva <aoliva@redhat.com>
17680
17681 * manual/time.texi (timegm): Add missing blank after @c.
17682 Reported by Joseph Myers <joseph@codesourcery.com>.
17683
ee196e3c
AO
176842014-02-01 Alexandre Oliva <aoliva@redhat.com>
17685
17686 * manual/check-safety.sh: New.
17687 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17688
f8d529d5
AO
17689 * manual/terminal.texi: Document MTASC-safety properties.
17690
de55fdf4
AO
17691 * manual/filesys.texi: Document MTASC-safety properties.
17692
c3299c08
AO
17693 * manual/errno.texi: Document MTASC-safety properties.
17694
06e90b14
AO
17695 * manual/intro.texi: Document safety identifiers and
17696 conditionals.
17697
1acd4371
AO
17698 * manual/string.texi (wcstok): Fix prototype.
17699 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17700
23e5b8cb
AO
17701 * manual/time.texi: Document MTASC-safety properties.
17702
11087373
AO
17703 * manual/string.texi: Document MTASC-safety properties.
17704
5da2c93d
AO
17705 * manual/threads.texi: Document MTASC-safety properties.
17706
171e9210
AO
17707 * manual/stdio.texi: Document MTASC-safety properties.
17708
d9e02532
AO
17709 * manual/syslog.texi: Document MTASC-safety properties.
17710
6af8bab7
AO
17711 * manual/sysinfo.texi: Document MTASC-safety properties.
17712
663b02d7
AO
17713 * manual/startup.texi: Document MTASC-safety properties.
17714
973f180b
AO
17715 * manual/socket.texi: Document MTASC-safety properties.
17716
8f3c25c8
AO
17717 * manual/signal.texi: Document MTASC-safety properties.
17718
542210fb
AO
177192014-01-31 Alexandre Oliva <aoliva@redhat.com>
17720
17721 * manual/setjmp.texi: Document MTASC-safety properties.
17722
433c45a2
AO
17723 * manual/search.texi: Document MTASC-safety properties.
17724
c8ce789c
AO
17725 * manual/resource.texi: Document MTASC-safety properties.
17726
19f5d29c
AO
17727 * manual/process.texi: Document MTASC-safety properties.
17728
e2dfb7f4
AO
17729 * manual/platform.texi: Document MTASC-safety properties.
17730
8c1413f5
AO
17731 * manual/pipe.texi: Document MTASC-safety properties.
17732
03483ada
AO
17733 * manual/pattern.texi: Document MTASC-safety properties.
17734
29e7e2df
AO
17735 * manual/message.texi: Document MTASC-safety properties.
17736
9f529d7c
AO
17737 [BZ #12751]
17738 * manual/memory.texi: Document MTASC-safety properties.
17739
27aaa791
AO
17740 * manual/math.texi: Document MTASC-safety properties.
17741
f2d58726
AO
17742 * manual/locale.texi: Document MTASC-safety properties.
17743
2cc3615c
AO
17744 * manual/llio.texi: Document MTASC-safety properties.
17745
d9f0ec97
AO
17746 * manual/libdl.texi: New.
17747
e7c4409a
AO
17748 * manual/lang.texi: Document MTASC-safety properties.
17749
27bdc63c
AO
17750 * manual/job.texi: Document MTASC-safety properties.
17751
a7b90ea9
AO
17752 * manual/getopt.texi: Document MTASC-safety properties.
17753
c49130e3
AO
17754 * manual/ctype.texi: Document MTASC-safety properties.
17755
0d23a5c1
MR
177562014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17757
17758 [BZ #16046]
17759 * csu/libc-tls.c (static_map): Remove variable.
17760 (__libc_setup_tls): Use main executable's link map for TLS data.
17761 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17762 casing for LM_ID_BASE and GL(dl_nns).
17763 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17764 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17765 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17766 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17767 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17768 member.
17769 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17770 l_phnum members.
17771
0037bb60
AO
177722014-01-30 Alexandre Oliva <aoliva@redhat.com>
17773
17774 * manual/debug.texi: Document MTASC-safety properties.
17775
409e00bd
L
177762014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17777
17778 [BZ #16510]
17779 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17780 of __x86_64__ when disabling x87 inline functions.
17781
86e60666
AO
177822014-01-29 Alexandre Oliva <aoliva@redhat.com>
17783
17784 * manual/charset.texi: Document MTASC-safety properties.
17785
76167637
AO
17786 * manual/crypt.texi: Document MTASC-safety properties.
17787
e567f2a0
AO
17788 * manual/conf.texi: Document MTASC-safety properties.
17789
b719dafd
AO
17790 * manual/arith.texi: Document MTASC-safety properties.
17791
4a16c662
AO
17792 * manual/argp.texi: Document MTASC-safety properties.
17793
0a57b83e
AO
17794 * manual/macros.texi: Introduce macros to document multi
17795 thread, asynchronous signal and asynchronous cancellation
17796 safety properties.
17797 * manual/intro.texi: Introduce the properties themselves.
17798
feab2397
KK
177992014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17800
17801 * sysdeps/sh/sh4/Makefile: New file.
17802
1c0d11bc
AS
178032014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17804
17805 * math/gen-libm-test.pl ($srcdir): New variable.
17806 ($auto_input): Use it.
17807
af37a8a3
SP
178082014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
d7b00f98
SP
17810 [BZ #16506]
17811 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17812 access beyond array bounds when parsing netgroups file.
17813
af37a8a3
SP
17814 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17815 the old buffer before realloc.
17816
0c00f062
AM
178172014-01-27 Allan McRae <allan@archlinux.org>
17818
17819 * po/fr.po: Update French translation from translation project.
17820
7d69a1b0
KK
178212014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17822
17823 * sysdeps/sh/libm-test-ulps: Regenerate.
17824
6e697ff7
DM
178252014-01-24 David S. Miller <davem@davemloft.net>
17826
17827 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17828
9cadb35c
KK
178292014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17830
17831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17832 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17833
5d41dadf
SP
178342013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17835
17836 [BZ #16474]
17837 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17838 string pointers after reallocation.
17839
0bad441c
KK
178402014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17841
17842 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17843 __SH4A__ instead of __SH_FPU_ANY__.
17844
7007c661
KK
178452014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17846
17847 * sysdeps/sh/fpu_control.h: New file.
17848 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17849 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17850 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17851 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17852 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17853 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17854 * sysdeps/sh/sys/ucontext.h: Remove.
17855 * sysdeps/sh/sys: Remove directory.
17856
0f0c35e4
AK
178572014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17858
17859 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17860 s390/sys/ucontext.h.
17861 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17863
4959e284
L
178642014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 [BZ #15605]
17867 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17868
d98720e0
AZ
178692014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17870
17871 [BZ#16431]
17872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17873 Adjust the vDSO correctly for internal calls.
17874 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17875
91cbd0bc
AM
178762014-01-20 Allan McRae <allan@archlinux.org>
17877
17878 * po/ca.po: Update Catalan translation from translation project.
17879
7a02cfad
MF
178802014-01-16 Mike Frysinger <vapier@gentoo.org>
17881
17882 * sysdeps/s390/sotruss-lib.c: New file.
17883
736c304a
AZ
178842014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17885
17886 [BZ#16430]
6e077ee5 17887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17888 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17889 local calls issues by not having a PLT stub required for IFUNC calls.
17890 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17891
94d0cea0
JM
178922014-01-16 Joseph Myers <joseph@codesourcery.com>
17893
17894 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17895 * math/test-fpucw-static.c: Likewise.
17896
980cb518
SP
178972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17898
17899 [BZ #16453]
17900 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17901
2393fc01
AZ
179022014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17903
17904 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17905 implementation for powerpc.
17906
d359bcc2
OB
179072014-01-15 Ondřej Bílka <neleai@seznam.cz>
17908
17909 [BZ #14782]
17910 * sysdeps/posix/system.c (__libc_system): Do not enable
17911 asynchronous cancellation.
17912
7beb48cb
AK
179132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17914
17915 [BZ #16427]
17916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17917 handling only for numbers special also in the IEEE case.
17918
c20d5bf5
AK
179192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17920
17921 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17922
e83bd4ee
AM
179232014-01-11 Allan McRae <allan@archlinux.org>
17924
76d0ea69
AM
17925 * po/bg.po: Update Bulgarian translation from translation project.
17926
e83bd4ee
AM
17927 * po/de.po: Update German translation from translation project.
17928
bc2ba20a
RM
179292014-01-10 Roland McGrath <roland@hack.frob.com>
17930
17931 * sysdeps/generic/gcc-compat.h: New file.
17932
649ecea2
SP
179332014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17934
17935 * benchtests/asin-inputs: Correct slow inputs.
17936 * benchtests/acos-inputs: Likewise.
17937
1b19c006
AM
179382014-01-10 Allan McRae <allan@archlinux.org>
17939
a46dab08
AM
17940 * po:sv.po: Update Swedish translation from translation project.
17941
421df74a
AM
17942 * po/vi.po: Update Vietnamese translation from translation project.
17943
d61c51a7
AM
17944 * po/eo.po: Update Esperanto translation from translation project.
17945
0339a319
AM
17946 * po/cs.po: Update Czech translation from translation project.
17947
94ad3e99
AM
17948 * po/nl.po: Update Dutch translation from translation project.
17949
e349ca71
AM
17950 * po/pl.po: Update Polish translation from translation project.
17951
ddf930c1
AM
17952 * po/ru.po: Update Russian translation from translation project.
17953
1b19c006
AM
17954 * po/uk.po: Update Ukrainian translation from translation project.
17955
9f236c49
BM
179562014-01-08 Brooks Moses <bmoses@google.com>
17957
17958 * elf/dl-load.c: Fix comment typo.
17959
cd6701cf
CD
179602014-01-08 Carlos O'Donell <carlos@redhat.com>
17961
17962 * po/header.pot: Rename to...
17963 * po/pot.header: ... this.
17964 * po/Makefile: Use pot.header.
17965
66671c84
YK
179662014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17967 Maxim Kuvyrkov <maxim@kugelworks.com>
17968
17969 [BZ #16394]
cd6701cf
CD
17970 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17971 SRC and DEST against LEN.
66671c84 17972
38f34581
AZ
179732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17974
17975 [BZ #16414]
17976 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17977 implementation.
17978 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17979
179802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17981
17982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17983
4c327f2a
JM
179842014-01-08 Joseph Myers <joseph@codesourcery.com>
17985
17986 [BZ #16408]
17987 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17988 for large positive arguments.
17989
b821f414
JM
179902014-01-07 Joseph Myers <joseph@codesourcery.com>
17991
1f0f2067
JM
17992 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17993
a5a326f6
JM
17994 * math/auto-libm-test-in: Mark various tests with
17995 xfail-rounding:ldbl-128ibm.
17996 * math/auto-libm-test-out: Regenerated.
17997
b821f414
JM
17998 [BZ #16407]
17999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18000 Increase overflow threshold.
18001
94c8a4bc
OB
180022014-01-07 Ondřej Bílka <neleai@seznam.cz>
18003
18004 [BZ #14286]
18005 * stdio-common/vfprintf.c: Check for integer overflow.
18006
87ded0c3
AK
180072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18008
18009 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18010 the first argument and return value of __tls_get_addr_internal.
18011
c5eebdd0
AK
180122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18013
18014 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18015 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18016
05d138ef
AK
180172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18018
18019 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18020 * sysdeps/s390/rtld-global-offsets.sym: New file.
18021 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18022 GLIBC_2.19 symbol.
18023 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18024 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18026 ... this.
18027 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18029 ... this.
18030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18031 Regenerate.
18032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18033 Regenerate.
18034 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18035 halfs of GPRs for high_gprs contexts.
18036 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18037 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18038 field.
18039 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18040 uc_flags field.
18041 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18042 64 bit versions:
18043 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18044 for high GPRs (uc_high_gprs) and for future extensions
18045 (__reserved).
18046 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18047 for future extensions (__reserved).
18048 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18049 64 bit versions:
18050 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18051 SC_HIGHGPRS offset definition.
18052 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18053 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18054
93a45ff1
AK
18055 * Versions.def: Add GLIBC_2.19 for libpthread.
18056 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18057 siglongjmp for libpthread with GLIBC_2.19 symver.
18058 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18059 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18060 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18061 * sysdeps/s390/__longjmp.c: New file.
18062 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18063 * sysdeps/s390/longjmp.c: New file.
18064 * sysdeps/s390/setjmp.S: New file.
18065 * sysdeps/s390/sigjmp.S: New file.
18066 * sysdeps/s390/v1-longjmp.c: New file.
18067 * sysdeps/s390/v1-setjmp.h: New file.
18068 * sysdeps/s390/v1-sigjmp.c: New file.
18069 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18070 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18071 GLIBC_2.19 version.
18072 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18073 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18074 versioned symbols for ____longjmp_chk.
18075 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18076 Likewise.
18077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18078 Regenerate.
18079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18080 Regenerate.
18081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18082 Regenerate.
18083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18084 Regenerate.
18085 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18086 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18087 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18088 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18089 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18090 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18091 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18092 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18093 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18094 * sysdeps/s390/rtld-__longjmp.c: New file.
18095 * sysdeps/s390/rtld-setjmp.S: New file.
18096
eb3fc44b
JM
180972014-01-06 Joseph Myers <joseph@codesourcery.com>
18098
18099 [BZ #16400]
18100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18101 Return -__logl (x) for small positive arguments without evaluating
18102 a polynomial.
18103
9341dde4
MF
181042014-01-06 Mike Frysinger <vapier@gentoo.org>
18105
18106 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18107 Rename to ...
18108 (__ptrace_peeksiginfo_args): ... this.
18109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18112
4cff0293
AM
181132014-01-06 Allan McRae <allan@archlinux.org>
18114
18115 * inet/netinet/in.h: Fix typo in comment.
18116
75595dcf
AJ
181172014-01-05 Andreas Jaeger <aj@suse.de>
18118
18119 * sysdeps/i386/fpu/libm-test-ulps: Update.
18120
79c1e109
AM
181212014-01-05 Allan McRae <allan@archlinux.org>
18122
dd804818
AM
18123 * po/libc.pot: Regenerated.
18124
79c1e109
AM
18125 * malloc/memusagestat.c: Fix gettext call formatting.
18126
0c813d1f
SK
181272014-01-04 Sami Kerola <kerolasa@iki.fi>
18128
18129 * nscd/nscd.c: Improve usage() output.
18130
20f4a8d9
MF
181312014-01-04 Mike Frysinger <vapier@gentoo.org>
18132
18133 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18134 * sysdeps/unix/sysv/linux/configure: Regenerated.
18135 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18136 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18137
22562bb2
JM
181382014-01-03 Joseph Myers <joseph@codesourcery.com>
18139
18140 [BZ #16390]
18141 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18142 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18143
d7ad2d9b
AZ
181442014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145
18146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18147 extra tokens at end of #undef directive.
18148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18149 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18151
7dd009d8
JM
181522014-01-03 Joseph Myers <joseph@codesourcery.com>
18153
24db925a
JM
18154 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18155
7dd009d8
JM
18156 * math/auto-libm-test-in: Mark various tests with
18157 xfail-rounding:ldbl-128ibm.
18158 * math/auto-libm-test-out: Regenerated.
18159
396e3ecf
JM
181602014-01-02 Joseph Myers <joseph@codesourcery.com>
18161
819e5d50
JM
18162 [BZ #16386]
18163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18164 numbers with subnormal high part when calculating exponent.
18165
90b6a1e5
JM
18166 [BZ #16385]
18167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18168 fabs.
18169
396e3ecf
JM
18170 [BZ #16384]
18171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18172 M_LN2l.
18173 (__ieee754_acoshl): Use __log1pl not __log1p.
18174
6c8dbf00
OB
181752013-01-02 Ondřej Bílka <neleai@seznam.cz>
18176
57f41c40
AS
18177 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18178 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18179 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18180 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18181 (reused_arena, arena_get2): Convert to GNU style.
18182 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18183 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18184 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18185 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18186 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18187 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18188 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18189 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18190 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18191 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18192 * malloc/malloc.h: Likewise.
57f41c40
AS
18193 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18194 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18195 * malloc/mcheck.h: Likewise.
57f41c40
AS
18196 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18197 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18198 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18199 * malloc/morecore.c (__default_morecore): Likewise.
18200 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18201 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18202 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18203 (print_and_abort): Likewise.
6c8dbf00
OB
18204 * malloc/obstack.h: Likewise.
18205 * malloc/set-freeres.c (__libc_freeres): Likewise.
18206 * malloc/tst-mallocstate.c (main): Likewise.
18207 * malloc/tst-mtrace.c (main): Likewise.
18208 * malloc/tst-realloc.c (do_test): Likewise.
18209
d4124212
SP
182102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18211
9a3c6a6f
SP
18212 [BZ #16366]
18213 * nscd/netgroupcache.c (do_notfound): New function.
18214 (addgetnetgrentX): Use it.
18215
d4124212
SP
18216 [BZ # 16365]
18217 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18218 NSS_STATUS_NOTFOUND.
18219
97b9a009
JM
182202014-01-01 Joseph Myers <joseph@codesourcery.com>
18221
18222 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18224
d4697bc9
AM
182252014-01-01 Allan McRae <allan@archlinux.org>
18226
ddb3687f
AM
18227 * scripts/update-copyrights: Update configure input file suffix.
18228
88726d48
AM
18229 * NEWS: Update copyright year.
18230 * catgets/gencat.c: Likewise.
18231 * csu/version.c: Likewise.
18232 * debug/catchsegv.sh: Likewise.
18233 * debug/pcprofiledump.c: Likewise.
18234 * debug/xtrace.sh: Likewise.
18235 * elf/ldconfig.c: Likewise.
18236 * elf/ldd.bash.in: Likewise.
18237 * elf/pldd.c: Likewise.
18238 * elf/sotruss.ksh: Likewise.
18239 * elf/sprof.c: Likewise.
18240 * iconv/iconv_prog.c: Likewise.
18241 * iconv/iconvconfig.c: Likewise.
18242 * locale/programs/locale.c: Likewise.
18243 * locale/programs/localedef.c: Likewise.
18244 * login/programs/pt_chown.c: Likewise.
18245 * malloc/memusage.sh: Likewise.
18246 * malloc/memusagestat.c: Likewise.
18247 * malloc/mtrace.pl: Likewise.
18248 * manual/libc.texinfo: Likewise.
18249 * nscd/nscd.c: Likewise.
18250 * nss/getent.c: Likewise.
18251 * nss/makedb.c: Likewise.
18252 * posix/getconf.c: Likewise.
18253 * scripts/test-installation.pl: Likewise.
18254
d4697bc9
AM
18255 * All files with FSF copyright notices: Update copyright dates
18256 using scripts/update-copyrights.
18257 * intl/plural.c: Regenerated.
18258 * locale/programs/charmap-kw.h: Likewise.
18259 * locale/programs/locfile-kw.h: Likewise.
18260
c8590f9d
MF
182612013-12-31 Mike Frysinger <vapier@gentoo.org>
18262
18263 * sysdeps/unix/sysv/linux/configure: Regenerated.
18264 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18265 the linux/fanotify.h header.
18266 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18267 HAVE_LINUX_FANOTIFY_H is defined.
18268
b19221b9
SP
182692013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18270
dd1d85e5
SP
18271 * benchtests/cos-inputs: New inputs.
18272 * benchtests/sin-inputs: Likewise.
18273
1acbb90f
SP
18274 * benchtests/atan-inputs: New inputs. Fix name of multiple
18275 precision fallback inputs.
18276
4c012ed3
SP
18277 * benchtests/atanh-inputs: New inputs.
18278 * benchtests/tanh-inputs: Likewise.
18279
eff98324
SP
18280 * benchtests/acosh-inputs: New inputs.
18281 * benchtests/asinh-inputs: Likewise.
18282
ce641152
SP
18283 * benchtests/cosh-inputs: New inputs.
18284 * benchtests/sinh-inputs: Likewise.
18285
b19221b9
SP
18286 * benchtests/acos-inputs: Add more inputs.
18287 * benchtests/asin-inputs: Likewise.
18288
030a4976 182892013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18290
030a4976 18291 [BZ #16375]
9dcc8f11
VS
18292 * manual/arith.texi: Fix spelling.
18293 * manual/charset.texi: Likewise.
18294 * manual/errno.texi: Likewise.
18295 * manual/filesys.texi: Likewise.
18296 * manual/lang.texi: Likewise.
18297 * manual/llio.texi: Likewise.
18298 * manual/locale.texi: Likewise.
18299 * manual/message.texi: Likewise.
18300 * manual/resource.texi: Likewise.
18301 * manual/search.texi: Likewise.
18302 * manual/setjmp.texi: Likewise.
18303 * manual/stdio.texi: Likewise.
18304 * manual/string.texi: Likewise.
18305 * manual/sysinfo.texi: Likewise.
18306 * manual/time.texi: Likewise.
18307
11520a57
CD
183082013-12-27 Carlos O'Donell <carlos@redhat.com>
18309
18310 * po/sl.po: New file.
18311
471103ae
MF
183122013-12-27 Mike Frysinger <vapier@gentoo.org>
18313
18314 * .gitignore: Add core/.gdbinit/.gdb_history.
18315
6c9642ed
AM
183162013-12-27 Allan McRae <allan@archlinux.org>
18317
18318 [BZ #16369]
18319 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18320 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18321
3f637079
BM
183222013-12-24 Brooks Moses <bmoses@google.com>
18323
18324 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18325 all compilers that claim C++98 compliance, not just GCC.
18326 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18327 Likewise.
18328
abc26e99
MK
183292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18330
18331 * NEWS: Restore accidentally deleted bug-fix entries.
18332
362b47fe
MK
183332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18334 Ondřej Bílka <neleai@seznam.cz>
18335
18336 [BZ #15073]
18337 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18338 have_lock.
362b47fe 18339
b9bcbbcb
OB
183402013-12-23 Ondřej Bílka <neleai@seznam.cz>
18341
18342 [BZ #12986]
18343 * manual/stdio.texi (String Input Conversions): Clarify that character
18344 classes are not supported.
18345
fb55fcd2
AZ
183462013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18347
18348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18349
ef7344f0
JM
183502013-12-22 Joseph Myers <joseph@codesourcery.com>
18351
4f40e4b3
JM
18352 [BZ #16337]
18353 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18354 Calculate results for small negative arguments directly rather
18355 than using reflection formula with special underflow handling.
18356
ef7344f0
JM
18357 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18358 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18359 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18360 (fchflags): Likewise.
18361 (revoke): Likewise.
18362 (setlogin): Likewise.
18363 (sigaltstack): Likewise.
18364 (wait4): Likewise.
18365 (sigblock): Remove.
18366 (sigsetmask): Likewise.
18367 (wait3): Likewise.
18368 (waitpid): Likewise.
18369 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18370 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18371 file.
18372 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18373 * sysdeps/unix/bsd/Makefile: ... here.
18374 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18375 * sysdeps/unix/bsd/Versions: ... here.
18376 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18377 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18378 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18379 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18380 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18381 * sysdeps/unix/bsd/sigblock.c: ... here.
18382 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18383 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18384 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18385 * sysdeps/unix/bsd/sigvec.c: ... here.
18386 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18387 * sysdeps/unix/bsd/tcdrain.c: ... here.
18388 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18389 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18390 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18391 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18392 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18393 * sysdeps/unix/bsd/wait.c: ... here.
18394 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18395 * sysdeps/unix/bsd/wait3.c: ... here.
18396 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18397 * sysdeps/unix/bsd/waitpid.c: ... here.
18398
5b0626b9
JM
183992013-12-21 Joseph Myers <joseph@codesourcery.com>
18400
18401 [BZ #16356]
18402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18403 round-to-nearest for [!USE_AS_EXPM1L].
18404 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18405 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18406 more tests of exp and exp10. Expect some exp10 tests to miss
18407 exceptions or fail in directed rounding modes.
18408 * math/auto-libm-test-out: Regenerated.
18409 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18410 (exp10_test_tonearest): New function.
18411 (exp10_towardzero_test_data): New array.
18412 (exp10_test_towardzero): New function.
18413 (exp10_downward_test_data): New array.
18414 (exp10_test_downward): New function.
18415 (exp10_upward_test_data): New array.
18416 (exp10_test_upward): New function.
18417 (main): Call the new functions.
18418 * sysdeps/i386/fpu/libm-test-ulps: Update.
18419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420
7fda5682
JM
184212013-12-20 Joseph Myers <joseph@codesourcery.com>
18422
31e3a405
JM
18423 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18424 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18425 * math/auto-libm-test-out: Regenerated.
18426 * math/libm-test.inc (acosh_test_data): Add more tests.
18427 (atanh_test_data): Likewise.
18428 (ceil_test_data): Likewise.
18429 (copysign_test_data): Likewise.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432
85bff96a
JM
18433 * timezone/checktab.awk: Update from tzcode 2013i.
18434 * timezone/private.h: Likewise.
18435 * timezone/scheck.c: Likewise.
18436 * timezone/tzfile.h: Likewise.
18437 * timezone/tzselect.ksh: Likewise.
18438 * timezone/zdump.c: Likewise.
18439 * timezone/zic.c: Likewise.
18440
b7867a3b
JM
18441 * math/auto-libm-test-in: Add tests of cpow.
18442 * math/auto-libm-test-out: Regenerated.
18443 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18444 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18445 mpc_cc_c.
18446 (func_calc_desc): Add mpc_cc_c union field.
18447 (test_functions): Add cpow.
18448 (special_fill_2pi): New function.
18449 (special_real_inputs): Add 2pi.
18450 (calc_generic_results): Handle mpc_cc_c.
18451 * sysdeps/i386/fpu/libm-test-ulps: Update.
18452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453
7fda5682
JM
18454 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18455 csqrt, ctan and ctanh.
18456 * math/auto-libm-test-out: Regenerated.
18457 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18458 (TEST_COND_x86): Likewise.
18459 (ccos_test_data): Use AUTO_TESTS_c_c.
18460 (ccosh_test_data): Likewise.
18461 (cexp_test_data): Likewise.
18462 (clog_test_data): Likewise.
18463 (csqrt_test_data): Likewise.
18464 (ctan_test_data): Likewise.
18465 (ctan_tonearest_test_data): Likewise.
18466 (ctan_towardzero_test_data): Likewise.
18467 (ctan_downward_test_data): Likewise.
18468 (ctan_upward_test_data): Likewise.
18469 (ctanh_test_data): Likewise.
18470 (ctanh_tonearest_test_data): Likewise.
18471 (ctanh_towardzero_test_data): Likewise.
18472 (ctanh_downward_test_data): Likewise.
18473 (ctanh_upward_test_data): Likewise.
18474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18475 mpc_c_c.
18476 (func_calc_desc): Add mpc_c_c union field.
18477 (FUNC_mpc_c_c): New macro.
18478 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18479 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18480 ctanh.
18481 (special_fill_min_subnorm_p120): New function.
18482 (special_real_inputs): Add min_subnorm_p120.
18483 (calc_generic_results): Handle mpc_c_c.
18484 * sysdeps/i386/fpu/libm-test-ulps: Update.
18485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18486
5ff8d60e
SP
184872013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18488
57f41c40
AS
18489 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18490 (do_sin_slow): New functions.
18491 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18492 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18493
84ba214c
SP
18494 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18495 Use M to change sign of result instead of X. Assume X is
18496 positive.
18497 (csloww1): Likewise.
18498 (__sin): Adjust.
18499 (__cos): Adjust.
18500
975195e4
SP
18501 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18502 arguments A and DA.
18503 (__sin): Adjust.
18504 (__cos): Likewise.
18505
5ff8d60e
SP
18506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18507 (__cos): Likewise.
18508 (sloww1): Don't adjust sign of DX.
18509 (csloww1): Likewise.
18510 (sloww2): Use X directly and don't adjust sign of DX.
18511 (csloww2): Likewise.
18512
eb983568
JM
185132013-12-19 Joseph Myers <joseph@codesourcery.com>
18514
64a17f1a
JM
18515 * math/auto-libm-test-in: Add tests of cabs and carg.
18516 * math/auto-libm-test-out: Regenerated.
18517 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18518 (carg_test_data): Likewise.
18519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18520 mpc_c_f.
18521 (func_calc_desc): Add mpc_c_f union field.
18522 (test_functions): Add cabs and carg.
18523 (calc_generic_results): Handle mpc_c_f.
18524
eb983568
JM
18525 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18526 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18527 as a macro and a compat symbol.
18528 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18529 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18530 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18531 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18532 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18534 not use .hidden.
18535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18536 Likewise.
18537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18538 Likewise.
18539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18540 Likewise.
18541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18542 Likewise.
18543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18544 Likewise.
18545 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18546 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18547 from GLIBC_2.3.2.
18548
6eeb678a
AZ
185492013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18550
18551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18552
6f6fc482
JM
185532013-12-19 Joseph Myers <joseph@codesourcery.com>
18554
21fea2e2
JM
18555 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18556 trailing whitespace removed.
18557 * scripts/config.guess: Update to version 2013-11-29.
18558 * scripts/config.sub: Update to version 2013-10-01.
18559
6f6fc482
JM
18560 * math/auto-libm-test-in: Add tests of sincos.
18561 * math/auto-libm-test-out: Regenerated.
18562 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18563 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18564 mpfr_f_11.
18565 (func_calc_desc): Add mpfr_f_11 union field.
18566 (test_functions): Add sincos.
18567 (calc_generic_results): Handle mpfr_f_11.
18568 * sysdeps/i386/fpu/libm-test-ulps: Update.
18569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18570
83f5c32d
AS
185712013-12-19 Andreas Schwab <schwab@suse.de>
18572
18573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18574 CALL_MCOUNT.
18575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18576 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18577 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18578
c688b419
JM
185792013-12-19 Joseph Myers <joseph@codesourcery.com>
18580
335ee092
JM
18581 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18584
f88acd39
JM
18585 [BZ #16293]
18586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18587 round-to-nearest mode when using frndint.
18588 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18589 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18591 Likewise.
18592 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18593 sinh test to fail.
18594 * math/auto-libm-test-out: Regenerated.
18595 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18596 (TEST_COND_x86): Likewise.
18597 (expm1_tonearest_test_data): New array.
18598 (expm1_test_tonearest): New function.
18599 (expm1_towardzero_test_data): New array.
18600 (expm1_test_towardzero): New function.
18601 (expm1_downward_test_data): New array.
18602 (expm1_test_downward): New function.
18603 (expm1_upward_test_data): New array.
18604 (expm1_test_upward): New function.
18605 (main): Run the new test functions.
18606 * sysdeps/i386/fpu/libm-test-ulps: Update.
18607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18608
c688b419
JM
18609 * include/features.h: Update comment documenting feature test
18610 macros. Mention _DEFAULT_SOURCE in comment.
18611 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18612 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18613 _BSD_SOURCE and _SVID_SOURCE.
18614 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18615 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18616 !_SVID_SOURCE]: Likewise.
18617 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18618 (__USE_POSIX_IMPLICITLY): Define.
18619 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18620 (_POSIX_SOURCE): Undefine and redefine.
18621 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18622 (_POSIX_C_SOURCE): Likewise.
18623 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18624 (Feature Test Macros): Update documentation of default features.
18625
9f6e964c
RS
186262013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18627
18628 * benchtests/Makefile: Add bench-strtok.
18629 * benchtests/bench-strtok.c: New file: strtok benchtest.
18630
ee0a148a
AM
186312013-12-19 Allan McRae <allan@archlinux.org>
18632
18633 * manual/install.texi: Suppress menu for plain text output.
18634 * INSTALL: Regenerated.
18635
b9ab448f
BM
186362013-12-18 Brooks Moses <bmoses@google.com>
18637
18638 [BZ #15846]
18639 * misc/getauxval.c: Include errno.h.
18640 (__getauxval): Set errno to ENOENT if the requested type is not
18641 found.
18642 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18643 don't declare with __attribute_const__.
18644 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18645 * manual/startup.texi: Document that getauxval sets errno.
18646
23776487
JM
186472013-12-18 Joseph Myers <joseph@codesourcery.com>
18648
f889953b
JM
18649 * math/auto-libm-test-in: Add tests of jn and yn.
18650 * math/auto-libm-test-out: Regenerated.
18651 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18652 (yn_test_data): Likewise.
18653 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18654 mpfr_if_f.
18655 (func_calc_desc): Add mpfr_if_f union field.
18656 (FUNC_mpfr_if_f): New macro.
18657 (test_functions): Add jn and yn.
18658 (calc_generic_results): Assert type of second input for
18659 mpfr_ff_f. Handle mpfr_if_f.
18660 (output_for_one_input_case): Disable all checking for arguments
18661 fitting floating-point types in case of an integer argument.
18662 * sysdeps/i386/fpu/libm-test-ulps: Update.
18663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18664
23776487
JM
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18666 Don't expect fegetround reference in libm.so.
18667
cb756c6d
MS
186682013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18669
18670 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18671 $(config-cflags-nofma).
18672
2dec468f
JM
186732013-12-18 Joseph Myers <joseph@codesourcery.com>
18674
5953eb3a
JM
18675 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18676 * math/auto-libm-test-out: Regenerated.
18677
2dec468f
JM
18678 [BZ #16338]
18679 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18680 to determine exponent and adjust argument to have exponent of -1.
18681 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18682 log2.
18683 * math/auto-libm-test-out: Regenerated.
18684 * sysdeps/i386/fpu/libm-test-ulps: Update.
18685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18686
4d84e6ad
OB
186872013-12-18 Ondřej Bílka <neleai@seznam.cz>
18688
18689 * manual/probes.texi: Remove cases when per-thread arenas are
18690 disabled.
18691
1818483b
AS
186922013-12-18 Andreas Schwab <schwab@suse.de>
18693
18694 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18695 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18696 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18697 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18698 * sysdeps/i386/i686/multiarch/Makefile: Update.
18699 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18700
25de95bf
JM
187012013-12-17 Joseph Myers <joseph@codesourcery.com>
18702
18703 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18704 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18705
674762d9
PE
187062013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18707
ed27ed83 18708 [BZ #15968]
0748546f
PE
18709 Support TZ transition times < 00:00:00.
18710 This is needed for version-3 tz-format files; it supports time
18711 stamps past 2037 for America/Godthab (the only entry in the tz
18712 database for which this change is relevant).
18713 * manual/time.texi (TZ Variable): Document transition times
18714 from -167:59:59 through -00:00:01.
18715 * time/tzset.c (tz_rule): Time of day is now signed.
18716 (__tzset_parse_tz): Parse negative time of day.
18717
4480e934
PE
18718 Document TZ transition times >= 25:00:00.
18719 * manual/time.texi (TZ Variable): Document transition times from
18720 25:00:00 through 167:59:59. These are already supported, and this
18721 support will help with version-3 tz-format files.
18722
69947401
PE
18723 * manual/time.texi (TZ Variable): Modernize North America example
18724 to reflect current (i.e., 2007-and-later) daylight saving rules.
18725
674762d9
PE
18726 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18727
7011c262
JM
187282013-12-17 Joseph Myers <joseph@codesourcery.com>
18729
2fc6557e
JM
18730 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18731 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18734 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18735 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18736 * sysdeps/unix/bsd/clock.c: Likewise.
18737 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18738 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18739 * sysdeps/unix/bsd/init-posix.c: Likewise.
18740 * sysdeps/unix/bsd/poll.c: Likewise.
18741 * sysdeps/unix/bsd/ptsname.c: Likewise.
18742 * sysdeps/unix/bsd/seekdir.c: Likewise.
18743 * sysdeps/unix/bsd/setegid.c: Likewise.
18744 * sysdeps/unix/bsd/seteuid.c: Likewise.
18745 * sysdeps/unix/bsd/setgid.c: Likewise.
18746 * sysdeps/unix/bsd/setrgid.c: Likewise.
18747 * sysdeps/unix/bsd/setruid.c: Likewise.
18748 * sysdeps/unix/bsd/setsid.c: Likewise.
18749 * sysdeps/unix/bsd/setuid.c: Likewise.
18750 * sysdeps/unix/bsd/sigaction.c: Likewise.
18751 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18752 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18753 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18754 * sysdeps/unix/bsd/telldir.c: Likewise.
18755 * sysdeps/unix/bsd/times.c: Likewise.
18756 * sysdeps/unix/bsd/usleep.c: Likewise.
18757
029c7b25
JM
18758 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18759 ($(objpfx)libbsd-compat.a): Remove rule.
18760
7011c262
JM
18761 * include/features.h (__FAVOR_BSD): Do not define.
18762 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18763 features conflicting with POSIX.
18764 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18765 (_BSD_SOURCE): Remove description of not being a subset of other
18766 feature test macros.
18767 * manual/job.texi (getpgrp): Do not document BSD version.
18768 (getpgid): Do not document by reference to BSD getpgrp.
18769 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18770 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18771 * signal/signal.h [__FAVOR_BSD]: Likewise.
18772 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18773 instead of making contents conditional on [__FAVOR_BSD].
18774 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18775
affb6f78
AZ
187762013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18777
18778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18779
c88769dd
JM
187802013-12-17 Joseph Myers <joseph@codesourcery.com>
18781
6432a540
JM
18782 [BZ #16314]
18783 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18784 values below 2**-450, not 2**-500.
18785 * math/auto-libm-test-in: Don't allow spurious underflow from
18786 hypot.
18787 * math/auto-libm-test-out: Regenerated.
18788
c88769dd
JM
18789 [BZ #16316]
18790 [BZ #16330]
18791 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18792 values of ha and hb and sort them after adjusting subnormal
18793 arguments.
18794 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18795 Likewise.
18796 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18797 values of ea and eb and sort them after adjusting subnormal
18798 arguments.
18799 * math/auto-libm-test-in: Do not expect some hypot tests of
18800 subnormals to fail. Add more hypot tests.
18801 * math/auto-libm-test-out: Regenerated.
18802
29618f6b
KK
188032013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18804
18805 [BZ #13304]
18806 * sysdeps/sh/s_fma.c: New file.
18807 * sysdeps/sh/s_fmaf.c: New file.
18808 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18809 version.
18810 * sysdeps/sh/Implies: Add sh/soft-fp.
18811
eacfdfbf
RM
188122013-12-16 Roland McGrath <roland@hack.frob.com>
18813
18814 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18815 level of indirection to members `objname', `errstring', `malloced'.
18816 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18817 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18818 it as the __longjmp argument (just pass 1 instead).
18819 (_dl_catch_error): Initialize C with argument pointers and address of
18820 volatile local ERRCODE rather than copying values out of C at return.
18821
ff362e5b
JM
188222013-12-16 Joseph Myers <joseph@codesourcery.com>
18823
18824 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18825 * math/auto-libm-test-out: Regenerated.
18826 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18827 (hypot_test_data): Likewise.
18828 (pow_test_data): Likewise.
18829 (pow_tonearest_test_data): Likewise.
18830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18831 mpfr_ff_f.
18832 (func_calc_desc): Add mpfr_ff_f union field.
18833 (FUNC_mpfr_ff_f): New macro.
18834 (test_functions): Add atan2, hypot and pow.
18835 (special_fill_min): New function.
18836 (special_fill_minus_min): Likewise.
18837 (special_fill_min_subnorm): Likewise.
18838 (special_fill_minus_min_subnorm): Likewise.
18839 (special_real_inputs): Add min, -min, min_subnorm and
18840 -min_subnorm.
18841 (calc_generic_results): Handle mpfr_ff_f.
18842 * sysdeps/i386/fpu/libm-test-ulps: Update.
18843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18844
5764c27f
WN
188452013-12-16 Will Newton <will.newton@linaro.org>
18846
18847 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18848 (Aligned Memory Blocks): Add documentation for aligned_alloc
18849 and suggest it as an alternative to posix_memalign.
18850 (Hooks for Malloc): Document __memalign_hook is also called
18851 for aligned_alloc. (Summary of Malloc): Add summary for
18852 aligned alloc. Document __memalign_hook is also called
18853 for aligned_alloc.
18854
0a096e44
WN
188552013-12-16 Will Newton <will.newton@linaro.org>
18856
18857 * manual/memory.texi (Malloc Examples): Clarify default
18858 alignment documentation. Suggest posix_memalign rather
18859 than memalign or valloc.
18860 (Aligned Memory Blocks): Remove suggestion to use memalign
18861 or valloc. Remove obsolete comment about BSD.
18862 Document memalign errno values and mark the function obsolete.
18863 Document posix_memalign returned error codes. Mark valloc
18864 as obsolete. (Hooks for Malloc): __memalign_hook is also
18865 called for posix_memalign and valloc.
18866 (Summary of Malloc): Add posix_memalign to function summary.
18867 __memalign_hook is also called for posix_memalign and valloc.
18868
8d561986
SP
188692013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18870
18871 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18872 TAYLOR_SIN.
18873 (__sin): Adjust.
18874 (__cos): Likewise.
18875 (sloww): Use mynumber union. Expand ternary operator into
18876 if-else statements.
18877 (cslow): use mynumber union.
18878
73616a74
AM
188792013-12-16 Allan McRae <allan@archlinux.org>
18880
9e8ac24b
AM
18881 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18882 * configure: Regenerated.
18883
6f8e37eb
AM
18884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18885
8894bad3
AM
18886 [BZ #14120]
18887 * configure.ac: Added --enable-maintainer-mode. Check for
18888 autoconf when enabled.
18889 * configure: Regenerated.
18890
73616a74
AM
18891 * nscd/nscd.service: New file.
18892 * nscd/nscd.tmpfiles: New file.
18893
584b18eb
OB
188942013-12-14 Ondřej Bílka <neleai@seznam.cz>
18895
18896 [BZ #12100]
18897 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18898 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18899 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18900 (strstr): Add __strstr_sse2_unaligned ifunc.
18901 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18902 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18903 (strcasestr): Remove __strcasestr_sse42 ifunc.
18904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18907
8a5c7897
KK
189082013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18909
18910 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18911 * sysdeps/sh/bits/fenv.h: ... here.
18912 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18913
fd712ef3
AZ
189142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18915
18916 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18917
42fcb46c
AZ
18918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18919 hypotf multiarch implementations.
18920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18923 multiarch hypot for PPC64.
18924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18927 multiarch hypotf for PPC64.
18928
83efded4
AZ
18929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18930 modff multiarch implementations.
18931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18934 multiarch modf for PPC64.
18935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18938 multiarch modff for PPC64.
18939
43e246d2
AZ
18940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18941 and logl multiarch implementations.
18942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18945 multiarch logb for PPC64.
18946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18949 multiarch logb for PPC64.
18950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18953 multiarch logb for PPC64.
18954
8fdad123
AZ
18955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18956 isinff multiarch implementation.
18957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18958 file.
18959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18961 multiarch isinf for PPC64.
18962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18963 file.
18964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18965 multiarch isinff for PPC64.
18966
1481d706
AZ
18967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18968 finitef multiarch implementation.
18969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18970 file.
18971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18973 multiarch finite for PPC64.
18974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18975 file.
18976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18977 multiarch finitef for PPC64.
18978
5ccd5fc8
AZ
18979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18980 lrint multiarch implementation.
18981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18982 file.
18983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18985 multiarch llrint for PPC64.
18986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18987 multiarch lrint for PPC64.
18988
2568f3fa
AZ
18989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18990 copysignf multiarch implementation.
18991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18992 file.
18993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18994 file.
18995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18996 multiarch copysign for PPC64.
18997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18998 multiarch copysignf for PPC64.
18999
1cb341fd
AZ
19000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19001 multiarch implementation.
19002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19003 file.
19004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19005 file.
19006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19007 file.
19008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19009 file.
19010 multiarch llround for PPC64.
19011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19012 multiarch trunc for PPC64.
19013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19014 multiarch truncf for PPC64.
19015
59a3e194
AZ
19016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19017 multiarch implementation.
19018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19019 file.
19020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19021 file.
19022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19023 file.
19024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19025 file.
19026 multiarch llround for PPC64.
19027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19028 multiarch round for PPC64.
19029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19030 multiarch roundf for PPC64.
19031
357fd3b4
AZ
19032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19033 multiarch implementation.
19034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19035 file.
19036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19037 file.
19038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19039 file.
19040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19041 file.
19042 multiarch llround for PPC64.
19043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19044 multiarch floor for PPC64.
19045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19046 multiarch floorf for PPC64.
19047
96770f12
AZ
19048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19049 multiarch implementation.
19050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19051 file.
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19053 file.
19054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19055 file.
19056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19057 file.
19058 multiarch llround for PPC64.
19059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19060 multiarch ceil for PPC64.
19061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19062 multiarch ceilf for PPC64.
19063
c3627f6e
AZ
19064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19065 multiarch implementation.
19066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19067 file.
19068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19069 file.
19070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19071 file.
19072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19073 multiarch llround for PPC64.
19074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19075 multiarch lround for PPC64.
19076
b2284ad7
AZ
19077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19078 multiarch implementation.
19079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19082 file.
19083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19086 multiarch isnan for PPC64.
19087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19088 multiarch isnanf for PPC64.
19089
69bbc63d
AZ
19090 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19091 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19092 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19093 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19094 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19096
c24517c9
AZ
19097 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19098 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19101
a52374e8
AZ
19102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19103 multiarch implementations.
19104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19105 (__libc_ifunc_impl_list): Likewise.
19106 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19109 multiarch stpcpy for PPC64.
19110
7f5ec113
AZ
19111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19112 multiarch implementations.
19113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19114 (__libc_ifunc_impl_list): Likewise.
19115 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19116 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19117 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19118 multiarch strcpy for PPC64.
19119
e28bcd42
AZ
19120 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19121 redefine function name.
19122 (_wordcopy_fwd_dest_aligned): Likewise.
19123 (_wordcopy_bwd_aligned): Likewise.
19124 (_wordcopy_bwd_dest_aligned): Likewise.
19125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19126 multiarch implementations.
19127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19128 (__libc_ifunc_impl_list): Likewise.
19129 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19133 multiarch wcscpy for PPC64.
19134
92cacfce
AZ
19135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19136 multiarch implementations.
19137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19138 (__libc_ifunc_impl_list): Likewise.
19139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19142 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19143 multiarch wcscpy for PPC64.
19144
7b714620
AZ
19145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19146 multiarch implementations.
19147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19148 (__libc_ifunc_impl_list): Likewise.
19149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19152 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19153 multiarch wcsrchr for PPC64.
19154
16fd2ae3
AZ
19155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19156 multiarch implementations.
19157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19158 (__libc_ifunc_impl_list): Likewise.
19159 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19160 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19161 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19162 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19163 multiarch wcschr for PPC64.
19164
9ee2969b
AZ
19165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19166 multiarch implementations.
19167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19168 (__libc_ifunc_impl_list): Likewise.
19169 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19170 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19171 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19172 multiarch strchrnul for PPC64.
19173
372dc060
AZ
19174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19175 implementations.
19176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19177 (__libc_ifunc_impl_list): Likewise.
19178 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19179 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19180 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19181 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19182 strchr for PPC64.
19183
24c2c3b9
AZ
19184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19185 implementations.
19186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19187 (__libc_ifunc_impl_list): Likewise.
19188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19191 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19192 strncmp for PPC64.
19193
1c92d9a0
AZ
19194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19195 multiarch implementations.
19196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19197 (__libc_ifunc_impl_list): Likewise.
19198 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19199 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19200 strncasecmp for PPC64.
19201 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19202 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19203 multiarch strncasecmp_l for PPC64.
19204
17de3ee3
AZ
19205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19206 multiarch implementations.
19207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19208 (__libc_ifunc_impl_list): Likewise.
19209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19211 multiarch strcasecmp for PPC64.
19212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19213 file.
19214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19215 multiarch strcasecmp_l for PPC64.
19216
62982bf9
AZ
19217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19218 implementations.
19219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19220 (__libc_ifunc_impl_list): Likewise.
19221 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19222 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19223 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19224 strnlen for PPC64.
19225
a65f4904
AZ
19226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19227 implementations.
19228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19229 (__libc_ifunc_impl_list): Likewise.
19230 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19231 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19232 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19233 strlen for PPC64.
19234
1fd005ad
AZ
19235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19236 implementations.
19237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19238 (__libc_ifunc_impl_list): Likewise.
19239 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19240 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19241 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19242 rawmemrchr for PPC64.
19243
cd05ba91
AZ
19244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19245 implementation.
19246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19247 (__libc_ifunc_impl_list): Likewise.
19248 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19250 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19251 memrchr for PPC64.
19252
870f8676
AZ
19253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19254 implementation.
19255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19256 (__libc_ifunc_impl_list): Likewise.
19257 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19258 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19259 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19260 memchr for PPC64.
19261
f00be62b
AZ
19262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19263 implementation.
19264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19265 (__libc_ifunc_impl_list): Likewise.
19266 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19267 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19268 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19269 mempcpy for PPC64.
19270
8a29a3d0
AZ
19271 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19272 avoid cretion of __bzero symbol.
19273 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19274 Likewise.
19275 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19276 Likewise.
19277 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19278 Likewise.
19279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19280 multiarch implementations.
19281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19282 (__libc_ifunc_impl_list): Likewise.
19283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19285 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19286 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19287 bzero for PPC32.
19288 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19289 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19290 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19291 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19292 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19293 memset for PPC64.
19294 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19295
07253fcf
AZ
19296 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19298 implementations.
19299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19300 (__libc_ifunc_impl_list): Likewise.
19301 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19304 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19305 memcmp for PPC64.
19306
b5beafbc
AZ
19307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19308 multiarch for POWER/PPC64.
19309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19310 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19317 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19318 memcpy for PPC64.
19319
5e6a4d4b
AZ
19320 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19321 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19322 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19323 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19324 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19325 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19326 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19327 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19328 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19329 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19330 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19331 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19332 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19333 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19334 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19342
ddfab6dc
KK
193432013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19344
19345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19346
19b5525e
SP
193472013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19348
19349 * benchtests/Makefile (bench): Add exp2 and log2.
19350 (LDLIBS-bench-exp2): Add -lm.
19351 (LDLIBS-bench-log2): Likewise.
19352 * benchtests/exp2-inputs: New inputs file.
19353 * benchtests/log2-inputs: New inputs file.
19354 * benchtests/log-inputs: Add new inputs.
19355 * benchtests/tan-inputs: Likewise.
19356
196f7f5d
SP
193572013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
7a74607f
SP
19359 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19360 definition...
57f41c40
AS
19361 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19362 (csloww2): ... from here.
7a74607f 19363
196f7f5d
SP
19364 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19365 instead of structures.
19366 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19367 (POLYNOMIAL): Likewise.
19368 (TAYLOR_SLOW): Likewise.
19369 (__sin): Likewise.
19370 (__cos): Likewise.
19371 (slow1): Likewise.
19372 (slow2): Likewise.
19373 (sloww): Likewise.
19374 (sloww1); Likewise.
19375 (sloww2): Likewise.
19376 (bsloww1): Likewise.
19377 (bsloww2): Likewise.
19378 (cslow2): Likewise.
19379 (csloww): Likewise.
19380 (csloww1): Likewise.
19381 (csloww2): Likewise.
19382
0dfa665c
OB
193832013-12-10 Ondřej Bílka <neleai@seznam.cz>
19384
19385 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19386 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19387 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19388 * malloc/hooks.c (realloc_check): Likewise.
19389
5782a80f
OB
19390 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19391 * malloc/arena.c: Remove PER_THREAD conditional.
19392 [!PER_THREAD]: Remove code.
19393 (ptmalloc_unlock_all2): Likewise.
19394 (ptmalloc_init): Likewise.
19395 (_int_new_arena): Likewise.
19396 (arena_get2): Likewise.
19397 * malloc/hooks.c (__malloc_get_state): Likewise.
19398 (__malloc_set_state): Likewise.
19399 * malloc/malloc.c: Likewise.
19400 (struct malloc_state): Likewise.
19401 (struct malloc_par): Likewise.
19402 (__libc_realloc): Likewise.
19403 (__libc_mallopt): Likewise.
19404
aeb95445
AZ
194052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19406
19407 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19408
e8349efd
OB
194092013-12-09 Ondřej Bílka <neleai@seznam.cz>
19410
19411 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19412 macro to a function. Check for zero perturb_byte.
19413 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19414
f3eeb3fc 19415 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19416 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19417 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19418 force_reg by atomic_forced_read.
19419 * malloc/arena.c (ptmalloc_init): Likewise.
19420 * malloc/hooks.c (top_check): Likewise.
19421
be2f9009
AZ
194222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19423
19424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19425
e7b914bd
MT
194262013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19427
19428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19429
9f0be4f8
JM
194302013-12-08 Joseph Myers <joseph@codesourcery.com>
19431
19432 * math/auto-libm-test-in: Add tests of lgamma.
19433 * math/auto-libm-test-out: Regenerated.
19434 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19435 (M_LOG_2_SQRT_PIl): Likewise.
19436 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19437 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19438 mpfr_f_f1.
19439 (func_calc_desc): Add mpfr_f_f1 union field.
19440 (ARGS1): New macro.
19441 (ARGS2): Likewise.
19442 (ARGS3): Likewise.
19443 (ARGS4): Likewise.
19444 (RET1): Likewise.
19445 (RET2): Likewise.
19446 (CALC): Likewise.
19447 (FUNC): Likewise.
19448 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19449 (test_functions): Add lgamma.
19450 (calc_generic_results): Handle mpfr_f_f1.
19451 * sysdeps/i386/fpu/libm-test-ulps: Update.
19452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19453
24eeafdb
AZ
194542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19455
19456 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19457 __mpn_add_n for PowerPC64/POWER7.
19458 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19459 __mpn_sub_n for PowerPC64/POWER7.
19460
4a2c0fd4
AZ
19461 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19462 __mpn_addmul_1 for PowerPC64.
19463 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19464 __mpn_submul_1 for PowerPC64.
19465 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19466 for PowerPC64.
19467 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19468 for PowerPC64.
19469
4b5b548c
FS
194702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19471
19472 [BZ #15089]
19473 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19474
0a3ac0aa
AZ
194752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19476
19477 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19478
ccdc8438
AZ
19479 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19480 add multiarch folders.
19481 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19482 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19483 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19484 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19485 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19486 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19487 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19488 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19489 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19490 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19491 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19498
2e973d99
AZ
19499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19500 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19502 New file.
19503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19504 New file.
19505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19506 multiarch __ieee754_hypot for PowerPC32.
19507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19508 New file.
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19510 New file.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19512 multiarch __ieee754_hypotf for PowerPC32.
19513
2d9470b2
AZ
19514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19515 long_double_symbol only if __logbl is defined.
19516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19517 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19519 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19521 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19523 path for implementation.
19524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19525 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19527 logb, and logbl multiarch implementations for PowerPC32.
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19529 file.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19531 file.
19532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19533 multiarch logb for PowerPC32.
19534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19535 file.
19536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19537 file.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19539 multiarch logbf for PowerPC32.
19540 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19542 file.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19544 multiarch logbl implementation for PowerPC32.
19545
5212ffce
AZ
19546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19547 and modff multiarch implementations.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19549 New file.
19550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19551 New file.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19553 multiarch modf for PowerPC32.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19555 New file.
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19557 New file.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19559 multiarch modff for PowerPC32.
19560
79dccf31
AZ
19561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19562 and lrintf multiarch implementations.
19563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19564 New file.
19565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19566 New file.
19567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19568 multiarch lrint for PowerPC32.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19570 file: multiarch lrintf for PowerPC32.
19571
deb66480
AZ
19572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19573 and lroundf multiarch implementations.
19574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19575 New file.
19576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19577 New file.
19578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19579 New file.
19580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19581 multiarch lround for PowerPC32.
19582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19583 file: multiarch lroundf for PowerPC32.
19584
264b036b
AZ
19585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19586 copysign and copysignf multiarch implementations.
19587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19588 New file.
19589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19590 New file.
19591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19592 file: multiarch copysign for PowerPC32.
19593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19594 file: multiarch copysignf for PowerPC32.
19595
d47db6c9
AZ
19596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19597 and truncf multiarch implementations.
19598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19599 New file.
19600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19601 file.
19602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19603 multiarch trunc for PowerPC32.
19604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19605 New file.
19606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19607 New file.
19608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19609 multiarch truncf for PowerPC32.
19610
ddb60b5a
AZ
19611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19612 and roundf multiarch implementations.
19613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19614 New file.
19615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19616 file.
19617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19618 multiarch round for PowerPC32.
19619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19620 New file.
19621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19622 New file.
19623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19624 multiarch roundf for PowerPC32.
19625
bedcf49b
AZ
19626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19627 and floorf multiarch implementations.
19628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19629 New file.
19630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19631 file.
19632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19633 multiarch floor for PowerPC32.
19634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19635 New file.
19636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19637 New file.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19639 multiarch floorf for PowerPC32.
19640
35ae5b40
AZ
19641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19642 and ceilf multiarch implementations.
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19644 New file.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19646 file.
19647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19648 multiarch ceil for PowerPC32.
19649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19650 New file.
19651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19652 file.
19653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19654 multiarch ceilf for PowerPC32.
19655
ae1a4cd9
AZ
19656 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19657 is defined.
19658 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19659 FINITEF is defined.
19660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19661 and finitef multiarch implementations.
19662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19663 New file.
19664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19665 file.
19666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19667 multiarch finite for PowerPC32.
19668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19669 New file.
19670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19671 file: multiarch finitef for PowerPC32.
19672
64fffd65
AZ
19673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19674 and isinff multiarch implementations.
19675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19676 file.
19677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19678 file.
19679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19680 multiarch isinf for PowerPC32.
19681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19682 New file.
19683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19684 multiarch isinff for PowerPC32.
19685
8e4e7ba2
AZ
19686 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19687 alias when __isnan is defined.
19688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19689 and isnanf multiarch implementations.
19690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19691 file.
19692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19693 file.
19694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19695 file.
19696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19697 file.
19698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19699 multiarch isnan for PowerPC32.
19700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19701 New file.
19702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19703 New file.
19704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19705 multiarch isnanf for PowerPC32.
19706
ddba588e
AZ
19707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19708 and sqrtf multiarch implementations.
19709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19710 file.
19711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19712 file.
19713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19714 multiarch sqrt for PowerPC32.
19715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19716 file.
19717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19718 file.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19720 multiarch sqrtf for PowerPC32.
19721
0f96a2f0
AZ
19722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19723 and llroundf multiarch implementations.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19725 New file.
19726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19727 New file.
19728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19729 New file.
19730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19731 file: multiarch llround for PowerPC32.
19732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19733 file: multiarch llroundf for PowerPC32.
19734
c9b5d79e
AZ
19735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19736 multiarch PowerPC32 fpu implementations.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19738 New file.
19739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19740 New file.
19741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19742 multiarch llrint for PowerPC32.
19743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19744 New file.
19745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19746 New file.
19747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19748 file.
19749
9cbb3aab
AZ
19750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19751
ea5a72f8
AZ
19752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19753 file.
19754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19755 file.
19756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19757 file.
19758 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19759 multiarch wordcopy for PPC32.
19760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19761 wordcopy objects.
19762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19763 (__libc_ifunc_impl_list): Likewise.
19764 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19765 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19767 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19768 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19769 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19770
93be09e7
AZ
19771 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19773 file.
19774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19775 file.
19776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19777 file.
19778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19779 multiarch wcscpy for PPC32.
19780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19781 multiarch objects.
19782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19783 (__libc_ifunc_impl_list): Likewise.
19784 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19785 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19786 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19787 sysdeps/powerpc/power6/wcscpy.c.
19788
bb04e529
AZ
19789 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19791 file.
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19793 file.
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19795 file.
19796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19797 multiarch wcsrchr for PPC32.
19798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19799 multiarch objects.
19800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19801 (__libc_ifunc_impl_list): Likewise.
19802 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19803 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19804 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19805 sysdeps/powerpc/power6/wcsrchr.c.
19806
05b5cd1c
AZ
19807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19808 file.
19809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19810 file.
19811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19813 multiarch wcschr for PPc32.
19814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19815 multiarch objects.
19816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19817 (__libc_ifunc_impl_list): Likewise.
19818 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19819 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19820 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19821 sysdeps/powerpc/power6/wcschr.c.
19822
ba964147
AZ
19823 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19824 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19825 file.
19826 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19827 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19828 file: multiarch strchr for PPC32.
19829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19830 multiarch objects.
19831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19832 (__libc_ifunc_impl_list): Likewise.
19833
31c81aaa
AZ
19834 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19835 name.
19836 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19837 file.
19838 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19839 file.
19840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19841 multiarch strchrnul for PPC32.
19842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19843 multiarch objects.
19844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19845 (__libc_ifunc_impl_list): Likewise.
19846
0d0607d9
AZ
19847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19848 file.
19849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19850 multiarch strncasecmp for PPC32.
19851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19852 file.
19853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19854 multiarch strncasecmp_l for PPC32.
19855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19856 strncasecmp multiarch objects.
19857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19858 (__libc_ifunc_impl_list): Likewise.
19859
4dfd5c86
AZ
19860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19861 file.
19862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19863 multiarch strncasecmp for PPC32.
19864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19865 New file.
19866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19867 multiarch strcasecmp_l for PPC32.
19868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19869 multiarch objects.
19870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19871 (__libc_ifunc_impl_list): Likewise.
19872
a19e01a3
AZ
19873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19874 file.
19875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19876 file.
19877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19878 multiarch strncmp for PPC32.
19879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19880 multiarch objects.
19881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19882 (__libc_ifunc_impl_list): Likewise.
19883
ae9cf7a2
AZ
19884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19885 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19886 file.
19887 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19888 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19890 multiarch objects.
19891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19892 (__libc_ifunc_impl_list): Likewise.
19893
3148bb7d
AZ
19894 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19895 file.
19896 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19897 file.
19898 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19900 multiarch objects.
19901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19902 (__libc_ifunc_impl_list): Likewise.
19903
7af8b946
AZ
19904 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19905 file.
19906 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19907 file.
19908 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19909 multiarch rawmemchr for PPC32.
19910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19911 multiarch objects.
19912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19913 (__libc_ifunc_impl_list): Likewise.
19914
03a6aa6a
AZ
19915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19916 file.
19917 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19918 file.
19919 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19920 file: memrchr multiarch for PPC32.
19921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19922 multiarch objects.
19923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19924 (__libc_ifunc_impl_list): Likewise.
19925
1c62e6d9
AZ
19926 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19928 file.
19929 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19931 multiarch memchr for PPC32.
19932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19933 multiarch objects.
19934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19935 (__libc_ifunc_impl_list): Likewise.
19936
87da8bdb
AZ
19937 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19938 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19939 file.
19940 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19941 file.
19942 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19943 file: multiarch mempcpy for PPC32.
19944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19945 multiarch objects.
19946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19947 (__libc_ifunc_impl_list): Likewise.
19948
20ed4714
AZ
19949 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19953 multiarch bzero for PPC32.
19954 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19955 file.
19956 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19957 file.
19958 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19959 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19960 file: multiarch memset for PPC32.
19961 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19963 memset multiarch objects.
19964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19965 (__libc_ifunc_impl_list): Likewise.
19966
ab3e3a46
AZ
19967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19968 file.
19969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19971 memcmp for PPC32.
19972 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19974 multiarch objects.
19975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19976 (__libc_ifunc_impl_list): Likewise.
19977
930de6f0
AZ
19978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19981 file.
19982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19983 file.
19984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19985 file.
19986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19987 multiarch memcpy for PPC32.
19988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19989 multiarch objects.
19990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19991 (__libc_ifunc_impl_list): Likewise.
19992
4c628e00
AZ
19993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19994 support multiarch for POWER/PPC32.
19995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19996 Likewise.
19997 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19999 Implies file to make multiarch folder appers before the fpu and
20000 default folder for power4 configuration.
20001
f4479220
SP
200022013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20003
20004 * scripts/bench.pl: Append volatile keyword to type.
20005
8517800f
KK
200062013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20007
20008 * sysdeps/sh/sotruss-lib.c: New file.
20009 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20010
180138f1
AZ
200112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20012
20013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20014
bbf37bdc
JM
200152013-12-05 Joseph Myers <joseph@codesourcery.com>
20016
e47cc4e0
JM
20017 [BZ #6810]
20018 * math/w_tgamma.c: Include <errno.h>.
20019 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20020 * math/w_tgammaf.c: Include <errno.h>.
20021 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20022 * math/w_tgammal.c: Include <errno.h>.
20023 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20024 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20025 underflow. Add more tgamma tests.
20026 * math/auto-libm-test-out: Regenerated.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029
bbf37bdc
JM
20030 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20031 sin, sinh, tan, tanh, tgamma, y0 and y1.
20032 * math/auto-libm-test-out: Regenerated.
20033 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20034 (TEST_COND_x86): Likewise.
20035 (M_E2l): Remove macro.
20036 (M_E3l): Likewise.
20037 (M_2_SQRT_PIl): Likewise.
20038 (M_SQRT_PIl): Likewise.
20039 (M_1_DIV_El): Likewise.
20040 (log_test_data): Use AUTO_TESTS_f_f.
20041 (log10_test_data): Likewise.
20042 (log1p_test_data): Likewise.
20043 (log2_test_data): Likewise.
20044 (sin_test_data): Likewise.
20045 (sin_tonearest_test_data): Likewise.
20046 (sin_towardzero_test_data): Likewise.
20047 (sin_downward_test_data): Likewise.
20048 (sin_upward_test_data): Likewise.
20049 (sinh_test_data): Likewise.
20050 (sinh_tonearest_test_data): Likewise.
20051 (sinh_towardzero_test_data): Likewise.
20052 (sinh_downward_test_data): Likewise.
20053 (sinh_upward_test_data): Likewise.
20054 (tan_test_data): Likewise.
20055 (tan_tonearest_test_data): Likewise.
20056 (tan_towardzero_test_data): Likewise.
20057 (tan_downward_test_data): Likewise.
20058 (tan_upward_test_data): Likewise.
20059 (tanh_test_data): Likewise.
20060 (tgamma_test_data): Likewise.
20061 (y0_test_data): Likewise.
20062 (y1_test_data): Likewise.
20063 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20064 (special_real_inputs): Add pi/4.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20067
eb5ad6b9
AZ
200682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069
20070 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20071 "longjmp_target" static probes.
20072 (__longjmp): Rename to __longjmp_symbol.
20073 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20074 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20075 on which longjmp to generate.
20076 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20077 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20078 probe.
20079 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20080 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20081 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20082 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20083 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20084 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20086 __longjmp_symbol based on which __longjmp to generate.
20087 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20088 probe.
20089 (setjmp): Rename to setjmp_symbol.
20090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20091 (_setjmp): Rename to _setjmp_symbol.
20092 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20093 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20094 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20095 which setjmp to generate.
20096 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20097 "longjmp_target" static probes.
20098
d136c6dc
SP
200992013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20100
9298ecba
SP
20101 * benchtests/README: Add note about output arguments.
20102 * benchtests/bench-sincos.c: Remove file.
20103 * benchtests/sincos-inputs: New file.
20104 * scripts/bench.pl: Identify output arguments and define
20105 static variables for them.
20106
232983e9
SP
20107 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20108
d136c6dc
SP
20109 [BZ #15941]
20110 * Makefile (INSTALL): Add install-plain.texi as the primary
20111 dependency.
20112 * manual/install-plain.texi: New file.
20113 * manual/install.texi: Include node directive only for
20114 non-plaintext output.
20115
699ff837
JM
201162013-12-04 Joseph Myers <joseph@codesourcery.com>
20117
ab07cea8
JM
20118 * stdlib/longlong.h: Update from GCC.
20119
699ff837
JM
20120 [BZ #6807]
20121 [BZ #15901]
20122 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20123 * math/w_j0f.c (y0f): Likewise.
20124 * math/w_j0l.c (__y0l): Likewise.
20125 * math/w_j1.c (y1): Likewise.
20126 * math/w_j1f.c (y1f): Likewise.
20127 * math/w_j1l.c (__y1l): Likewise
20128 * math/w_jn.c (yn): Likewise.
20129 * math/w_jnf.c (ynf): Likewise.
20130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20131 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20132 value for Bessel function domain errors outside _SVID_ mode.
20133 Adjust sign of return value for yn (negative integer, 0).
20134 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20135 by zero in return for negative x and set sign appropriately for
20136 negative n.
20137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20139 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20140 expectations in error cases.
20141 (y1_test_data): Likewise.
20142 (yn_test_data): Likewise.
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20145
5b118558
UW
201462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20147
20148 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20149 "64" to "64-v1". Add "64-v2".
20150 (abi-64-options): Rename to ...
20151 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20152 (abi-64-condition): Rename to ...
20153 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20154 (abi-64-ld-soname): Rename to ...
20155 (abi-64-v1-ld-soname): ... this.
20156 (abi-64-v2-options): Define.
20157 (abi-64-v2-condition): Likewise.
20158 (abi-64-v2-ld-soname): Likewise.
20159 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20160 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20164
61cd8fe4
UW
201652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20166 Alan Modra <amodra@gmail.com>
20167
20168 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20169 New versions for use with the ELFv2 ABI.
20170 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20171 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20172 declaration.
20173 (struct La_ppc64v2_retval): Likewise.
20174 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20175 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20176 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20177 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20178 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20179 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20180 Do not save or restore CR.
20181 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20182 (_dl_profile_resolve): Do no save or restore CR. Support extended
20183 return values for ELFv2 ABI. Fix location of FPR return registers.
20184 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20185 updated values for _CALL_ELF == 2.
20186 (La_regs, La_retval, int_retval): Likewise.
20187
8b8a692c
UW
201882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20189
20190 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20191 (FRAME_MIN_SIZE_PARM): Likewise.
20192 (FRAME_BACKCHAIN): Likewise.
20193 (FRAME_CR_SAVE): Likewise.
20194 (FRAME_LR_SAVE): Likewise.
20195 (FRAME_TOC_SAVE): Likewise.
20196 (FRAME_PARM_SAVE): Likewise.
20197 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20198 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20199 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20200 (call_mcount_parm_offset): New macro.
20201 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20202 (PROF): Use symbolic stack frame offsets.
20203 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20204 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20205 Redefine in terms of FRAME_MIN_SIZE.
20206 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20207 (_dl_profile_resolve): Likewise. Update comment.
20208 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20209 symbols stack frame offsets.
20210 (__sigsetjmp): Likewise.
20211 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20212 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20213 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20214 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20215
20216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20217 (FRAME_BACKCHAIN): Remove.
20218 (FRAME_CR_SAVE): Likewise.
20219 (FRAME_LR_SAVE): Likewise.
20220 (FRAME_COMPILER_DW): Likewise.
20221 (FRAME_LINKER_DW): Likewise.
20222 (FRAME_TOC_SAVE): Likewise.
20223 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20224 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20225 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20226 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20228 (CHECK_SP): Use symbolic stack frame offsets.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20230 zone" instead of caller's parameter save area for temp storage.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20232 Likewise. Also, use symbolic stack frame offsets.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20234 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20235 our own stack frame instead of the caller's.
20236 (__socket): Use symbolic stack frame offsets.
20237
122b66de
UW
202382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20239 Alan Modra <amodra@gmail.com>
20240
20241 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20242 Define.
57f41c40
AS
20243 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20244 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20245 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20246 New function.
20247 (elf_machine_fixup_plt): Call it.
20248 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20249 reloc arguments.
20250 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20252 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20253 r2 before calling target.
20254
696caf1d
UW
202552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20256 Alan Modra <amodra@gmail.com>
20257
20258 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20259 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20260 versions of macros to support ELFv2 ABI.
20261 (LOCALENTRY): New macro.
20262 (ENTRY, EALIGN): Use it.
20263 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20264 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20265 fall through into ENTRY entry point.
20266 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20267 Only define if _CALL_ELF != 2.
20268
20269 (elf_machine_matches_host): Verify ABI version matches.
20270 (RTLD_START): Use LOCALENTRY.
20271 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20272 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20273 (PLT_ENTRY_WORDS): New macro.
20274 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20275 (elf_machine_runtime_setup): Support ELFv2 ABI.
20276 (elf_machine_fixup_plt): Likewise.
20277 (elf_machine_plt_conflict): Likewise.
20278 (resolve_ifunc): Likewise.
20279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20280 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20281 Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20283 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20285 (makecontext): Support ELFv2 ABI.
20286 * elf/elf.h (EF_PPC64_ABI): Define.
20287
d31beafa
UW
202882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20289
57f41c40
AS
20290 * sysdeps/powerpc/powerpc64/sysdep.h
20291 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20292 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20293 (ENTRY) [ASSEMBLER]: ... but instead here ...
20294 (EALIGN) [ASSEMBLER]: ... and here.
20295 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20296 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20297 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20298 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20299 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20301 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20302 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20304 Use PPC64_LOAD_FUNCPTR.
20305
b525166b
UW
20306 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20307
7ec07d9a
AM
203082013-12-04 Alan Modra <amodra@gmail.com>
20309
20310 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20311 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20312 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20313 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20314
20315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20316 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20317 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20318 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20319 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20320 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20321
5162e7dd
UW
203222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20323
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20325 (__makecontext): Fix incorrect CFI when backtracing out of
20326 context created via makecontext.
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20328 (__setcontext): Fix incorrect CFI during switch to new context.
20329 (__novec_setcontext): Likewise.
20330
19e3372b
OB
203312013-12-04 Ondřej Bílka <neleai@seznam.cz>
20332
20333 [BZ #4772]
20334 * time/strptime_l.c (__strptime_internal): Allow modifiers
20335 in strptime.
20336 * time/tst-strptime.c (day_tests): Add testcase.
20337
ecaf142d
SP
203382013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20339
20340 * scripts/bench.pl: Skip over blank lines.
20341
fbf964ae
PE
203422013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20343
20344 [BZ #926]
20345 * manual/time.texi (Calendar Time): Clarify what timezone functions
20346 use.
20347
fa60a674
AZ
203482013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20349
20350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20351
d674f0ef
OB
203522013-12-04 Ondřej Bílka <neleai@seznam.cz>
20353
20354 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20355 implementation.
20356 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20357 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20358 * debug/memset_chk.c (__memset_chk): Likewise.
20359 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20360 * debug/strncpy_chk.c: Likewise.
20361
17dea188
JM
203622013-12-03 Joseph Myers <joseph@codesourcery.com>
20363
749008ff
JM
20364 [BZ #15268]
20365 [BZ #15425]
20366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20367 (__ieee754_exp): For possibly underflowing results, check size of
20368 result and force underflow exception if required.
20369 * math/auto-libm-test-in: Add more tests of exp.
20370 * math/auto-libm-test-out: Regenerated.
20371 * sysdeps/i386/fpu/libm-test-ulps: Update.
20372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20373
17dea188
JM
20374 [BZ #16283]
20375 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20376 * math/w_exp2f.c (__exp2f): Likewise.
20377 * math/w_exp2l.c (__exp2l): Likewise.
20378 * math/auto-libm-test-in: Do not allow missing errno on exp2
20379 underflow.
20380 * math/auto-libm-test-out: Regenerated.
20381
b20de2c3
OB
203822013-12-03 Ondřej Bílka <neleai@seznam.cz>
20383
20384 [BZ #16274]
20385 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20386 handle filename validation.
20387 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20388 (do_open): Delete.
20389
d8e2dbe3
JM
203902013-12-03 Joseph Myers <joseph@codesourcery.com>
20391
34e16df5
JM
20392 [BZ #6786]
20393 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20394 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20395 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20396 <float.h>.
20397 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20399 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20401 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20403 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20404 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20405 Add more erfc tests.
20406 * math/auto-libm-test-out: Regenerated.
20407 * sysdeps/i386/fpu/libm-test-ulps: Update.
20408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409
d8e2dbe3
JM
20410 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20411 exp2, expm1, j0 and j1.
20412 * math/auto-libm-test-out: Regenerated.
20413 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20414 (erfc_test_data): Likewise.
20415 (exp_test_data): Likewise.
20416 (exp_tonearest_test_data): Likewise.
20417 (exp_towardzero_test_data): Likewise.
20418 (exp_downward_test_data): Likewise.
20419 (exp_upward_test_data): Likewise.
20420 (exp10_test_data): Likewise.
20421 (exp2_test_data): Likewise.
20422 (expm1_test_data): Likewise.
20423 (j0_test_data): Likewise.
20424 (j1_test_data): Likewise.
20425 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20426 (input_flag_type): Add flag_xfail_rounding.
20427 (input_flags): Add xfail-rounding.
20428 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20429 (output_for_one_input_case): Handle flag_xfail_rounding.
20430 * sysdeps/i386/fpu/libm-test-ulps: Update.
20431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20432
18d14251
AJ
204332013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20434
3d2e6075 20435 [BZ #16289]
18d14251
AJ
20436 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20437 division by 0.
20438
520d437b
SP
204392013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20440
20441 [BZ #16195]
20442 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20443 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20444 (STAP_PROBE0): New macro.
20445 (STAP_PROBE1): Likewise.
20446 (STAP_PROBE2): Likewise.
20447 (STAP_PROBE3): Likewise.
20448 (STAP_PROBE4): Likewise.
20449
416e0145
OB
204502013-12-02 Ondřej Bílka <neleai@seznam.cz>
20451
20452 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20453
9d17796a
SE
204542013-12-02 Steve Ellcey <sellcey@mips.com>
20455
20456 * benchtests/Makefile (bench): Add sqrt.
20457 (LDLIBS-bench-sqrt): New.
20458 * benchtests/sqrt-input: New.
20459
f524d6a8
PS
204602013-12-02 Pavel Simerda <psimerda@redhat.com>
20461
639a0ef8
PS
20462 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20463 (GAIH_EAI): Likewise.
20464 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20465 (gaih_inet): Likewise.
20466 (getaddrinfo): Don't use GAIH_EAI.
20467
f524d6a8
PS
20468 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20469 (struct gaih): Remove definition.
20470
df3aedaf
SP
204712013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20474 Use HERRNOP directly.
20475
1ab19dec
AZ
204762013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20477
b42ad38d 20478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20479
176b0c79
JM
204802013-11-30 Joseph Myers <joseph@codesourcery.com>
20481
20482 * math/gen-auto-libm-tests.c (test_functions): Add more
20483 single-argument functions.
20484 (special_fill_pi_2): New function.
20485 (special_fill_minus_pi_2): Likewise.
20486 (special_fill_pi_6): Likewise.
20487 (special_fill_minus_pi_6): Likewise.
20488 (special_fill_pi_3): Likewise.
20489 (special_fill_2pi_3): Likewise.
20490 (special_fill_e): Likewise.
20491 (special_fill_1_e): Likewise.
20492 (special_fill_e_minus_1): Likewise.
20493 (special_real_inputs): Add more special inputs.
20494 (output_for_one_input_case): Do not require ERANGE on underflow to
20495 zero if round-to-nearest result does not underflow to zero, unless
20496 exact results required.
20497 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20498 atan, atanh, cbrt, cos and cosh.
20499 * math/auto-libm-test-out: Regenerated.
20500 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20501 (acos_tonearest_test_data): Likewise.
20502 (acos_towardzero_test_data): Likewise.
20503 (acos_downward_test_data): Likewise.
20504 (acos_upward_test_data): Likewise.
20505 (acosh_test_data): Likewise.
20506 (asin_test_data): Likewise.
20507 (asin_tonearest_test_data): Likewise.
20508 (asin_towardzero_test_data): Likewise.
20509 (asin_upward_test_data): Likewise.
20510 (asinh_test_data): Likewise.
20511 (atan_test_data): Likewise.
20512 (atanh_test_data): Likewise.
20513 (cbrt_test_data): Likewise.
20514 (cos_test_data): Likewise.
20515 (cos_tonearest_test_data): Likewise.
20516 (cos_towardzero_test_data): Likewise.
20517 (cos_downward_test_data): Likewise.
20518 (cos_upward_test_data): Likewise.
20519 (cosh_test_data): Likewise.
20520 (cosh_tonearest_test_data): Likewise.
20521 (cosh_towardzero_test_data): Likewise.
20522 (cosh_downward_test_data): Likewise.
20523 (cosh_upward_test_data): Likewise.
20524 * sysdeps/i386/fpu/libm-test-ulps: Update.
20525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526
ffb536d0
JM
205272013-11-29 Joseph Myers <joseph@codesourcery.com>
20528
2a77a467
JM
20529 [BZ #6787]
20530 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20531 * math/w_exp10f.c (__exp10f): Likewise.
20532 * math/w_exp10l.c (__exp10l): Likewise.
20533 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20534 errno settings in existing tests.
20535
ea3bc4e8
JM
20536 [BZ #14032]
20537 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20538 precision control set to double precision.
20539 * sysdeps/i386/fpu/w_sqrt.c: New file.
20540 * math/auto-libm-test-in: Add more tests.
20541 * math/auto-libm-test-out: Update.
20542
0712c9d8
JM
20543 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20544 (sqrt_test_tonearest): New function.
20545 (sqrt_towardzero_test_data): New variable.
20546 (sqrt_test_towardzero): New function.
20547 (sqrt_downward_test_data): New variable.
20548 (sqrt_test_downward): New function.
20549 (sqrt_upward_test_data): New variable.
20550 (sqrt_test_upward): New function.
20551 (main): Call the new functions.
20552
ffb536d0
JM
20553 * math/gen-auto-libm-tests.c: New file.
20554 * math/auto-libm-test-in: Likewise.
20555 * math/auto-libm-test-out: New generated file.
20556 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20557 variables.
20558 (%beautify): Add generated representations of zero.
20559 (top level): Set $auto_input and call parse_auto_input.
20560 (beautify): Remove trailing "f" from hex float constants.
20561 (parse_args): Handle XFAIL_TEST.
20562 (convert_condition): New function.
20563 (or_value): Likewise.
20564 (or_cond_value): Likewise.
20565 (generate_testfile): Handle AUTO_TESTS_* lines.
20566 (parse_auto_input): New function.
20567 * math/libm-test.inc (XFAIL_TEST): New macro.
20568 (ERRNO_UNCHANGED): Update value.
20569 (ERRNO_EDOM): Likewise.
20570 (ERRNO_ERANGE): Likewise.
20571 (IGNORE_RESULT): Likewise.
20572 (TEST_COND_flt_32): New macro.
20573 (TEST_COND_dbl_64): Likewise.
20574 (TEST_COND_ldbl_96_intel): Likewise.
20575 (TEST_COND_ldbl_96_m68k): Likewise.
20576 (TEST_COND_ldbl_128): Likewise.
20577 (TEST_COND_ldbl_128ibm): Likewise.
20578 (TEST_COND_long32): Likewise.
20579 (TEST_COND_long64): Likewise.
20580 (TEST_COND_before_rounding): Likewise.
20581 (TEST_COND_after_rounding): Likewise.
20582 (enable_test): Handle XFAIL_TEST flag.
20583 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20584 with finite results.
20585 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20586 auto-libm-test-out.
20587
acd98a8e
AK
205882013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20589 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20590
20591 [BZ #16214]
20592 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20593 __tls_get_addr_internal instead of __tls_get_offset in order to
20594 avoid GOT pointer dependency. Make rtld export
20595 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20596 __tls_get_addr since we are a __tls_get_offset platform.
20597 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20598 GOT pointer being set up before.
20599 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20600
3c1c46a6
JM
206012013-11-28 Joseph Myers <joseph@codesourcery.com>
20602
7475aef5
JM
20603 * manual/math.texi (Errors in Math Functions): Document accuracy
20604 goals.
20605
8bca7cd8
JM
20606 [BZ #15004]
20607 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20608 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20610 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20615 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20616 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20617 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20620 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20622 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20623
91a1f3fe
JM
20624 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20625 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20626 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20627 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20628 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20629 Likewise.
20630 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20631 Likewise.
20632 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20633 Likewise.
20634 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20635 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20636 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20637 atomic-feupdateenv and flt-rounds.
20638 * sysdeps/powerpc/nofpu/Versions (libc): Add
20639 __atomic_feholdexcept, __atomic_feclearexcept,
20640 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20642 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20643 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20644 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20645 here.
20646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20647 Update.
20648
c5df7609
JM
20649 * manual/arith.texi (FP Exceptions): Document that exceptions may
20650 not be raised when matherr is used.
20651 (Math Error Reporting): Document overflow in directed rounding
20652 modes. Document that errno may not be set when finite values are
20653 returned on overflow. Document intent to set errno on underflow
20654 only for underflow to zero.
20655
3c1c46a6
JM
20656 [BZ #16271]
20657 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20658 round-to-nearest then adjust result for other rounding modes.
20659 * include/fenv.h (fegetround): Use libm_hidden_proto.
20660 * math/fegetround.c (fegetround): Use libm_hidden_def.
20661 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20662 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20663 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20665 Likewise.
20666 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20667 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20668 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20669 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20670
5a4c6d53
SP
206712013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20672
20673 [BZ #16077]
20674 * nss/Versions (libnss_files): Add
20675 _nss_files_gethostbyname3_r.
20676 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20677 New function.
20678 (HOST_DB_LOOKUP): Remove macro.
20679 (_nss_files_gethostbyname_r): Implement function without the
20680 HOST_DB_LOOKUP macro.
20681 (_nss_files_gethostbyname2_r): Likewise.
20682
897b98ba
OB
206832013-11-28 Ondřej Bílka <neleai@seznam.cz>
20684
20685 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20686
6f476861
UB
206872013-11-26 Uros Bizjak <ubizjak@gmail.com>
20688
20689 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20690 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20691 warning.
20692
bd12ab55
AZ
206932013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20694
20695 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20696 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20697 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20698 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20699 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20700 __fe_nomask_env_priv and attribute_hidden.
20701 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20702 (libc_feupdateenv_test_ppc): Likewise.
20703 (libc_feresetround_ppc): Likewise.
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20705 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20706 compat_symbol macro.
20707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20708 (__fe_nomask_env): Likewise.
20709 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20710
52bb6543
OB
207112013-11-26 Ondřej Bílka <neleai@seznam.cz>
20712
20713 * string/Makefile: Remove ifunc tests.
20714 * string/test-string.h: Define TEST_IFUNC.
20715 * string/test-bcopy-ifunc.c: Remove.
20716 * string/test-bzero-ifunc.c: Likewise.
20717 * string/test-memccpy-ifunc.c: Likewise.
20718 * string/test-memchr-ifunc.c: Likewise.
20719 * string/test-memcmp-ifunc.c: Likewise.
20720 * string/test-memcpy-ifunc.c: Likewise.
20721 * string/test-memmem-ifunc.c: Likewise.
20722 * string/test-memmove-ifunc.c: Likewise.
20723 * string/test-mempcpy-ifunc.c: Likewise.
20724 * string/test-memrchr-ifunc.c: Likewise.
20725 * string/test-memset-ifunc.c: Likewise.
20726 * string/test-rawmemchr-ifunc.c: Likewise.
20727 * string/test-stpcpy-ifunc.c: Likewise.
20728 * string/test-stpncpy-ifunc.c: Likewise.
20729 * string/test-strcasecmp-ifunc.c: Likewise.
20730 * string/test-strcasestr-ifunc.c: Likewise.
20731 * string/test-strcat-ifunc.c: Likewise.
20732 * string/test-strchr-ifunc.c: Likewise.
20733 * string/test-strchrnul-ifunc.c: Likewise.
20734 * string/test-strcmp-ifunc.c: Likewise.
20735 * string/test-strcpy-ifunc.c: Likewise.
20736 * string/test-strcspn-ifunc.c: Likewise.
20737 * string/test-strlen-ifunc.c: Likewise.
20738 * string/test-strncasecmp-ifunc.c: Likewise.
20739 * string/test-strncat-ifunc.c: Likewise.
20740 * string/test-strncmp-ifunc.c: Likewise.
20741 * string/test-strncpy-ifunc.c: Likewise.
20742 * string/test-strnlen-ifunc.c: Likewise.
20743 * string/test-strpbrk-ifunc.c: Likewise.
20744 * string/test-strrchr-ifunc.c: Likewise.
20745 * string/test-strspn-ifunc.c: Likewise.
20746 * string/test-strstr-ifunc.c: Likewise.
20747
ab260039 207482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20749
20750 * benchtests/Makefile: Remove ifunc tests.
20751 * benchtests/bench-string.h: Define TEST_IFUNC.
20752 * benchtests/bench-bcopy-ifunc.c: Remove.
20753 * benchtests/bench-bzero-ifunc.c: Likewise.
20754 * benchtests/bench-memccpy-ifunc.c: Likewise.
20755 * benchtests/bench-memchr-ifunc.c: Likewise.
20756 * benchtests/bench-memcmp-ifunc.c: Likewise.
20757 * benchtests/bench-memcpy-ifunc.c: Likewise.
20758 * benchtests/bench-memmem-ifunc.c: Likewise.
20759 * benchtests/bench-memmove-ifunc.c: Likewise.
20760 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20761 * benchtests/bench-memrchr-ifunc.c: Likewise.
20762 * benchtests/bench-memset-ifunc.c: Likewise.
20763 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20764 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20765 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20766 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20767 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20768 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20769 * benchtests/bench-strcat-ifunc.c: Likewise.
20770 * benchtests/bench-strchr-ifunc.c: Likewise.
20771 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20772 * benchtests/bench-strcmp-ifunc.c: Likewise.
20773 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20774 * benchtests/bench-strcpy-ifunc.c: Likewise.
20775 * benchtests/bench-strcspn-ifunc.c: Likewise.
20776 * benchtests/bench-strlen-ifunc.c: Likewise.
20777 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20778 * benchtests/bench-strncat-ifunc.c: Likewise.
20779 * benchtests/bench-strncmp-ifunc.c: Likewise.
20780 * benchtests/bench-strncpy-ifunc.c: Likewise.
20781 * benchtests/bench-strnlen-ifunc.c: Likewise.
20782 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20783 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20784 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20785 * benchtests/bench-strspn-ifunc.c: Likewise.
20786 * benchtests/bench-strstr-ifunc.c: Likewise.
20787
207882013-11-26 Ondřej Bílka <neleai@seznam.cz>
20789
ab260039
OB
20790 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20791
d1d9eaf4 207922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20793
d1d9eaf4
OB
20794 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20795 * rt/aio.h: Likewise.
20796 * sysdeps/gnu/bits/utmp.h: Likewise.
20797 * sysdeps/gnu/bits/utmpx.h: Likewise.
20798 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20799 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20800 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20801 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20802 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20803 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20804 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20805 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20806 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20807 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20808 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20809 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20810 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20812 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20813 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20814 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20815 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20816 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20817 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20818 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20819 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20820 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20821 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20822 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20824 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20826 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20827 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20828 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20829 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20830 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20831 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20833 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20834 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20835 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20836 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20837 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20838 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20839 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20840
a7624ed9
CD
208412013-11-25 Carlos O'Donell <carlos@redhat.com>
20842
20843 [BZ #16245]
20844 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20845 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20846
63cfe52b
JM
208472013-11-25 Joseph Myers <joseph@codesourcery.com>
20848
20849 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20850 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20851 Likewise.
20852
41e8926a
AZ
208532013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20854
20855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20856 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20857 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20858 (__fesetround): Remove define.
20859 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20860 rounding and exceptions handling.
20861 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20862 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20863 (__fe_nomask_env): Likewise.
20864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20865 __fegetround instead of fegetround.
20866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20868
6851bd4d
RM
208692013-11-21 Roland McGrath <roland@hack.frob.com>
20870
070906ff
RM
20871 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20872 it's there.
20873
6851bd4d
RM
20874 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20875
84ae135d
MI
208762013-11-21 Meador Inge <meadori@codesourcery.com>
20877
20878 [BZ #11157]
20879 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20880 (encrypt_r): Likewise.
20881 * malloc/obstack.h (obstack_free): Likewise.
20882 * posix/unistd.h (encrypt): Likewise.
20883
daf75146
GM
208842013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20885
20886 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20887 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20888 DL_CALL_DT_FINI() that call the functions directly.
20889 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20890 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20891 * elf/dl-fini.c: Likewise.
20892
10ad46bc
OB
208932013-11-20 Ondřej Bílka <neleai@seznam.cz>
20894
20895 * malloc/hooks.c (memalign_check): Add alignment rounding.
20896 * malloc/malloc.c (_mid_memalign): New function.
20897 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20898 Implement by calling _mid_memalign.
20899 * manual/probes.texi (Memory Allocation Probes): Remove
20900 memory_valloc_retry and memory_pvalloc_retry.
20901
f3fd2628
SP
209022013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20903
4712799f
SP
20904 * locale/programs/locarchive.c (open_archive): Add const
20905 qualifier to ARCHIVEFNAME and copy default fname to
20906 DEFAULT_FNAME.
20907
0417b20f
SP
20908 [BZ #15601]
20909 * libio/tst-widetext.input: Rename Oriya to Odia.
20910 * locale/iso-639.def: Likewise.
20911
f3fd2628
SP
20912 * manual/probes.texi (Mathematical Function Probes): Add
20913 documentation for sin, cos, asin and acos probes.
20914 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20915 (__sin32): Add slowasin probe.
20916 (__cos32): Add slowacos probe.
20917 (__mpsin): Add slowsin probe.
20918 (__mpcos): Add slowcos probe.
20919
73c1ce4f
JM
209202013-11-19 Joseph Myers <joseph@codesourcery.com>
20921
20922 [BZ #15483]
20923 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20924 thread-local __sim_exceptions_thread and global
20925 __sim_exceptions_global.
20926 (__sim_disabled_exceptions): Change to thread-local
20927 __sim_disabled_exceptions_thread and global
20928 __sim_disabled_exceptions_global.
20929 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20930 and global __sim_round_mode_global.
20931 (__simulate_exceptions): Use thread-local floating-point state and
20932 set global state from it as needed.
20933 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20934 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20935 __sim_round_mode_thread.
20936 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20937 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20938 and global __sim_exceptions_global.
20939 (__sim_disabled_exceptions): Change to thread-local
20940 __sim_disabled_exceptions_thread and global
20941 __sim_disabled_exceptions_global.
20942 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20943 and global __sim_round_mode_global.
20944 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20945 (SIM_SET_GLOBAL): Likewise.
20946 * sysdeps/powerpc/soft-fp/sfp-machine.h
20947 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20948 __sim_round_mode_thread.
20949 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20950 __sim_disabled_exceptions_thread.
20951 (__sim_exceptions): Change to __sim_exceptions_thread.
20952 (__sim_disabled_exceptions): Change to
20953 __sim_disabled_exceptions_thread.
20954 (__sim_round_mode): Change to __sim_round_mode_thread.
20955 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20956 thread-local floating-point state and set global state from it as
20957 needed.
20958 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20959 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20960 (__sim_disabled_exceptions): Remove extern declaration.
20961 (feenableexcept): Use thread-local floating-point state and set
20962 global state from it as needed.
20963 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20964 extern declaration.
20965 (__sim_disabled_exceptions): Likewise.
20966 (__sim_round_mode): Likewise.
20967 (__fegetenv): Use thread-local floating-point state.
20968 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20969 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20970 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20971 floating-point state and set global state from it as needed.
20972 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20973 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20974 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20975 Likewise.
20976 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20977 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20978 Likewise.
20979 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20980 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20981 Use __sim_round_mode_thread.
20982 * math/test-fenv-tls.c: New file.
20983 * math/Makefile (tests): Add test-fenv-tls.
20984 ($(objpfx)test-fenv-tls): Depend on
20985 $(common-objpfx)nptl/libpthread.so.
20986
b5449b12
AS
209872013-11-19 Andreas Schwab <schwab@suse.de>
20988
20989 * locale/programs/locale.c (show_info): Decode wordarray elements.
20990 * locale/categories.def (LC_MONETARY): Add element for
20991 _NL_MONETARY_CRNCYSTR.
20992 * locale/C-monetary.c (conversion_rate): New variable.
20993 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20994 element.
20995
e186536b
CM
209962013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20997
20998 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20999 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21000
5c349950
PP
210012013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21002
21003 * elf/Makefile (tst-auxv): New test.
21004 * elf/tst-auxv.c: New
21005 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21006
699df45b
JM
210072013-11-18 Joseph Myers <joseph@codesourcery.com>
21008
21009 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21010 (hidden_proto): Caller changed.
21011 (hidden_tls_proto): New macro.
21012 (libc_hidden_tls_proto): Likewise.
21013 (rtld_hidden_tls_proto): Likewise.
21014 (libm_hidden_tls_proto): Likewise.
21015 (libresolv_hidden_tls_proto): Likewise.
21016 (librt_hidden_tls_proto): Likewise.
21017 (libdl_hidden_tls_proto): Likewise.
21018 (libnss_files_hidden_tls_proto): Likewise.
21019 (libnsl_hidden_tls_proto): Likewise.
21020 (libnss_nisplus_hidden_tls_proto): Likewise.
21021 (libutil_hidden_tls_proto): Likewise.
21022
b7589107
OB
210232013-11-18 Ondřej Bílka <neleai@seznam.cz>
21024
21025 [BZ #10253]
21026 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21027 (decompose_rpath): Defer expansion to fillin_rpath.
21028 (_dl_init_paths): Pass linkmap to fillin_rpath.
21029
250c23bd
RS
210302013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21031
21032 * benchtests/Makefile: Add strsep.
21033 * benchtests/bench-strsep.c: New file: strsep benchtest.
21034 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21035
a7931fcf
AS
210362013-11-18 Andreas Schwab <schwab@suse.de>
21037
21038 * locale/programs/locale.c (show_info) [case byte]: Check for
21039 '\377' instead of '\177'.
21040 * locale/C-monetary.c (not_available): Always use "\377".
21041 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21042 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21043 detect unavailable sign_posn locale elements.
21044 * locale/localeconv.c (__localeconv): For grouping and
21045 mon_grouping handle "\177" and "\377" like no grouping.
21046 (INT_ELEM): New macro. Use it to set all numeric members.
21047 * locale/programs/ld-monetary.c (monetary_read)
21048 <tok_mon_grouping>: Normalize single -1 to the empty string.
21049 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21050 Likewise.
21051
728dab0e
OB
210522013-11-07 Ondřej Bílka <neleai@seznam.cz>
21053
21054 [BZ #16055]
21055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21056 when we match (nil).
21057 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21058
66294491
JM
210592013-11-16 Joseph Myers <joseph@codesourcery.com>
21060
ce665817
JM
21061 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21062 (NO_TEST_INLINE): Update value.
21063 (ERRNO_UNCHANGED): Likewise.
21064 (ERRNO_EDOM): Likewise.
21065 (ERRNO_ERANGE): Likewise.
21066 (IGNORE_RESULT): Likewise.
21067 (check_float_internal): Check signs of NaN results if
21068 TEST_NAN_SIGN used.
21069 (check_complex): Pass TEST_NAN_SIGN flag through to second
21070 check_float_internal call.
21071 (copysign_test_data): Add tests with quiet NaNs as second
21072 argument. Use TEST_NAN_SIGN.
21073 (fabs_test_data): Add test of negative quiet NaN argument. Use
21074 TEST_NAN_SIGN.
21075 (signbit_test_data): Add tests of quiet NaN argument.
21076 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21077
ee1466a9
JM
21078 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21079 $ignore_result.
21080 (parse_args): Handle function results specified as IGNORE.
21081 * math/libm-test.inc (IGNORE_RESULT): New macro.
21082 (check_float_internal): Do not check numerical result if flag
21083 IGNORE_RESULT set.
21084 (check_complex): Pass through IGNORE_RESULT to second
21085 check_float_internal call.
21086 (check_int): Do not check numerical result if flag IGNORE_RESULT
21087 set.
21088 (check_long): Likewise.
21089 (check_bool): Likewise.
21090 (check_longlong): Likewise.
21091 (lrint_test_data): Add tests of infinite and NaN arguments.
21092 (lrint_tonearest_test_data): Likewise.
21093 (lrint_towardzero_test_data): Likewise.
21094 (lrint_downward_test_data): Likewise.
21095 (lrint_upward_test_data): Likewise.
21096 (llrint_test_data): Likewise.
21097 (llrint_tonearest_test_data): Likewise.
21098 (llrint_towardzero_test_data): Likewise.
21099 (llrint_downward_test_data): Likewise.
21100 (llrint_upward_test_data): Likewise.
21101 (lround_test_data): Likewise.
21102 (llround_test_data): Likewise.
21103
14407b7e
JM
21104 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21105 (ERRNO_UNCHANGED): Update value.
21106 (ERRNO_EDOM): Likewise.
21107 (ERRNO_ERANGE): Likewise.
21108 (NO_TEST_INLINE_FLOAT): New macro.
21109 (NO_TEST_INLINE_DOUBLE): Likewise.
21110 (enable_test): New function.
21111 (RUN_TEST_f_f): Check enable_test before running test.
21112 (RUN_TEST_2_f): Likewise.
21113 (RUN_TEST_fff_f): Likewise.
21114 (RUN_TEST_c_f): Likewise.
21115 (RUN_TEST_f_f1): Likewise.
21116 (RUN_TEST_fF_f1): Likewise.
21117 (RUN_TEST_fI_f1): Likewise.
21118 (RUN_TEST_ffI_f1): Likewise.
21119 (RUN_TEST_c_c): Likewise.
21120 (RUN_TEST_cc_c): Likewise.
21121 (RUN_TEST_f_i): Likewise.
21122 (RUN_TEST_f_i_tg): Likewise.
21123 (RUN_TEST_ff_i_tg): Likewise.
21124 (RUN_TEST_f_b): Likewise.
21125 (RUN_TEST_f_b_tg): Likewise.
21126 (RUN_TEST_f_l): Likewise.
21127 (RUN_TEST_f_L): Likewise.
21128 (RUN_TEST_fFF_11): Likewise.
21129 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21130 conditionals.
21131 (cosh_test_data): Likewise.
21132 (exp_test_data): Likewise.
21133 (expm1_test_data): Likewise.
21134 (hypot_test_data): Likewise.
21135 (pow_test_data): Likewise.
21136 (sinh_test_data): Likewise.
21137 (tanh_test_data): Likewise.
21138 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21139 flags argument.
21140
ca07f197
JM
21141 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21142 tests with quiet NaN input and output.
21143 (acosh_test_data): Likewise.
21144 (asin_test_data): Likewise.
21145 (asinh_test_data): Likewise.
21146 (atan_test_data): Likewise.
21147 (atanh_test_data): Likewise.
21148 (atan2_test_data): Likewise.
21149 (cbrt_test_data): Likewise.
21150 (cos_test_data): Likewise.
21151 (cosh_test_data): Likewise.
21152 (erf_test_data): Likewise.
21153 (erfc_test_data): Likewise.
21154 (exp_test_data): Likewise.
21155 (exp10_test_data): Likewise.
21156 (exp2_test_data): Likewise.
21157 (expm1_test_data): Likewise.
21158 (hypot_test_data): Likewise.
21159 (j0_test_data): Likewise.
21160 (j1_test_data): Likewise.
21161 (jn_test_data): Likewise.
21162 (lgamma_test_data): Likewise.
21163 (log_test_data): Likewise.
21164 (log10_test_data): Likewise.
21165 (log1p_test_data): Likewise.
21166 (log2_test_data): Likewise.
21167 (pow_test_data): Likewise.
21168 (scalb_test_data): Likewise.
21169 (sin_test_data): Likewise.
21170 (sincos_test_data): Likewise.
21171 (sinh_test_data): Likewise.
21172 (tan_test_data): Likewise.
21173 (tanh_test_data): Likewise.
21174 (tgamma_test_data): Likewise.
21175 (y0_test_data): Likewise.
21176 (y1_test_data): Likewise.
21177 (yn_test_data): Likewise.
21178
66294491
JM
21179 [BZ #16167]
21180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21181 argument being NaN and avoid computations with second argument in
21182 that case.
21183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21184 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21185 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21186
1820b143
CL
211872013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21188
21189 * locale/iso-639.def: Add Chitwani Tharu (the).
21190
714bd261
AS
211912013-11-14 Andreas Schwab <schwab@suse.de>
21192
21193 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21194 word instead of empty string.
21195
7ab44563
AZ
211962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21197
21198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21199 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21201 (__fe_nomask_env): Likewise.
21202
e8470ea2
SE
212032013-11-13 Steve Ellcey <sellcey@mips.com>
21204
21205 * benchtests/bench-timing.h: Include time.h.
21206
17c1d9f0
L
212072013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21208
21209 [BZ #15997]
21210 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21211 to 3.4.0 for x32.
21212 * sysdeps/unix/sysv/linux/configure: Regenerated.
21213
9310c284
JM
212142013-11-13 Joseph Myers <joseph@codesourcery.com>
21215
21216 [BZ #16151]
21217 * stdlib/strtod_l.c (round_and_return): Do not consider
21218 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21219 exponent one less than half the least subnormal exponent.
21220 * stdlib/test-strtod-round-data: Add more tests.
21221 * stdlib/tst-strtod-round.c (tests): Regenerated.
21222
7a2ad8cf
AZ
212232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21224
21225 [BZ #14143]
21226 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21227 (__fe_mask_env): Likewise.
21228 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21229 libm_hidden_proto and add function prototype.
21230 (__fe_mask_env): Add function prototype.
21231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21232 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21234 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21236 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21237
50727aa7
MS
212382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21239
b2f386c1 21240 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21241 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21242
a615be46
MS
212432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21244
21245 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21246 of htab_find_slot().
21247
7ddace62
DM
212482013-11-11 David S. Miller <davem@davemloft.net>
21249
21250 [BZ #16150]
21251 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21252 symbol in the non-vis3 case in static builds.
21253 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21254 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21256 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21257
9182aa67
JK
212582013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21259
21260 [BZ #387]
21261 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21262 it is empty.
21263
450a2e2d
AZ
212642013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21265
b2f386c1
SP
21266 * benchtests/Makefile: Add bench-strtod.
21267 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21268
8ec3f656
AS
212692013-11-11 Andreas Schwab <schwab@suse.de>
21270
21271 [BZ #16153]
21272 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21273 terminating NUL in key length.
21274
76a9b998
AZ
212752013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21276
21277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21278 Add artificial ODP entry for vDSO symbol for PPC64.
21279 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21280 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21281
e4368156
OB
212822013-11-07 Ondřej Bílka <neleai@seznam.cz>
21283
21284 [BZ #15374]
21285 * nss/getent.c (services_keys): Recognize services starting with digit.
21286
8d6bb57c
DM
212872013-11-06 David S. Miller <davem@davemloft.net>
21288
21289 [BZ #15985]
21290 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21291 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21292
e256c421
WN
212932013-11-06 Will Newton <will.newton@linaro.org>
21294
21295 * manual/memory.texi (Malloc Examples): Remove register
21296 keyword from examples.
21297
f6e12daa 212982013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21299
f6e12daa 21300 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21301
9d880655
AS
213022013-11-04 Joseph Myers <joseph@codesourcery.com>
21303
fd2f9486 21304 [BZ #6981]
9d880655
AS
21305 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21306 depending on [__GCC_IEC_559 > 0].
21307 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21308 depending on [__GCC_IEC_559_COMPLEX > 0].
21309
ae129d3c
CL
213102013-11-03 Chris Leonard <cjl@sugarlabs.org>
21311
21312 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21313 to iso-639.def.
21314
4a15c2a4 213152013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21316
21317 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21318
8b35e35d
OB
213192013-11-01 Ondřej Bílka <neleai@seznam.cz>
21320
21321 [BZ #16112]
21322 * malloc/malloc (malloc_info): Do not handle first bin as
21323 special case.
21324
1d70fd6c
CL
213252013-11-01 Chris Leonard <cjl@sugarlabs.org>
21326
21327 * locale/iso-639.def: Add Central Nahuatl (nhn).
21328
8c5c2600
BH
213292013-11-01 Bruno Haible <bruno@clisp.org>
21330
21331 [BZ #7003]
21332 * manual/math.texi (BSD Random): Specify range upper bound as
21333 in POSIX.
21334
da5579c2
CL
213352013-10-31 Chris Leonard <cjl@sugarlabs.org>
21336
21337 * locale/iso-639.def: Add Meadow Mari (mhr).
21338
5d30d853
OB
213392013-10-31 Ondřej Bílka <neleai@seznam.cz>
21340
21341 [BZ #14752], [BZ #15763]
21342 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21343 Validate name.
21344 * rt/tst_shm.c: Add test for escaping directory.
21345
a4966c61
AS
213462013-10-31 Andreas Schwab <schwab@suse.de>
21347
8a43e768 21348 [BZ #15917]
a4966c61
AS
21349 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21350 followed by 'x' as part of digit sequence.
21351 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21352
28d708c4
MAP
213532013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21354
21355 [BZ #16037]
21356 * configure.ac: allow GNU Make 4.0 and greater.
21357 * configure: Regenerated.
21358
a56ee40b
WN
213592013-10-30 Will Newton <will.newton@linaro.org>
21360
21361 [BZ #16038]
21362 * malloc/hooks.c (memalign_check): Limit alignment to the
21363 maximum representable power of two.
21364 * malloc/malloc.c (__libc_memalign): Likewise.
21365 * malloc/tst-memalign.c (do_test): Add test for very
21366 large alignment values.
21367 * malloc/tst-posix_memalign.c (do_test): Likewise.
21368
c6e4925d
OB
213692013-10-30 Ondřej Bílka <neleai@seznam.cz>
21370
21371 [BZ #11087]
21372 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21373 (munmap_chunk): Likewise.
21374 (mremap_chunk): Likewise.
21375
213762013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21377
8a43e768 21378 [BZ #15799]
bbea82f7
OB
21379 * stdlib/div.c (div): Remove obsolete code.
21380 * stdlib/ldiv.c (ldiv): Likewise.
21381 * stdlib/lldiv.c (lldiv): Likewise.
21382
977f4b31
SP
213832013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21384
21385 [BZ #16071]
21386 * nss/nss_files/files-XXX.c (get_contents_ret): New
21387 enumerator.
21388 (get_contents): New function.
21389 (internal_getent): Use it. Expand size of LINEBUFLEN.
21390
cb8a6dbd
MF
213912013-10-30 Mike Frysinger <vapier@gentoo.org>
21392
21393 * configure.in: Moved to ...
21394 * configure.ac: ... here. Change reference to configure.in
21395 to configure.ac.
21396 * sysdeps/arm/preconfigure.ac: ... here.
21397 configure.in to configure.ac.
21398 * sysdeps/gnu/configure.in: Moved to ...
21399 * sysdeps/gnu/configure.ac: ... here.
21400 * sysdeps/i386/configure.in: Moved to ...
21401 * sysdeps/i386/configure.ac: ... here.
21402 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21403 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21404 * sysdeps/mach/configure.in: Moved to ...
21405 * sysdeps/mach/configure.ac: ... here.
21406 * sysdeps/mach/hurd/configure.in: Moved to ...
21407 * sysdeps/mach/hurd/configure.ac: ... here.
21408 * sysdeps/powerpc/configure.in: Moved to ...
21409 * sysdeps/powerpc/configure.ac: ... here.
21410 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21411 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21412 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21413 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21414 * sysdeps/s390/s390-32/configure.in: Moved to ...
21415 * sysdeps/s390/s390-32/configure.ac: ... here.
21416 * sysdeps/s390/s390-64/configure.in: Moved to ...
21417 * sysdeps/s390/s390-64/configure.ac: ... here.
21418 * sysdeps/sh/configure.in: Moved to ...
21419 * sysdeps/sh/configure.ac: ... here.
21420 * sysdeps/sparc/configure.in: Moved to ...
21421 * sysdeps/sparc/configure.ac: ... here.
21422 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21423 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21424 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21425 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21426 * sysdeps/x86_64/configure.in: Moved to ...
21427 * sysdeps/x86_64/configure.ac: ... here.
21428 * sysdeps/x86_64/preconfigure.in: Moved to ...
21429 * sysdeps/x86_64/preconfigure.ac: ... here.
21430 * aclocal.m4: Change reference to configure.in to configure.ac.
21431 * config.h.in: Likewise.
21432 * manual/install.texi: Likewise.
21433 * manual/maint.texi: Likewise.
21434 * Makefile: Likewise.
21435 * malloc/Makefile: Likewise.
21436 * nscd/Makefile: Likewise.
21437 * Makeconfig: Change reference to configure.in and
21438 preconfigure.in to configure.ac and preconfigure.ac
21439 respectively.
21440 * INSTALL: Regenerated.
21441 * configure: Likewise.
21442 * sysdeps/gnu/configure: Likewise.
21443 * sysdeps/i386/configure: Likewise.
21444 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21445 * sysdeps/mach/configure: Likewise.
21446 * sysdeps/mach/hurd/configure: Likewise.
21447 * sysdeps/powerpc/configure: Likewise.
21448 * sysdeps/powerpc/powerpc32/configure: Likewise.
21449 * sysdeps/powerpc/powerpc64/configure: Likewise.
21450 * sysdeps/s390/s390-32/configure: Likewise.
21451 * sysdeps/s390/s390-64/configure: Likewise.
21452 * sysdeps/sh/configure: Likewise.
21453 * sysdeps/sparc/configure: Likewise.
21454 * sysdeps/unix/sysv/linux/configure: Likewise.
21455 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21456 * sysdeps/x86_64/configure: Likewise.
21457 * sysdeps/x86_64/preconfigure: Likewise.
21458
36a4953a
AS
214592013-10-29 Andreas Schwab <schwab@suse.de>
21460
21461 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21462
c79a1204
SP
214632013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21464
dfa1b402
SP
21465 * benchtests/pow-inputs: Add new inputs.
21466
54f73d9c
SP
21467 * benchtests/exp-inputs: Add new inputs.
21468
c79a1204
SP
21469 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21470 conditional check for return value.
21471 (__cos32): Likewise.
21472
67beb545 214732013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21474
21475 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21476 to provide a boost for large inputs with word alignment.
21477 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21478 implementation based on optimized PPC64 strcpy.
21479 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21480 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21481 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21482 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21483
151659f6
OB
214842013-10-25 Ondřej Bílka <neleai@seznam.cz>
21485
482a077e 21486 [BZ #2801]
151659f6
OB
21487 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21488
10b0f26b
OB
214892013-10-25 Ondřej Bílka <neleai@seznam.cz>
21490
21491 [BZ #14876]
21492 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21493 * time/tst-strptime.c (day_tests): Add testcase.
21494
ca42d35e
OB
214952013-10-25 Ondřej Bílka <neleai@seznam.cz>
21496
482a077e 21497 [BZ #14029]
ca42d35e
OB
21498 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21499
52e6d801
FB
215002013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21501
21502 [BZ #16074]
21503 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21504 MAP_FAILED on error.
21505
7cbcdb36
SP
215062013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21507
21508 [BZ #16072]
21509 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21510 heap for large requests.
21511
894f3f10
AM
215122013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21513
21514 [BZ #9954]
21515 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21516 result if the result has no associated interface.
21517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21518 interface for all 127.X.Y.Z addresses.
21519
b85545a6
CL
215202013-10-24 Chris Leonard <cjl@sugarlabs.org>
21521
21522 * locale/iso-639.def: Add Ligurian (lij)
21523
d1f23d46
OB
215242013-10-21 Ondřej Bílka <neleai@seznam.cz>
21525
21526 [BZ #15825]
21527 * sunrpc/rpc_main.c: Document rpcgen -5.
21528
4db5b08f
MS
215292013-10-19 Michael Stahl <mstahl@redhat.com>
21530
21531 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21532
a471e96a
OB
215332013-10-19 Ondřej Bílka <neleai@seznam.cz>
21534
d1f23d46 21535 [BZ #10278]
a471e96a
OB
21536 * posix/glob.c: Match only directories when trailing slash is present.
21537 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21538 (main): Add testcase.
21539
45c30c61
OB
215402013-10-19 Ondřej Bílka <neleai@seznam.cz>
21541
21542 [BZ #15670]
21543 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21544
484c12fb
CD
215452013-10-18 Carlos O'Donell <carlos@redhat.com>
21546
3d7dc513
CD
21547 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21548 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21549 AUTH_DES and cindex for FIPS 140-2.
21550 (DES Encryption): Add cindex FIPS 46-3.
21551
484c12fb
CD
21552 * locale/locarchive.h (struct locarhandle): Add fname.
21553 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21554 if an optional argument was specified to --list-archive,
21555 otherwise NULL.
21556 * locale/programs/locarchive.c (show_archive_content): Take new
21557 argument fname and pass it via ah.fname to open_archive.
21558 * locale/programs/localedef.h: Update decl.
21559 (open_archive): If AH->fname is non-null, open that file
21560 rather than the default file name, and don't ignore ENOENT.
21561 (create_archive): Set AH.fname to NULL.
21562 (delete_locales_from_archive): Likewise.
21563 (add_locales_to_archive): Likewise.
21564 * locale/programs/locfile.c (write_all_categories): Likewise.
21565
3c8325fb
JM
215662013-10-18 Joseph Myers <joseph@codesourcery.com>
21567 Aldy Hernandez <aldyh@redhat.com>
21568
21569 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21570 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21571 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21572 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21573 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21574 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21577 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21578 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21580 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21582 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21584 Likewise.
21585 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21586 Likewise.
21587 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21588 Likewise.
21589 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21590 Likewise.
21591 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21592 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21593 Likewise.
21594 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21595 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21596 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21597 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21598 Likewise.
21599 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21600 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21601 * sysdeps/powerpc/preconfigure: Likewise.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21603 Likewise.
21604 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21605 Replace contents of file by #include of <fenv_libc.h>.
21606 * sysdeps/powerpc/soft-fp/sfp-machine.h
21607 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21608 and <sys/prctl.h>.
21609 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21622 Allow copysignl PLT reference to be missing.
21623
5abe0682
RS
216242013-10-18 Richard Sandiford <richard@codesourcery.com>
21625 Joseph Myers <joseph@codesourcery.com
21626
21627 [BZ #15948]
21628 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21629 single character.
21630 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21631
c7738d08
SP
216322013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21633
21634 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21635 * elf/tst-tls1.c: Likewise.
21636 * elf/tst-tls10.h: Likewise.
21637 * elf/tst-tls14.c: Likewise.
21638 * elf/tst-tls2.c: Likewise.
21639 * elf/tst-tls3.c: Likewise.
21640 * elf/tst-tls4.c: Likewise.
21641 * elf/tst-tls5.c: Likewise.
21642 * elf/tst-tls6.c: Likewise.
21643 * elf/tst-tls7.c: Likewise.
21644 * elf/tst-tls8.c: Likewise.
21645 * elf/tst-tls9.c: Likewise.
21646 * elf/tst-tlsmod1.c: Likewise.
21647 * elf/tst-tlsmod13.c: Likewise.
21648 * elf/tst-tlsmod13a.c: Likewise.
21649 * elf/tst-tlsmod14a.c: Likewise.
21650 * elf/tst-tlsmod16a.c: Likewise.
21651 * elf/tst-tlsmod16b.c: Likewise.
21652 * elf/tst-tlsmod2.c: Likewise.
21653 * elf/tst-tlsmod3.c: Likewise.
21654 * elf/tst-tlsmod4.c: Likewise.
21655 * elf/tst-tlsmod5.c: Likewise.
21656 * elf/tst-tlsmod6.c: Likewise.
21657
0bfcf2c7
OB
216582013-10-18 Ondřej Bílka <neleai@seznam.cz>
21659
21660 [BZ #12486]
21661 * malloc/malloc.c: remove checks for statistics.
21662
264aad1e
OB
216632013-10-17 Ondřej Bílka <neleai@seznam.cz>
21664
21665 [BZ #15277]
21666 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21667 * inet/tst-network.c: Add testcase.
21668
b957ced8
AS
216692013-10-17 Andreas Schwab <schwab@suse.de>
21670
21671 [BZ #15218]
21672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21673 to determine canonical name.
21674
c5d5d574
OB
216752013-10-17 Ondřej Bílka <neleai@seznam.cz>
21676
21677 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21678 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21685 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21686 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21688 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21689 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21690 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21691 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21692 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21695 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21696 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21701 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21707 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21735
e5c2c2d0
JM
217362013-10-17 Joseph Myers <joseph@codesourcery.com>
21737
21738 [BZ #16041]
21739 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21740 make result into a quiet NaN.
21741
51ca9e29
JM
217422013-10-16 Joseph Myers <joseph@codesourcery.com>
21743
21744 * soft-fp/adddf3.c: Fix horizontal whitespace.
21745 * soft-fp/addsf3.c: Likewise.
21746 * soft-fp/addtf3.c: Likewise.
21747 * soft-fp/divdf3.c: Likewise.
21748 * soft-fp/divsf3.c: Likewise.
21749 * soft-fp/divtf3.c: Likewise.
21750 * soft-fp/double.h: Likewise.
21751 * soft-fp/eqdf2.c: Likewise.
21752 * soft-fp/eqsf2.c: Likewise.
21753 * soft-fp/eqtf2.c: Likewise.
21754 * soft-fp/extenddftf2.c: Likewise.
21755 * soft-fp/extended.h: Likewise.
21756 * soft-fp/extendsfdf2.c: Likewise.
21757 * soft-fp/extendsftf2.c: Likewise.
21758 * soft-fp/extendxftf2.c: Likewise.
21759 * soft-fp/fixdfdi.c: Likewise.
21760 * soft-fp/fixdfsi.c: Likewise.
21761 * soft-fp/fixdfti.c: Likewise.
21762 * soft-fp/fixsfdi.c: Likewise.
21763 * soft-fp/fixsfsi.c: Likewise.
21764 * soft-fp/fixsfti.c: Likewise.
21765 * soft-fp/fixtfdi.c: Likewise.
21766 * soft-fp/fixtfsi.c: Likewise.
21767 * soft-fp/fixtfti.c: Likewise.
21768 * soft-fp/fixunsdfdi.c: Likewise.
21769 * soft-fp/fixunsdfsi.c: Likewise.
21770 * soft-fp/fixunsdfti.c: Likewise.
21771 * soft-fp/fixunssfdi.c: Likewise.
21772 * soft-fp/fixunssfsi.c: Likewise.
21773 * soft-fp/fixunssfti.c: Likewise.
21774 * soft-fp/fixunstfdi.c: Likewise.
21775 * soft-fp/fixunstfsi.c: Likewise.
21776 * soft-fp/fixunstfti.c: Likewise.
21777 * soft-fp/floatdidf.c: Likewise.
21778 * soft-fp/floatdisf.c: Likewise.
21779 * soft-fp/floatditf.c: Likewise.
21780 * soft-fp/floatsidf.c: Likewise.
21781 * soft-fp/floatsisf.c: Likewise.
21782 * soft-fp/floatsitf.c: Likewise.
21783 * soft-fp/floattidf.c: Likewise.
21784 * soft-fp/floattisf.c: Likewise.
21785 * soft-fp/floattitf.c: Likewise.
21786 * soft-fp/floatundidf.c: Likewise.
21787 * soft-fp/floatundisf.c: Likewise.
21788 * soft-fp/floatunditf.c: Likewise.
21789 * soft-fp/floatunsidf.c: Likewise.
21790 * soft-fp/floatunsisf.c: Likewise.
21791 * soft-fp/floatunsitf.c: Likewise.
21792 * soft-fp/floatuntidf.c: Likewise.
21793 * soft-fp/floatuntisf.c: Likewise.
21794 * soft-fp/floatuntitf.c: Likewise.
21795 * soft-fp/fmadf4.c: Likewise.
21796 * soft-fp/fmasf4.c: Likewise.
21797 * soft-fp/fmatf4.c: Likewise.
21798 * soft-fp/gedf2.c: Likewise.
21799 * soft-fp/gesf2.c: Likewise.
21800 * soft-fp/getf2.c: Likewise.
21801 * soft-fp/ledf2.c: Likewise.
21802 * soft-fp/lesf2.c: Likewise.
21803 * soft-fp/letf2.c: Likewise.
21804 * soft-fp/muldf3.c: Likewise.
21805 * soft-fp/mulsf3.c: Likewise.
21806 * soft-fp/multf3.c: Likewise.
21807 * soft-fp/negdf2.c: Likewise.
21808 * soft-fp/negsf2.c: Likewise.
21809 * soft-fp/negtf2.c: Likewise.
21810 * soft-fp/op-1.h: Likewise.
21811 * soft-fp/op-2.h: Likewise.
21812 * soft-fp/op-4.h: Likewise.
21813 * soft-fp/op-8.h: Likewise.
21814 * soft-fp/op-common.h: Likewise.
21815 * soft-fp/quad.h: Likewise.
21816 * soft-fp/single.h: Likewise.
21817 * soft-fp/soft-fp.h: Likewise.
21818 * soft-fp/sqrtdf2.c: Likewise.
21819 * soft-fp/sqrtsf2.c: Likewise.
21820 * soft-fp/sqrttf2.c: Likewise.
21821 * soft-fp/subdf3.c: Likewise.
21822 * soft-fp/subsf3.c: Likewise.
21823 * soft-fp/subtf3.c: Likewise.
21824 * soft-fp/truncdfsf2.c: Likewise.
21825 * soft-fp/trunctfdf2.c: Likewise.
21826 * soft-fp/trunctfsf2.c: Likewise.
21827 * soft-fp/trunctfxf2.c: Likewise.
21828 * soft-fp/unorddf2.c: Likewise.
21829 * soft-fp/unordsf2.c: Likewise.
21830 * soft-fp/unordtf2.c: Likewise.
21831
9ebb0332
JM
218322013-10-15 Joseph Myers <joseph@codesourcery.com>
21833
21834 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21835 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21836
4b1a6d8b
OB
218372013-10-15 Ondřej Bílka <neleai@seznam.cz>
21838
21839 * elf/dl-libc.c: Clear initfini list after freeing.
21840
1e145589
JM
218412013-10-14 Joseph Myers <joseph@codesourcery.com>
21842
21843 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21844 * soft-fp/addsf3.c: Likewise.
21845 * soft-fp/addtf3.c: Likewise.
21846 * soft-fp/divdf3.c: Likewise.
21847 * soft-fp/divsf3.c: Likewise.
21848 * soft-fp/divtf3.c: Likewise.
21849 * soft-fp/double.h: Likewise.
21850 * soft-fp/eqdf2.c: Likewise.
21851 * soft-fp/eqsf2.c: Likewise.
21852 * soft-fp/eqtf2.c: Likewise.
21853 * soft-fp/extenddftf2.c: Likewise.
21854 * soft-fp/extended.h: Likewise.
21855 * soft-fp/extendsfdf2.c: Likewise.
21856 * soft-fp/extendsftf2.c: Likewise.
21857 * soft-fp/extendxftf2.c: Likewise.
21858 * soft-fp/fixdfdi.c: Likewise.
21859 * soft-fp/fixdfsi.c: Likewise.
21860 * soft-fp/fixdfti.c: Likewise.
21861 * soft-fp/fixsfdi.c: Likewise.
21862 * soft-fp/fixsfsi.c: Likewise.
21863 * soft-fp/fixsfti.c: Likewise.
21864 * soft-fp/fixtfdi.c: Likewise.
21865 * soft-fp/fixtfsi.c: Likewise.
21866 * soft-fp/fixtfti.c: Likewise.
21867 * soft-fp/fixunsdfdi.c: Likewise.
21868 * soft-fp/fixunsdfsi.c: Likewise.
21869 * soft-fp/fixunsdfti.c: Likewise.
21870 * soft-fp/fixunssfdi.c: Likewise.
21871 * soft-fp/fixunssfsi.c: Likewise.
21872 * soft-fp/fixunssfti.c: Likewise.
21873 * soft-fp/fixunstfdi.c: Likewise.
21874 * soft-fp/fixunstfsi.c: Likewise.
21875 * soft-fp/fixunstfti.c: Likewise.
21876 * soft-fp/floatdidf.c: Likewise.
21877 * soft-fp/floatdisf.c: Likewise.
21878 * soft-fp/floatditf.c: Likewise.
21879 * soft-fp/floatsidf.c: Likewise.
21880 * soft-fp/floatsisf.c: Likewise.
21881 * soft-fp/floatsitf.c: Likewise.
21882 * soft-fp/floattidf.c: Likewise.
21883 * soft-fp/floattisf.c: Likewise.
21884 * soft-fp/floattitf.c: Likewise.
21885 * soft-fp/floatundidf.c: Likewise.
21886 * soft-fp/floatundisf.c: Likewise.
21887 * soft-fp/floatunsidf.c: Likewise.
21888 * soft-fp/floatunsisf.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
17c48a60
OB
219292013-10-14 Ondřej Bílka <neleai@seznam.cz>
21930
21931 [BZ #15672]
21932 * misc/error.c (error_tail): Fix possible buffer overflow.
21933
cabba934
OB
219342013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21935
21936 [BZ #13028]
21937 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21938 address.
21939
94bf958a
PM
219402013-10-14 P. J. McDermott <pj@pehjota.net>
21941
21942 [BZ #832]
21943 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21944 testing pipefail option.
21945
71b4dea7
JM
219462013-10-12 Joseph Myers <joseph@codesourcery.com>
21947
21948 * soft-fp/double.h: Indent preprocessor directives inside #if.
21949 * soft-fp/extended.h: Likewise.
21950 * soft-fp/op-2.h: Likewise.
21951 * soft-fp/op-4.h: Likewise.
21952 * soft-fp/op-common.h: Likewise.
21953 * soft-fp/quad.h: Likewise.
21954 * soft-fp/single.h: Likewise.
21955 * soft-fp/soft-fp.h: Likewise.
21956
55602758
YC
219572013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21958
21959 * iconv/iconv_prog.c: Fix typos.
21960 * stdio-common/psiginfo-data.h: Likewise.
21961
9cd83302
RT
219622013-10-12 Reuben Thomas <rrt@sc3d.org>
21963
21964 [BZ #15764]
21965 * locale/setlocale.c: Fix typo.
21966
99fd9f47
JM
219672013-10-12 Joseph Myers <joseph@codesourcery.com>
21968
b7ea74f0
JM
21969 [BZ #16036]
21970 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21971 signaling NaN arguments.
21972 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21973 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21974
8a509447
JM
21975 [BZ #14910]
21976 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21977 unordered operands.
21978 * soft-fp/gesf2.c (__gesf2): Likewise.
21979 * soft-fp/getf2.c (__getf2): Likewise.
21980 * soft-fp/ledf2.c (__ledf2): Likewise.
21981 * soft-fp/lesf2.c (__lesf2): Likewise.
21982 * soft-fp/letf2.c (__letf2): Likewise.
21983
98998e9f
JM
21984 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21985 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21986 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21987 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21988 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21989 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21990 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21991 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21992 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21993 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21994 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21995 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21996 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21997 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21998 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21999 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22000 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22001 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22002 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22003 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22004 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22005 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22006 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22007 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22008 * soft-fp/floattidf.c (__floattidf): Likewise.
22009 * soft-fp/floattisf.c (__floattisf): Likewise.
22010 * soft-fp/floattitf.c (__floattitf): Likewise.
22011 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22012 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22013 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22014 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22015 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22016 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22017 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22018 * soft-fp/gesf2.c (__gesf2): Likewise.
22019 * soft-fp/getf2.c (__getf2): Likewise.
22020 * soft-fp/ledf2.c (__ledf2): Likewise.
22021 * soft-fp/lesf2.c (__lesf2): Likewise.
22022 * soft-fp/letf2.c (__letf2): Likewise.
22023
8edc4a11
JM
22024 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22025 Undefine and redefine.
22026 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22027 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22028 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22029 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22030 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22031 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22032 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22033 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22034 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22035 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22036 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22037 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22038 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22039 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22040 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22041
8399acaf
JM
22042 [BZ #16032]
22043 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22044 without decrementing exponent if mantissa >= that for the
22045 denominator, not >.
22046 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22047 denominator, not >. Decrement exponent in < case instead of
22048 incrementing in >= case.
22049 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22050 without decrementing exponent if mantissa >= that for the
22051 denominator, not >.
22052
99fd9f47
JM
22053 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22054 computing saturated result for unsigned overflow.
22055
10e1cf6b
SP
220562013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22057 Jeff Law <law@redhat.com>
22058
22059 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22060 (atan2Mp): Add systemtap probe marker.
22061 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22062 (__ieee754_log): Add systemtap probe marker.
22063 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22064 (atanMp): Add systemtap probe marker.
22065 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22066 (tanMp): Add systemtap probe marker.
22067 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22068 (__slowexp): Add systemtap probe marker.
22069 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22070 (__slowpow): Add systemtap probe marker.
22071 * manual/probes.texi: Document probes.
22072
3d110c7c
EB
220732013-10-11 Eric Biggers <ebiggers3@gmail.com>
22074
22075 [BZ #15362]
22076 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22077 written.
22078 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22079 written.
22080 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22081 written to buffer but not flushed.
22082 * libio/iofwrite_u.c: Likewise.
22083 * libio/iopadn.c: Return bytes returned even if EOF was
22084 encountered.
22085 * libio/iowpadn.c: Likewise.
22086 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22087 if _IO_padn does not write the whole buffer.
22088 [!COMPILE_WPRINTF] (PAD): Likewise.
22089
75b4202a
DM
220902013-10-10 David S. Miller <davem@davemloft.net>
22091
22092 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22093 directory block.
22094
6c6352e6
JM
220952013-10-10 Joseph Myers <joseph@codesourcery.com>
22096
33b853c3
JM
22097 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22098 instead of FSF address.
22099 * soft-fp/fixdfti.c: Likewise.
22100 * soft-fp/fixsfti.c: Likewise.
22101 * soft-fp/fixtfti.c: Likewise.
22102 * soft-fp/fixunsdfti.c: Likewise.
22103 * soft-fp/fixunssfti.c: Likewise.
22104 * soft-fp/fixunstfti.c: Likewise.
22105 * soft-fp/floattidf.c: Likewise.
22106 * soft-fp/floattisf.c: Likewise.
22107 * soft-fp/floattitf.c: Likewise.
22108 * soft-fp/floatuntidf.c: Likewise.
22109 * soft-fp/floatuntisf.c: Likewise.
22110 * soft-fp/floatuntitf.c: Likewise.
22111 * soft-fp/trunctfxf2.c: Likewise.
22112
6c6352e6
JM
22113 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22114 * soft-fp/fixdfti.c: Likewise.
22115 * soft-fp/fixsfti.c: Likewise.
22116 * soft-fp/fixtfti.c: Likewise.
22117 * soft-fp/fixunsdfti.c: Likewise.
22118 * soft-fp/fixunssfti.c: Likewise.
22119 * soft-fp/fixunstfti.c: Likewise.
22120 * soft-fp/floattidf.c: Likewise.
22121 * soft-fp/floattisf.c: Likewise.
22122 * soft-fp/floattitf.c: Likewise.
22123 * soft-fp/floatuntidf.c: Likewise.
22124 * soft-fp/floatuntisf.c: Likewise.
22125 * soft-fp/floatuntitf.c: Likewise.
22126 * soft-fp/trunctfxf2.c: Likewise.
22127
3bf78b71
DM
221282013-10-10 David S. Miller <davem@davemloft.net>
22129
22130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22131
6f10289e
JM
221322013-10-10 Joseph Myers <joseph@codsourcery.com>
22133
bd878fc0
JM
22134 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22135 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22136 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22141
6f10289e
JM
22142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22143 for NaNs before doing comparisons on argument.
22144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22145 Likewise.
22146
321e2684
WN
221472013-10-10 Will Newton <will.newton@linaro.org>
22148
22149 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22150 passed to _int_memalign does not overflow.
22151
40fefba1
TR
221522013-10-10 Torvald Riegel <triegel@redhat.com>
22153
22154 * scripts/bench.pl: Add include-sources directive.
22155 * benchtests/README: Update documentation.
22156
2ae21ed2
JM
221572013-10-10 Joseph Myers <joseph@codesourcery.com>
22158
dcc2dd3f
JM
22159 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22160 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22161 instead of FP_INIT_ROUNDMODE.
22162 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22163 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22164
2ae21ed2
JM
22165 [BZ #16034]
22166 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22167 copy class of input value.
22168 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22169 not handle exceptions.
22170 * soft-fp/negsf2.c (__negsf2): Likewise.
22171 * soft-fp/negtf2.c (__negtf2): Likewise.
22172 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22173
cb8f9562
JM
221742013-10-09 Joseph Myers <joseph@codesourcery.com>
22175
22176 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22177 semicolon. From Linux kernel.
22178
5b60c59d
AB
221792013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22180
22181 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22182
b86835ca
YC
221832013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22184
22185 [BZ #156]
22186 * manual/socket.texi: Added statement about buffer
22187 for gethostbyname2_r.
22188
e7044ea7
OB
221892013-10-08 Ondřej Bílka <neleai@seznam.cz>
22190
22191 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22192 Use .p2align directive instead, throughout.
22193 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22194 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22195 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22198 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22199 * sysdeps/x86_64/strchr.S: Likewise.
22200 * sysdeps/x86_64/strrchr.S: Likewise.
22201
09544cbc
SP
222022013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22203
88576635
SP
22204 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22205
e7b2d1dd
SP
22206 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22207
09544cbc
SP
22208 * sysdeps/generic/math_private.h (__mpsin1): Remove
22209 declaration.
22210 (__mpcos1): Likewise.
22211 (__mpsin): New argument __range_reduce.
22212 (__mpcos): Likewise.
22213 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22214 (slow): Use __mpsin and __mpcos.
22215 (slow1): Likewise.
22216 (slow2): Likewise.
22217 (sloww): Likewise.
22218 (sloww1): Likewise.
22219 (sloww2): Likewise.
22220 (bsloww): Likewise.
22221 (bsloww1): Likewise.
22222 (bsloww2): Likewise.
22223 (cslow2): Likewise.
22224 (csloww): Likewise.
22225 (csloww1): Likewise.
22226 (csloww2): Likewise.
22227 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22228 range_reduce. Merge in __mpsin1.
22229 (__mpcos): Likewise.
22230 (__mpsin1): Remove.
22231 (__mpcos1): Likewise.
22232
7602d070
JM
222332013-10-07 Joseph Myers <joseph@codesourcery.com>
22234
22235 * locale/loadlocale.c (_nl_intern_locale_data): Use
22236 LOCFILE_ALIGNED_P.
22237 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22238 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22239 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22240 obstack data is appropriately aligned.
22241 (obstack_int32_grow_fast): Likewise.
22242 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22243 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22244 (add_locale_uint32_array): Likewise.
22245
a357259b
SP
222462013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22247
22248 * benchtests/Makefile: Remove ARGLIST and RET variables.
22249 ($(objpfx)bench-%.c): Pass only function name to the script.
22250 * benchtests/README: Update documentation.
22251 * benchtests/acos-inputs: Add new directives.
22252 * benchtests/acosh-inputs: Likewise.
22253 * benchtests/asin-inputs: Likewise.
22254 * benchtests/asinh-inputs: Likewise.
22255 * benchtests/atan-inputs: Likewise.
22256 * benchtests/atanh-inputs: Likewise.
22257 * benchtests/cos-inputs: Likewise.
22258 * benchtests/cosh-inputs: Likewise.
22259 * benchtests/exp-inputs: Likewise.
22260 * benchtests/log-inputs: Likewise.
22261 * benchtests/pow-inputs: Likewise.
22262 * benchtests/rint-inputs: Likewise.
22263 * benchtests/sin-inputs: Likewise.
22264 * benchtests/sinh-inputs: Likewise.
22265 * benchtests/tan-inputs: Likewise.
22266 * benchtests/tanh-inputs: Likewise.
22267 * scripts/bench.pl: Add support for new directives.
22268
9ec1b13d
AM
222692013-10-07 Alan Modra <amodra@gmail.com>
22270
22271 * README: Fix careless merge.
22272
8b7d57cd
AM
222732013-10-05 Alan Modra <amodra@gmail.com>
22274
22275 * NEWS: Mention powerpc64le support and bugs fixed.
22276 * README: Both big-endian and little-endian powerpc64 supported.
22277
7b7bab13
ST
222782013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22279
57f41c40
AS
22280 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22281 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22282 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22283 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22284
d39baad1
RA
222852013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22286
22287 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22288 match prototype.
22289
cd78f7e7
JM
222902013-10-04 Joseph Myers <joseph@codesourcery.com>
22291
29d73d86
JM
22292 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22293 Move -mhard-float appending from
22294 ports/sysdeps/powerpc/powerpc32/Makefile.
22295 [$(with-fp) = yes] (ASFLAGS): Likewise.
22296 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22297 * sysdeps/powerpc/nofpu: Move directory from
22298 ports/sysdeps/powerpc/nofpu.
22299 * sysdeps/powerpc/soft-fp: Move directory from
22300 ports/sysdeps/powerpc/soft-fp.
22301 * sysdeps/powerpc/powerpc32/405: Move directory from
22302 ports/sysdeps/powerpc/powerpc32/405.
22303 * sysdeps/powerpc/powerpc32/440: Move directory from
22304 ports/sysdeps/powerpc/powerpc32/440.
22305 * sysdeps/powerpc/powerpc32/464: Move directory from
22306 ports/sysdeps/powerpc/powerpc32/464.
22307 * sysdeps/powerpc/powerpc32/476: Move directory from
22308 ports/sysdeps/powerpc/powerpc32/476.
22309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22316 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22318 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22319 * README: Update for powerpc-*-linux-gnu software floating point
22320 support in libc.
22321
e246b347
JM
22322 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22323 case to powerpc/powerpc32*.
22324 * sysdeps/unix/sysv/linux/configure: Regenerated.
22325
89c2003e
JM
22326 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22327 (_FPU_MASK_OM): Define as 0x04.
22328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22330 0x00c10080.
22331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22332 0x0000003c.
22333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22334
cd78f7e7
JM
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22336 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22337 getcontext_e500.
22338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22339 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22340 setcontext_e500.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22342 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22343 and setcontext_e500.
22344
c755294d
CL
223452013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22346
22347 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22348
e16d221c
SP
223492013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22350
22351 * manual/threads.texi (Default Thread Attributes): Fix typo.
22352
215c7d43
WN
223532013-10-04 Will Newton <will.newton@linaro.org>
22354
22355 * malloc/Makefile: Add tst-memalign.
22356 * malloc/tst-memalign.c: New file.
22357
27d0461b
WN
22358 * malloc/tst-posix_memalign.c: Add comments.
22359 (do_test): Add comments and call free on all potentially
22360 allocated pointers. Add space after cast.
22361
1bc92709
WN
22362 * malloc/tst-pvalloc.c: Add comments.
22363 (do_test): Add comments and call free on all potentially
22364 allocated pointers. Remove duplicate check for NULL pointer.
22365 Add space after cast.
22366
66a9be9d
WN
22367 * malloc/tst-valloc.c: Add comments.
22368 (do_test): Add comments and call free on all potentially
22369 allocated pointers. Remove duplicate check for NULL pointer.
22370 Add space after cast.
22371
4cb81307
AM
223722013-10-04 Alan Modra <amodra@gmail.com>
22373
22374 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22375 Use stdint types in rather than __attribute__((mode())).
22376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22377
f8e3e9f3
AM
223782013-10-04 Alan Modra <amodra@gmail.com>
22379
22380 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22381 Correct handling of unaligned relocs for little-endian.
22382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22383
8f9ebb08
AM
223842013-10-04 Alan Modra <amodra@gmail.com>
22385
22386 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22387 * configure: Regenerate.
22388 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22389 * shlib-versions: Likewise.
22390
0edf96c2
AM
223912013-10-04 Alan Modra <amodra@gmail.com>
22392
22393 * string/tester.c (test_memrchr): Increment reported test cycle.
22394
e0f7a380
AM
223952013-10-04 Alan Modra <amodra@gmail.com>
22396
22397 * string/test-memcpy.c (do_one_test): When reporting errors, print
22398 string address and don't overrun end of string.
22399
466b0393
AM
224002013-10-04 Alan Modra <amodra@gmail.com>
22401
22402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22403 insrdi. Make better use of reg selection to speed exit slightly.
22404 Schedule entry path a little better. Remove useless "are we done"
22405 checks on entry to main loop. Handle wrapping around zero address.
22406 Correct main loop count. Handle single left-over word from main
22407 loop inline rather than by using loop_small. Remove extra word
22408 case in loop_small caused by wrong loop count. Add little-endian
22409 support.
22410 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22412 cache hint.
22413 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22415 support. Avoid rlwimi.
22416 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22417
3be87c77
AM
224182013-10-04 Alan Modra <amodra@gmail.com>
22419
22420 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22421 insrdi. Formatting.
3be87c77
AM
22422 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22423 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22424 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22425 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22426 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22427 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22428
759cfef3
AM
224292013-10-04 Alan Modra <amodra@gmail.com>
22430
22431 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22435 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22436 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22440 use of regs. Use power7 mtocrf. Tidy function tails.
22441
fe6e95d7
AM
224422013-10-04 Alan Modra <amodra@gmail.com>
22443
22444 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22445 Formatting. Consistently use rXXX register defines or rN defines.
22446 Use early exit labels that avoid restoring unused non-volatile regs.
22447 Make cr field use more consistent with rWORDn compares. Rename
22448 regs used as shift registers for unaligned loop, using rN defines
22449 for short lifetime/multiple use regs.
22450 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22452 addi 1,1,64 to pop stack frame. Simplify return value code.
22453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22454
664318c3
AM
224552013-10-04 Alan Modra <amodra@gmail.com>
22456
22457 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22458 support. Correct typos, formatting. Optimize tail. Use insrdi
22459 rather than rlwimi.
22460 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22462 little-endian support. Correct typos.
22463 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22464 rather than rlwimi.
22465 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22466 in loop and entry code to keep "and." results.
22467 (strchr): Add little-endian support. Comment. Move cntlzd
22468 earlier in tail.
22469 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22470
43b84013
AM
224712013-10-04 Alan Modra <amodra@gmail.com>
22472
22473 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22474 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22475 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22476 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22477
8a7413f9
AM
224782013-10-04 Alan Modra <amodra@gmail.com>
22479
22480 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22481 (rTMP): Define as r11.
22482 (strcmp): Add little-endian support. Optimise tail.
22483 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22484 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22485 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22487 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22490
33ee81de
AM
224912013-10-04 Alan Modra <amodra@gmail.com>
22492
22493 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22494 little-endian support. Remove unnecessary "are we done" tests.
22495 Handle "s" wrapping around zero and extremely large "size".
22496 Correct main loop count. Handle single left-over word from main
22497 loop inline rather than by using small_loop. Correct comments.
22498 Delete "zero" tail, use "end_max" instead.
22499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22500
db9b4570
AM
225012013-10-04 Alan Modra <amodra@gmail.com>
22502
22503 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22504 support. Don't branch over align.
22505 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22507 support. Rearrange tmp reg use to suit. Comment.
22508 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22509
f7c399cf
AM
225102013-10-04 Alan Modra <amodra@gmail.com>
22511
22512 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22513
0b2c2ace
AM
225142013-10-04 Alan Modra <amodra@gmail.com>
22515
22516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22517 conditional form of branch and link when obtaining pc.
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22519
02f04a6c
AM
225202013-10-04 Alan Modra <amodra@gmail.com>
22521
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22523 HIWORD/LOWORD.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22526
9b874b2f
AM
225272013-10-04 Alan Modra <amodra@gmail.com>
22528
22529 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22530 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22531 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22532 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22533 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22534 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22535 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22536 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22537 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22538 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22539
be1e5d31
AB
225402013-10-04 Anton Blanchard <anton@au1.ibm.com>
22541 Alistair Popple <alistair@ozlabs.au.ibm.com>
22542 Alan Modra <amodra@gmail.com>
22543
22544 [BZ #15723]
22545 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22546 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22547 _dl_hwcap access for little-endian.
22548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22549 destroy vmx regs when saving unaligned.
22550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22551 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22552 destroy vmx regs when saving unaligned.
22553
fef13a78
AM
225542013-10-04 Alan Modra <amodra@gmail.com>
22555
22556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22557 Don't use a union to pack hi/low value.
22558
76a66d51
AB
225592013-10-04 Anton Blanchard <anton@au1.ibm.com>
22560
22561 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22562 for little-endian.
22563 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22566 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22567 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22568
6a31fe7f
AM
225692013-10-04 Alan Modra <amodra@gmail.com>
22570
22571 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22572 constants to usual value for .cst8 section, and remove redundant
22573 high address load.
22574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22575 constant for 0x1p52. Load little-endian words of double from
22576 correct stack offsets.
22577
7b88401f
AM
225782013-10-04 Alan Modra <amodra@gmail.com>
22579
22580 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22581 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22582 words of double from correct stack offsets.
22583 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22584 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22585 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22590 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22591 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22595 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22596 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22598 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22599 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22600
9c008155
AM
226012013-10-04 Alan Modra <amodra@gmail.com>
22602
22603 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22604 64-bit int/double union.
22605 (_FPU_SETCW): Likewise.
22606 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22607 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22608
da13146d
AM
226092013-10-04 Alan Modra <amodra@gmail.com>
22610
22611 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22612 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22613
603e8410
AM
226142013-10-04 Alan Modra <amodra@gmail.com>
22615
22616 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22617 use vector int constants.
22618 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22619
4a28b3ca
AB
226202013-10-04 Anton Blanchard <anton@au1.ibm.com>
22621
22622 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22623 array with long long.
22624 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22625 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22626 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22627 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22628 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22629 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22630 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22631 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22632 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22633 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22634 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22635 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22636 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22637
2ca85d2b
AB
226382013-10-04 Anton Blanchard <anton@au1.ibm.com>
22639
22640 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22641 (__signbit): Likewise. Correct for little-endian.
22642 (__signbitl): Call __signbit.
22643 (lrint): Correct for little-endian.
22644 (lrintf): Call lrint.
22645
62a728ae
AM
226462013-10-04 Alan Modra <amodra@gmail.com>
22647
22648 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22649 union 32-bit int array member with 64-bit int array.
22650 (t515, tm256): Double rather than long double.
22651 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22652
32c301df
AM
226532013-10-04 Alan Modra <amodra@gmail.com>
22654
22655 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22656 Delete.
22657 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22659 version of math_ldbl.h.
22660
650ef4bd
AM
226612013-10-04 Alan Modra <amodra@gmail.com>
22662
22663 [BZ #15734], [BZ #15735]
22664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22665 all uses of ieee875 long double macros and unions. Simplify test
22666 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22667 ldbl_extract_mantissa value for ix,iy exponents. Properly
22668 normalize after ldbl_extract_mantissa, and don't add hidden bit
22669 already handled. Don't treat low word of ieee854 mantissa like
22670 low word of IBM long double and mask off bit when testing for
22671 zero.
22672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22673 all uses of ieee875 long double macros and unions. Simplify tests
22674 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22675 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22676 two1022, instead use their values. Recognise that tests for large
22677 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22679 Rewrite all uses of ieee875 long double macros and unions. Simplify
22680 test for 0.0L and nan. Correct negation.
22681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22682 ieee875 long double macros and unions. Correct output for large
22683 magnitude x. Correct absolute value calculation.
22684 (__erfcl): Likewise.
22685 * math/libm-test.inc: Add tests for errors discovered in IBM long
22686 double versions of fmodl, remainderl, erfl and erfcl.
22687
765714ca
AM
226882013-10-04 Alan Modra <amodra@gmail.com>
22689
22690 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22691 all uses of ieee854 long double macros and unions. Simplify tests
22692 for long doubles that are fully specified by the high double.
22693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22694 Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22696 Remove dead code too.
22697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22698 (__ieee754_ynl): Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22702 Remove dead code too.
22703 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22706 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22707 Simplify.
22708 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22709 Simplify.
22710 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22713 Comment on variable precision.
22714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22716 Likewise.
22717 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22721 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22722
4ebd120c
AM
227232013-10-04 Alan Modra <amodra@gmail.com>
22724
22725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22727 all uses of ieee854 long double macros and unions.
22728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22733 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22734 Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22740 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22741 Simplify sign and nan test too.
22742 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22743 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22744 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22745 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22746 Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22748 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22749 Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22754 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22756
1b6adf88
AM
227572013-10-04 Alan Modra <amodra@gmail.com>
22758
22759 * stdio-common/printf_size.c (__printf_size): Don't use
22760 union ieee854_long_double in fpnum union.
22761 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22762 signbit macro to retrieve sign from long double.
22763 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22764 retrieve sign from long double.
22765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22766 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22767 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22768 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22769 * math/test-misc.c (main): Don't use union ieee854_long_double.
22770
4cf69995
AM
227712013-10-04 Alan Modra <amodra@gmail.com>
22772
22773 [BZ #15680]
22774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22776 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22777 calculation. Remove unnecessary test for denormal exponent.
22778 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22779 Correct handling of denormals. Avoid undefined shift behaviour.
22780 Correct normalisation of low mantissa when low double is denormal.
22781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22782 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22783 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22784 Correct normalisation of low mantissa. Test for overflow of high
22785 mantissa and normalise.
22786 (ldbl_nearbyint): Use more readable constant for two52.
22787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22788 (__mpn_construct_long_double): Fix test for overflow of high
22789 mantissa and correct normalisation. Avoid undefined shift.
22790
9605ca6c
AM
227912013-10-04 Alan Modra <amodra@gmail.com>
22792
22793 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22794 (union ibm_extended_long_double): Define as an array of ieee754_double.
22795 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22796 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22797 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22806
975569d0
JM
228072013-10-03 Joseph Myers <joseph@codesourcery.com>
22808
d3d23756
JM
22809 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22810 page size instead of calling getpagesize.
22811
975569d0
JM
22812 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22813 (LOCFILE_ALIGN_MASK): Likewise.
22814 (LOCFILE_ALIGN_UP): Likewise.
22815 (LOCFILE_ALIGNED_P): Likewise.
22816 * locale/programs/ld-collate.c (collate_output): Use the new
22817 macros instead of __alignof__ (int32_t).
22818 * locale/weight.h (findidx): Likewise.
22819
b1fe1f2b
OB
228202013-10-03 Ondřej Bílka <neleai@seznam.cz>
22821
22822 [BZ #431]
22823 * manual/string.texi: Fix strncat and wcsncat.
22824
5f855e35
BM
228252013-10-03 Brooks Moses <bmoses@google.com>
22826
22827 [BZ #15915]
22828 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22829 * Makerules: ...here, and adjust associated comments.
22830
3cef6009
WN
228312013-10-02 Will Newton <will.newton@linaro.org>
22832
22833 * malloc/Makefile: Add tst-pvalloc.
22834 * malloc/tst-pvalloc.c: New file.
22835
7815420b
WN
228362013-10-02 Will Newton <will.newton@linaro.org>
22837
22838 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22839 improve test coverage.
22840
4868b204
WN
228412013-10-02 Will Newton <will.newton@linaro.org>
22842
22843 * malloc/Makefile: Add tst-posix_memalign.
22844 * malloc/tst-posix_memalign.c: New file.
22845
29c793b3
EB
228462013-10-01 Eric Blake <eblake@redhat.com>
22847
22848 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22849 Use __THROWNL rather than __THROW on static functions.
22850
fd967522
PM
228512013-09-30 Petr Machata <pmachata@redhat.com>
22852
22853 * elf/elf.h (R_AARCH64_ABS16): New macro.
22854 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22855 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22856 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22857 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22858 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22859 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22860 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22861 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22862 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22863 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22864 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22865 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22866 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22867 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22868 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22869 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22870 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22871 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22872 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22873 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22874 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22875 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22876 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22877 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22878 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22879 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22880 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22881 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22882 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22883 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22884 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22886 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22888 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22889 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22891 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22893 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22895 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22897 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22899 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22901 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22903 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22904 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22905 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22906 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22907 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22908 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22909 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22910 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22911 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22912 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22913 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22914 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22916 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22918 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22920 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22922 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22924 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22925 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22926 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22927 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22928 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22929 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22930 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22931 (R_AARCH64_TLSDESC_LDR): Likewise.
22932 (R_AARCH64_TLSDESC_ADD): Likewise.
22933 (R_AARCH64_TLSDESC_CALL): Likewise.
22934
b2179107
AS
229352013-09-30 Andreas Schwab <schwab@suse.de>
22936
22937 [BZ #15048]
22938 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22939 the nss database lookup.
22940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22942
47f28d0a
MF
229432013-09-28 Mike Frysinger <vapier@gentoo.org>
22944
22945 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22946
229472013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22948
22949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22950 ${Bash-specific parameter/pattern/string} parameter expansion.
22951 * sysdeps/unix/make-syscalls.sh: Likewise.
22952
f4518a17
KK
229532013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22954
22955 * sysdeps/sh/stackguard-macros.h: New file.
22956
dc1a95c7
OB
229572013-09-26 Ondřej Bílka <neleai@seznam.cz>
22958
22959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22961 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22963 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22964 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22965
5ebbff8f
AZ
229662013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22967
22968 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22969 Fix thread ID register.
22970
4fd2cf9f
JM
229712013-09-25 Joseph Myers <joseph@codesourcery.com>
22972
22973 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22974 [POSIX || UNIX98]: Require rather than permitting all symbols from
22975 <time.h>.
22976 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22977 element of struct sched_param.
22978 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22979 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22980 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22981 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22982 constant.
22983
12c22bc4
OL
229842013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22985
22986 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22987 argument calculation.
22988
a03d8ea7
JM
229892013-09-24 Joseph Myers <joseph@codesourcery.com>
22990
22991 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22992 Expect macro.
22993 [POSIX] (pthread_attr_t): Do not require type.
22994 [POSIX] (pthread_cond_t): Likewise.
22995 [POSIX] (pthread_condattr_t): Likewise.
22996 [POSIX] (pthread_key_t): Likewise.
22997 [POSIX] (pthread_mutex_t): Likewise.
22998 [POSIX] (pthread_mutexattr_t): Likewise.
22999 [POSIX] (pthread_once_t): Likewise.
23000 [POSIX] (pthread_t): Likewise.
23001 [POSIX-based standards] (pthread_atfork): Expect function.
23002
6055173a
JM
230032013-09-24 Joseph Myers <joseph@codesourcery.com>
23004 Richard Sandiford <richard@codesourcery.com>
23005
23006 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23007 (swap_endianness_p): New extern variable.
23008 (set_big_endian): New inline function.
23009 (maybe_swap_uint32): Likewise.
23010 (maybe_swap_uint32_array): Likewise.
23011 (maybe_swap_uint32_obstack): Likewise.
23012 * locale/programs/locfile.c: Include <stdbool.h>.
23013 (swap_endianness_p): New variable.
23014 (add_locale_uint32): Call maybe_swap_uint32.
23015 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23016 (write_locale_data): Call maybe_swap_uint32_array.
23017 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23018 maybe_swap_uint32.
23019 (obstack_int32_grow_fast): Likewise.
23020 (output_weightwc): Call maybe_swap_uint32_obstack.
23021 (collate_output): Likewise.
23022 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23023 (OPT_LITTLE_ENDIAN): Likewise.
23024 (options): Add --little-endian and --big-endian options.
23025 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23026 * locale/programs/locarchive.c: Include "locfile.h".
23027 (GET): New macro.
23028 (SET): Likewise.
23029 (INC): Likewise.
23030 (create_archive): Use the new macros to access fields of
23031 structures directly mapped from or written to locale archives.
23032 (oldlocrecentcmp): Likewise.
23033 (enlarge_archive): Likewise.
23034 (insert_name): Likewise.
23035 (add_alias): Likewise.
23036 (add_locale): Likewise.
23037 (delete_locales_from_archive): Likewise.
23038 (show_archive_content): Likewise.
23039 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23040 locale data.
23041
39bf0bb4
RM
230422013-09-24 Roland McGrath <roland@hack.frob.com>
23043
23044 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23045 http://www.gnu.org/doc/freemanuals.texi.
23046 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23047
f02eed10
WN
230482013-09-24 Will Newton <will.newton@linaro.org>
23049
23050 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23051 macro.
23052
a3a6c312
JM
230532013-09-23 Joseph Myers <joseph@codesourcery.com>
23054
23055 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23056 unsigned char.
23057
107375ac
MR
230582013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23059
23060 * manual/threads.texi (POSIX Threads): Fix a typo.
23061
141f3a77
SP
230622013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23063
303e567a
SP
23064 [BZ #14547]
23065 * string/tst-strcoll-overflow.c: New test case.
23066 * string/Makefile (xtests): Add tst-strcoll-overflow.
23067 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23068 cache if string sizes may cause integer overflow.
23069
141f3a77
SP
23070 [BZ #14547]
23071 * string/strcoll_l.c (coll_seq): New members rule, idx,
23072 save_idx and back_us.
23073 (get_next_seq_nocache): New function.
23074 (do_compare_nocache): New function.
23075 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23076 when malloc fails.
23077
c61b4d41
CD
230782013-09-23 Carlos O'Donell <carlos@redhat.com>
23079
0b1f8e35
CD
23080 [BZ #15754]
23081 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23082 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23083 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23084
c61b4d41
CD
23085 [BZ #15754]
23086 * elf/Makefile (tests): Add tst-ptrguard1.
23087 (tests-static): Add tst-ptrguard1-static.
23088 (tst-ptrguard1-ARGS): Define.
23089 (tst-ptrguard1-static-ARGS): Define.
23090 * elf/tst-ptrguard1.c: New file.
23091 * elf/tst-ptrguard1-static.c: New file.
23092 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23093 * sysdeps/i386/stackguard-macros.h: Likewise.
23094 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23095 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23096 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23097 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23098 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23099 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23100
231012013-09-23 Hector Marco <hecmargi@upv.es>
23102 Ismael Ripoll <iripoll@disca.upv.es>
23103 Carlos O'Donell <carlos@redhat.com>
23104
23105 [BZ #15754]
23106 * sysdeps/generic/stackguard-macros.h: Define
23107 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23108 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23109 Define __pointer_chk_guard_local.
23110 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23111 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23112
f5f4e7b4
VV
231132013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23114
23115 [BZ #15859]
23116 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23117
5bb43a43
AS
231182013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23119
23120 * include/string.h (__ffs): Declare as hidden.
23121 * string/ffs.c (__ffs): Define as hidden.
23122 * sysdeps/i386/ffs.c (__ffs): Likewise.
23123 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23124 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23125 * sysdeps/s390/ffs.c (__ffs): Likewise.
23126 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23127
3ea5be54
AO
231282013-09-20 Alexandre Oliva <aoliva@redhat.com>
23129
ffb89e53
AO
23130 * NEWS: Mention malloc probes.
23131
322dea08
AO
23132 * malloc/arena.c (new_heap): New memory_heap_new probe.
23133 (grow_heap): New memory_heap_more probe.
23134 (shrink_heap): New memory_heap_less probe.
23135 (heap_trim): New memory_heap_free probe.
23136 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23137 (systrim): New memory_sbrk_less probe.
23138 * manual/probes.texi: Document them.
23139
655673f3
AO
23140 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23141 * manual/probes.texi: Document it.
23142
35fed6f1
AO
23143 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23144 (__libc_realloc): Add memory_realloc_retry probe.
23145 (__libc_memalign): Add memory_memalign_retry probe.
23146 (__libc_valloc): Add memory_valloc_retry probe.
23147 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23148 (__libc_calloc): Add memory_calloc_retry probe.
23149 * manual/probes.texi: Document them.
23150
6999d38c
AO
23151 * malloc/arena.c (get_free_list): Add probe
23152 memory_arena_reuse_free_list.
23153 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23154 and memory_arena_reuse.
23155 (arena_get2) [!PER_THREAD]: Likewise.
23156 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23157 memory_arena_reuse_realloc.
23158 * manual/probes.texi: Document them.
23159
0653427f
AO
23160 * malloc/malloc.c (__libc_free): Add
23161 memory_mallopt_free_dyn_thresholds probe.
23162 (__libc_mallopt): Add multiple memory_mallopt probes.
23163 * manual/probes.texi: Document them.
23164
3ea5be54
AO
23165 * malloc/malloc.c: Include stap-probe.h.
23166 (__libc_mallopt): Add memory_mallopt probe.
23167 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23168 * manual/probes.texi: New.
23169 * manual/Makefile (chapters): Add probes.
23170 * manual/threads.texi: Set next node.
23171
e35696c3 231722013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23173
e35696c3
CL
23174 [BZ #15963, #13985]
23175 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23176 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23177 Add `Chinese' to `nan' entry name.
23178
4aafb73c
SP
231792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23180
23181 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23182 (POLYNOMIAL): Likewise.
23183 (TAYLOR_SINCOS): Likewise.
23184 (TAYLOR_SLOW): Likewise.
23185 (__sin): Use TAYLOR_SINCOS.
23186 (__cos): Likewise.
23187 (slow): Use TAYLOR_SLOW.
23188 (sloww): Likewise.
23189 (bsloww): Likewise.
23190 (csloww): Likewise.
23191
d84f25c7
LD
231922013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23193
23194 * stdlib/strtod_l.c: Fix buffer overrun.
23195
5eea0404
SP
231962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23197
7849ff93
SP
23198 * benchtests/Makefile (bench): Add sincos.
23199 * benchtests/bench-sincos.c: New file.
23200
cfa3c886
SP
23201 * math/libm-test.inc (cos_test_data): New test inputs.
23202 (sin_test_data): Likewise.
23203
b348e1e3
SP
23204 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23205 macro.
23206 (__sin): Use it.
23207 (__cos): Likewise.
23208 (slow1): Likewise.
23209 (slow2): Likewise.
23210 (sloww1): Likewise.
23211 (sloww2): Likewise.
23212 (bsloww1): Likewise.
23213 (bsloww2): Likewise.
23214 (cslow2): Likewise.
23215 (csloww1): Likewise.
23216 (csloww2): Likewise.
23217
6cce25f8
SP
23218 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23219 function.
23220 (__sin): Use it.
23221 (__cos): Likewise.
23222
5eea0404
SP
23223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23224 gotos.
23225 (__cos): Likewise.
23226
9c21573c
MR
232272013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23228
23229 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23230 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23231 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23232 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23233 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23234 * elf/cache.c (print_entry): Handle the new cache flags.
23235
24d22e65
JM
232362013-09-18 Joseph Myers <joseph@codesourcery.com>
23237 Aldy Hernandez <aldyh@redhat.com>
23238
23239 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23240 Change condition to [_SOFT_FLOAT].
23241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23253 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23256 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23257 declaration.
23258
d13ef066
JM
232592013-09-18 Joseph Myers <joseph@codesourcery.com>
23260
2e071de0
JM
23261 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23262 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23263 (__longjmp): Use LOAD_GP to load saved GPRs.
23264 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23265 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23266 (__sigsetjmp): Use SAVE_GP to save GPRs.
23267
d13ef066
JM
23268 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23269 Do not append -msoft-float.
23270 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23271
97a0650b
SP
232722013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23273
23274 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23275
11ca09e9
JM
232762013-09-17 Joseph Myers <joseph@codesourcery.com>
23277
23278 [BZ #15966]
23279 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23280 (_FPU_GETCW): Use initial "__" on variable and field names but not
23281 on macro parameter name.
23282 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23283 parentheses around reference to macro parameter.
23284
08ffcf34
RS
232852013-09-13 Richard Sandiford <richard@codesourcery.com>
23286
23287 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23288 prototype.
23289 (ctype_startup): Use uint32_t in cast and sizeof for
23290 ctype->charnames.
23291
ae7080d3
JL
232922013-09-11 Jia Liu <proljc@gmail.com>
23293
23294 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23295 __daddr_t_defined.
23296 [__FreeBSD__]: Likewise.
23297
5905e7b3
OB
232982013-09-11 Ondřej Bílka <neleai@seznam.cz>
23299
23300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23301 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23302 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23303 (strchr): Remove __strchr_sse42 ifunc selection.
23304 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23305 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23306
b987c776
WN
233072013-09-11 Will Newton <will.newton@linaro.org>
23308
23309 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23310 parameter to RES. Remove hardcoded 1000 value.
23311 * benchtests/bench-skeleton.c (main): Pass RES parameter
23312 to TIMING_INIT and multiply result by 1000.
23313
ddf985af
AZ
233142013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23315
23316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23317
ffdd3181
AS
233182013-09-11 Andreas Schwab <schwab@suse.de>
23319
23320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23321 if not defined.
23322 (O_TMPFILE) [__USE_GNU]: Define.
23323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23324 Define.
23325
b73ed247
WN
233262013-09-11 Will Newton <will.newton@linaro.org>
23327
23328 [BZ #15857]
23329 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23330 does not overflow.
23331
55e17aad
WN
233322013-09-11 Will Newton <will.newton@linaro.org>
23333
23334 [BZ #15856]
23335 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23336 does not overflow.
23337
1159a193
WN
233382013-09-11 Will Newton <will.newton@linaro.org>
23339
23340 [BZ #15855]
23341 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23342 does not overflow.
23343
5905e7b3 233442013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23345
23346 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23347 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23351
cdfc721b
AM
233522013-09-10 Allan McRae <allan@archlinux.org>
23353
aa04af00
AM
23354 [BZ #15748]
23355 * manual/arith.texi (Parsing of Floats): Clarify
23356 cross-reference.
23357
cdfc721b
AM
23358 [BZ #15849]
23359 * manual/install.texi (Running make install): Mention
23360 --enable-pt-chown.
23361 * INSTALL: Regenerated.
23362
95e7cf29
MR
233632013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23364
23365 * csu/init-first.c (_init): Remove the !SHARED condition around
23366 FPU control word initialization.
23367 * elf/dl-support.c (_dl_fpu_control): New variable.
23368 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23369 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23370 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23371 * math/test-fpucw-static.c: New file.
23372 * math/test-fpucw-ieee.c: New file.
23373 * math/test-fpucw-ieee-static.c: New file.
23374 * math/Makefile (tests): Add `test-fpucw-ieee' and
23375 `$(tests-static)'.
23376 (tests-static): New variable.
23377 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23378 dependency to...
23379 [($(build-shared),yes)]
23380 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23381 ... this.
23382 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23383 New dependency.
23384
83e43bf0
AM
233852013-09-09 Allan McRae <allan@archlinux.org>
23386
a9f5ce09
AM
23387 [BZ #15939]
23388 * manual/string.texi (Collation Functions): Fix typo in
23389 strcoll example.
23390 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23391
34829bc2
AM
23392 [BZ #15893]
23393 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23394
3932737d
AM
23395 [BZ #15892]
23396 * libio/memstream.c (open_memstream): Fix memory leak.
23397 * libio/wmemstream.c (open_wmemstream): Likewise.
23398
83e43bf0
AM
23399 [BZ #15895]
23400 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23401
0c66b8e9
WN
234022013-09-09 Will Newton <will.newton@linaro.org>
23403
23404 * malloc/Makefile: Add tst-realloc to tests.
23405 * malloc/tst-realloc.c: New file.
23406
f6b00fd1
AM
234072013-09-09 Allan McRae <allan@archlinux.org>
23408
23409 [BZ #15844]
23410 * COPYING: Update from GNU website to fix FSF address.
23411 * COPYING.LIB: Likewise.
23412
eec55e16
DM
234132013-09-06 David S. Miller <davem@davemloft.net>
23414
23415 * po/zh_TW.po: Update Chinese (traditional) translation from
23416 translation project.
23417
1ecbb381
RS
234182013-09-06 Richard Sandiford <richard@codesourcery.com>
23419 Joseph Myers <joseph@codesourcery.com>
23420
23421 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23422 "localeinfo.h".
23423 (obstack_chunk_alloc): New macro.
23424 (obstack_chunk_free): Likewise.
23425 (record_offset): New function.
23426 (init_locale_data): Likewise.
23427 (align_locale_data): Likewise.
23428 (add_locale_empty): Likewise.
23429 (add_locale_raw_data): Likewise.
23430 (add_locale_raw_obstack): Likewise.
23431 (add_locale_string): Likewise.
23432 (add_locale_wstring): Likewise.
23433 (add_locale_uint32): Likewise.
23434 (add_locale_uint32_array): Likewise.
23435 (add_locale_char): Likewise.
23436 (start_locale_structure): Likewise.
23437 (end_locale_structure): Likewise.
23438 (start_locale_prelude): Likewise.
23439 (end_locale_prelude): Likewise.
23440 (write_locale_data): Take locale_file structure rather than an
23441 iovec.
23442 * locale/programs/locfile.h: Include "obstack.h".
23443 (struct locale_file): Change to store locale file contents instead
23444 of header.
23445 (init_locale_data): New prototype.
23446 (align_locale_data): Likewise.
23447 (add_locale_empty): Likewise.
23448 (add_locale_raw_data): Likewise.
23449 (add_locale_raw_obstack): Likewise.
23450 (add_locale_string): Likewise.
23451 (add_locale_wstring): Likewise.
23452 (add_locale_uint32): Likewise.
23453 (add_locale_uint32_array): Likewise.
23454 (add_locale_char): Likewise.
23455 (start_locale_structure): Likewise.
23456 (end_locale_structure): Likewise.
23457 (start_locale_prelude): Likewise.
23458 (end_locale_prelude): Likewise.
23459 (write_locale_data): Update prototype.
23460 * locale/programs/3level.h (struct TABLE): Remove result field.
23461 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23462 Use new locale_file interface.
23463 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23464 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23465 * locale/programs/ld-address.c (address_output): Use new
23466 locale_file interface.
23467 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23468 NO_ADD_LOCALE.
23469 (collate_finish): Don't call collseq_table_finalize.
23470 (collate_output): Use new locale_file interface.
23471 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23472 in file.
23473 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23474 (TABLE): Move defines earlier in file.
23475 (ELEMENT): Likewise.
23476 (DEFAULT): Likewise.
23477 (wctrans_table_add): Move macro and inline function earlier in
23478 file.
23479 (struct wctype_table): Move type earlier in file.
23480 (add_locale_wctype_table): New static prototype.
23481 (struct locale_ctype_t): Use logical types instead of struct iovec
23482 pointers for members.
23483 (ctype_output): Use new locale_file interface.
23484 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23485 new locale_file interface.
23486 (allocate_arrays): Update for use of new locale_file interface.
23487 * locale/programs/ld-identification.c (identification_output): Use
23488 new locale_file interface.
23489 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23490 * locale/programs/ld-messages.c (messages_output): Likewise.
23491 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23492 * locale/programs/ld-name.c (name_output): Likewise.
23493 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23494 * locale/programs/ld-paper.c (paper_output): Likewise.
23495 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23496 * locale/programs/ld-time.c (time_output): Likewise.
23497
e029e2e5
AZ
234982013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23499
23500 * benchtests/Makefile: Add memrchr benchmark.
23501 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23502 benchmark as memrchr.
23503 * benchtests/bench-memrchr-ifunc.c: New file.
23504 * benchtests/bench-memrchr.c: New file.
23505
bbf6e8e4
WN
235062013-09-06 Will Newton <will.newton@linaro.org>
23507
23508 * benchtests/Makefile (string-bench): Add memcpy.
23509
6c82a2f8
CD
235102013-09-05 Carlos O'Donell <carlos@redhat.com>
23511 Cong Wang <amwang@redhat.com>
23512
e732c5f0 23513 [BZ #15850]
6c82a2f8
CD
23514 * sysdeps/unix/sysv/linux/bits/in.h
23515 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23516 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23517 before __USE_KERNEL_IPV6_DEFS uses.
23518 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23519 IPPROTO_BEETPH.
23520 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23521 sockaddr_in6, or ipv6_mreq.
23522
5430fc65
AZ
235232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23524
23525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23526 memory access for final bytes in some large inputs.
23527 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23528
4660856c
AZ
235292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23530
23531 * string/test-memrchr.c: New file.
23532 * string/test-memrchr-ifunc.c: New file.
23533 * string/Makefile: Add new memrchr testcase.
23534
bb8ea713
MF
235352013-09-05 Mike Frysinger <vapier@gentoo.org>
23536
23537 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23538 fanotify_init returns EPERM.
23539
b92a20b5
JM
235402013-09-04 Joseph Myers <joseph@codesourcery.com>
23541
23542 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23543 errors.
23544 (top level): Treat second token from macro or constant entries for
23545 allowed headers as allowed.
23546 * include/complex.h: Condition internal declarations on
23547 [!_ISOMAC].
23548 * include/fenv.h: Condition include of <stdbool.h> and internal
23549 declarations on [!_ISOMAC].
7447ccd9
CL
23550
235512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23552
3e181dda 23553 [BZ #15923]
7447ccd9
CL
23554 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23555
3f2e46a4
JM
235562013-09-04 Joseph Myers <joseph@codesourcery.com>
23557
23558 * configure.in (--enable-versioning): Remove configure option.
23559 (libc_cv_asm_symver_directive): Remove configure test.
23560 (libc_cv_ld_version_script_option): Likewise.
23561 (VERSIONING): Remove variable and AC_SUBST.
23562 (DO_VERSIONING): Remove AC_DEFINE.
23563 * configure: Regenerated.
23564 * config.h.in (DO_VERSIONING): Remove macro.
23565 * Makerules [$(versioning) = yes]: Change conditionals to
23566 [$(build-shared) = yes].
23567 * config.make.in (versioning): Remove variable.
23568 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23569 [$(build-shared) = yes].
23570 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23571 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23572 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23573 [$(build-shared) = yes].
23574 * extra-lib.mk [$(versioning) = yes]: Likewise.
23575 * hurd/Makefile [$(versioning) = yes]: Likewise.
23576 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23577 [SHARED].
23578 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23579 [SHARED].
23580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23581 [SHARED && !NO_HIDDEN].
23582 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23583 [SHARED].
23584 [SHARED && DO_VERSIONING]: Likewise..
23585 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23586 [$(build-shared) = yes].
23587 * manual/install.texi (--disable-versioning): Remove
23588 documentation.
23589 * INSTALL: Regenerated.
23590 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23591 to [SHARED].
23592 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23593 [$(build-shared) = yes].
23594 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23595 * sysdeps/i386/i686/multiarch/strstr-c.c
23596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23597 [SHARED && !NO_HIDDEN].
23598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23599 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23600 * sysdeps/powerpc/powerpc32/dl-machine.c
23601 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23602 * sysdeps/powerpc/powerpc32/sysdep.h
23603 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23604 to [SHARED && PIC && !NO_HIDDEN].
23605 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23606 conditional to [SHARED].
23607
44558701
WN
236082013-09-04 Will Newton <will.newton@linaro.org>
23609
23610 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23611 * benchtests/bench-string.h: Include bench-timing.h instead
23612 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23613 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23614 call to HP_TIMING_DIFF_INIT.
23615 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23616 instead of hp-timing.h macros.
23617 * benchtests/bench-memchr.c: Likewise.
23618 * benchtests/bench-memcmp.c: Likewise.
23619 * benchtests/bench-memcpy.c: Likewise.
23620 * benchtests/bench-memmem.c: Likewise.
23621 * benchtests/bench-memmove.c: Likewise.
23622 * benchtests/bench-memset.c: Likewise.
23623 * benchtests/bench-rawmemchr.c: Likewise.
23624 * benchtests/bench-strcasecmp.c: Likewise.
23625 * benchtests/bench-strcasestr.c: Likewise.
23626 * benchtests/bench-strcat.c: Likewise.
23627 * benchtests/bench-strchr.c: Likewise.
23628 * benchtests/bench-strcmp.c: Likewise.
23629 * benchtests/bench-strcpy.c: Likewise.
23630 * benchtests/bench-strcpy_chk.c: Likewise.
23631 * benchtests/bench-strlen.c: Likewise.
23632 * benchtests/bench-strncasecmp.c: Likewise.
23633 * benchtests/bench-strncat.c: Likewise.
23634 * benchtests/bench-strncmp.c: Likewise.
23635 * benchtests/bench-strncpy.c: Likewise.
23636 * benchtests/bench-strnlen.c: Likewise.
23637 * benchtests/bench-strpbrk.c: Likewise.
23638 * benchtests/bench-strrchr.c: Likewise.
23639 * benchtests/bench-strspn.c: Likewise.
23640 * benchtests/bench-strstr.c: Likewise.
23641
cae16d66
WN
236422013-09-04 Will Newton <will.newton@linaro.org>
23643
23644 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23645
ffa3cd7f
JM
236462013-09-03 Joseph Myers <joseph@codesourcery.com>
23647
23648 [BZ #15427]
23649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23650 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23651 * math/libm-test.inc (lgamma_test_data): Add more tests.
23652 * sysdeps/i386/fpu/libm-test-ulps: Update.
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23654
8f02859f
OB
236552013-09-03 Ondřej Bílka <neleai@seznam.cz>
23656
23657 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23659 Add ifunc.
23660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23661 Add strcmp-sse2-unaligned
23662 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23663
18d43716
MF
236642013-09-02 Mike Frysinger <vapier@gentoo.org>
23665
23666 * Versions.def (libc): Add GLIBC_2.19.
23667
ac444012
MF
236682013-09-02 Mike Frysinger <vapier@gentoo.org>
23669
23670 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23671 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23672
b7835e32
JM
236732013-09-02 Joseph Myers <joseph@codesourcery.com>
23674
23675 [BZ #14155]
23676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23677 intermediate calculations in recurrence.
23678 (__ieee754_ynf): Likewise.
23679 * math/libm-test.inc (jn_test_data): Do not allow spurious
23680 underflow exception. Add more tests.
23681 (yn_test_data): Add more tests.
23682 * sysdeps/i386/fpu/libm-test-ulps: Update.
23683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23684
8220f4f0
OB
236852013-09-02 Ondřej Bílka <neleai@seznam.cz>
23686
23687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23688
f24a6d08
OB
236892013-08-30 Ondřej Bílka <neleai@seznam.cz>
23690
23691 * csu/init-first.c: Fix then/than typos.
23692 * locale/programs/ld-collate.c: Likewise.
23693 * locale/programs/linereader.h: Likewise.
23694 * manual/charset.texi: Likewise.
23695 * manual/filesys.texi: Likewise.
23696 * manual/stdio.texi: Likewise.
23697 * manual/string.texi: Likewise.
23698 * stdlib/fmtmsg.c: Likewise.
23699 * sysdeps/i386/stpncpy.S: Likewise.
23700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23701 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23704
382466e0
OB
237052013-08-30 Ondřej Bílka <neleai@seznam.cz>
23706
23707 * elf/dl-open.c: Fix typos.
23708 * iconvdata/gbbig5.c: Likewise.
23709 * iconvdata/iso-2022-jp.c: Likewise.
23710 * iconv/gconv_int.h: Likewise.
23711 * iconv/loop.c: Likewise.
23712 * nis/rpcsvc/nis.h: Likewise.
23713 * resolv/ns_name.c: Likewise.
23714 * stdio-common/vfscanf.c: Likewise.
23715 * streams/stropts.h: Likewise.
23716 * sunrpc/rpc_thread.c: Likewise.
23717 * sysdeps/i386/strpbrk.S: Likewise.
23718 * sysdeps/ieee754/k_standard.c: Likewise.
23719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23721 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23722 * sysdeps/mach/hurd/profil.c: Likewise.
23723 * sysdeps/s390/dl-procinfo.h: Likewise.
23724 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23726 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23727 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23729
0186c6e9
OB
237302013-08-30 Ondřej Bílka <neleai@seznam.cz>
23731
23732 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23734
d4e16af1
OB
237352013-08-29 Ondřej Bílka <neleai@seznam.cz>
23736
23737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23738 aix specific files.
23739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23742 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23743 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23744 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23745 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23746 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23747
88335980
TS
237482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23749 Roland McGrath <roland@hack.frob.com>
23750
23751 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23752 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23753
ed479b02
ST
237542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23755
23756 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23757 __executable_start symbol instead of _start.
23758
f1cc4c86
TS
237592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23760
d821f07c
TS
23761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23762 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23763 Move macros to...
23764 * sysdeps/gnu/ldsodefs.h: ... this new file.
23765
c54290cf
TS
23766 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23767 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23768 instead of ELFOSABI_LINUX.
23769
0007fc9b 23770 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23771 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23772 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23773 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23774 Likewise.
23775 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23776 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23778 Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23780 (ibm_extended_long_double): Add ieee_nan member.
23781 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23782 (do_test): New function.
23783
f1cc4c86
TS
23784 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23785 TEST_TRUNC.
23786 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23787 functions, renamed from truncdfsf_test, trunctfsf_test,
23788 trunctfdf_test.
23789 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23790 functions.
23791 (do_test): Run all these.
23792
6f65e668
OB
237932013-08-29 Ondřej Bílka <neleai@seznam.cz>
23794
23795 * argp/argp-help.c: Fix typos.
23796 * argp/argp-parse.c: Likewise.
23797 * debug/backtracesyms.c: Likewise.
23798 * elf/elf.h: Likewise.
23799 * malloc/malloc.c: Likewise.
23800 * nis/nis_print.c: Likewise.
23801 * resolv/res_comp.c: Likewise.
23802 * stdlib/stdlib.h: Likewise.
23803 * sunrpc/clnt_tcp.c: Likewise.
23804 * sunrpc/clnt_udp.c: Likewise.
23805 * sunrpc/clnt_unix.c: Likewise.
23806 * sysdeps/unix/bsd/ptsname.c: Likewise.
23807 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23810 Likewise.
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23812 Likewise.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23814 Likewise.
6f65e668
OB
23815 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23816
3a309239
SP
238172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23818
23819 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23821
3b813b29
MF
238222013-08-27 Mike Frysinger <vapier@gentoo.org>
23823
23824 [BZ #15897]
23825 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23826 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23827 ($(objpfx)bug-dl-leaf): New rule.
23828 ($(objpfx)bug-dl-leaf.so): Likewise.
23829 ($(objpfx)bug-dl-leaf.out): Likewise.
23830 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23831 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23832 * dlfcn/bug-dl-leaf.c: New test.
23833 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23834 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23835 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23836 (dlclose): Likewise.
23837 (dlmopen): Likewise.
23838
8cc3269f
RM
238392013-08-27 Roland McGrath <roland@hack.frob.com>
23840
7f9d0034
RM
23841 * include/netdb.h [!_ISOMAC]:
23842 Don't include <tls.h>.
23843 (h_errno, __libc_h_errno): Move declaration and macros out of
23844 [_LIBC_REENTRANT].
23845
fb431262
RM
23846 * include/resolv.h [_RESOLV_H_]:
23847 Don't include <tls.h>.
23848 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23849 * resolv/res_libc.c: Don't include <tls.h>.
23850 (_res): Use __attribute__ ((nocommon)) in place of
23851 __attribute__ ((section (".bss"))).
23852
bd81123a
RM
23853 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23854 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23855
c4e42566
RM
23856 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23857
f890a59b
RM
23858 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23859 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23860
23861 * resolv/res_mkquery.c: Include <sys/time.h>.
23862
5d1f0a09
RM
23863 * inet/ifreq.c: Moved to ...
23864 * sysdeps/unix/ifreq.c: ... here.
23865 * inet/ifreq.c: New file, true stub version.
23866
6fcf28b3
RM
23867 * socket/sa_len.c: New file.
23868 * socket/Makefile (aux): Add it.
23869 * sysdeps/unix/sysv/linux/Makefile
23870 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23871 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23872 and #include <socket/sa_len.c>.
23873 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23874 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23875
e041fb8b
RM
23876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23877 * bits/socket.h: ... here.
23878
8cc3269f
RM
23879 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23880 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23881 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23882
5d228a43
AS
238832013-08-27 Andreas Schwab <schwab@suse.de>
23884
45b8accc
AS
23885 [BZ #15736]
23886 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23887 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23888 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23889 * string/test-strcasecmp.c (test_main): Run tests in several
23890 locales.
23891 * string/test-strncasecmp.c (test_main): Likewise.
23892
5d228a43
AS
23893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23894 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23895 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23897 (__strncasecmp_ssse3) [PIC]: Likewise.
23898
59d112a4
RM
238992013-08-26 Roland McGrath <roland@hack.frob.com>
23900
53234cc3
RM
23901 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23902
59d112a4
RM
23903 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23904 instead of explicitly declaring xdecrypt.
23905 * nis/nss_nis/nis-publickey.c: Likewise.
23906
595aba70
SP
239072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23908
23909 [BZ #15890]
23910 * nscd/aicache.c: Include res_hconf.h.
23911 (addhstaiX): Initialize res_hconf.
23912
ffabd393
AS
239132013-08-26 Andreas Schwab <schwab@suse.de>
23914
23915 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23916 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23917
e0a69f5c
SP
239182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23919
23920 * nscd/aicache.c (addhstaiX): Fix indentation.
23921
8c12f01d
MF
239222013-08-25 Mike Frysinger <vapier@gentoo.org>
23923
23924 * configure.ac: Quote $build_pt_chown test.
23925 * configure: Regenerated.
23926
8fe89494
JM
239272013-08-23 Joseph Myers <joseph@codesourcery.com>
23928
23929 [BZ #15532]
23930 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23931 * math/s_cexpf.c (__cexpf): Likewise.
23932 * math/s_cexpl.c (__cexpl): Likewise.
23933 * math/libm-test.inc (cexp_test_data): Correct expected return
23934 value for NaN + i0. Add another test.
23935
75b181d6
DM
239362013-08-22 David S. Miller <davem@davemloft.net>
23937
23938 * po/ca.po: Update Catalan translation from translation project.
936241e4 23939 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23940
acd06bb1
JM
239412013-08-21 Joseph Myers <joseph@codesourcery.com>
23942
23943 [BZ #15797]
23944 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23945 is infinite, not alongside NaN test.
23946 * math/s_fdimf.c (__fdimf): Likewise.
23947 * math/s_fdiml.c (__fdiml): Likewise.
23948 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23949 errno is unchanged.
23950
c0c3f78a
OB
239512013-08-21 Ondřej Bílka <neleai@seznam.cz>
23952
23953 * argp/argp-help.c: Fix typos.
23954 * crypt/speeds.c: Likewise.
23955 * csu/check_fds.c: Likewise.
23956 * elf/dl-load.c: Likewise.
23957 * elf/dl-open.c: Likewise.
23958 * elf/reldep3.c: Likewise.
23959 * elf/reldep.c: Likewise.
23960 * elf/sprof.c: Likewise.
23961 * iconv/iconv_charmap.c: Likewise.
23962 * iconv/skeleton.c: Likewise.
23963 * iconv/strtab.c: Likewise.
23964 * io/lockf64.c: Likewise.
23965 * libio/libioP.h: Likewise.
23966 * resolv/gai_notify.c: Likewise.
23967 * resolv/ns_name.c: Likewise.
23968 * resolv/ns_samedomain.c: Likewise.
23969 * resolv/res_send.c: Likewise.
23970 * stdlib/random.c: Likewise.
23971 * sunrpc/rpc/xdr.h: Likewise.
23972 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23974 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23975 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23980 * sysdeps/mach/hurd/check_fds.c: Likewise.
23981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23987 * sysdeps/pthread/aio_notify.c: Likewise.
23988 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23989 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23993
46ed1038
LD
239942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23995
23996 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23997 version if bit_Slow_SSE4_2 is set.
23998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24000
d400dcac
AZ
240012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24002
24003 [BZ #15867]
24004 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24005 trampoline stack frame information.
24006 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24008 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24009 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24010 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24011 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24012 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24013 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24014 sa_flags value.
24015 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24016 interrupting a syscall and set with option SA_SIGINFO.
24017
42c8fdd8
JM
240182013-08-20 Joseph Myers <joseph@codesourcery.com>
24019
c980f2f4
JM
24020 [BZ #15531]
24021 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24022 argument is infinite.
24023 * math/s_cprojf.c (__cprojf): Likewise.
24024 * math/s_cprojl.c (__cprojl): Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24026 * math/libm-test.inc (cproj_test_data): Add more tests.
24027
0716c4fc
JM
24028 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24029
42c8fdd8
JM
24030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24031 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24032 size. Use __ffs to determine corresponding shift.
24033
b31469d0
JM
240342013-08-20 Joseph Myers <joseph@codesourcery.com>
24035 Roland McGrath <roland@hack.frob.com>
24036
24037 * Makefile (INSTALL): Remove trailing blank lines from output of
24038 makeinfo.
24039
4e39af6e
AK
240402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24041
24042 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24043 Align 32 bit compat elf_greg to 8 bytes.
24044
f315524e
AA
240452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24046
24047 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24048
1326ba1a
SP
240492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24050
24051 * string/strcoll_l.c (coll_seq): New structure.
24052 (get_next_seq_cached): New function.
24053 (get_next_seq): New function.
24054 (do_compare): New function.
24055 (STRCOLL): Use GNU style definition. Simplify implementation
24056 by using get_next_seq, get_next_seq_cached and do_compare.
24057
91ce4085
FW
240582013-08-16 Florian Weimer <fweimer@redhat.com>
24059
24060 [BZ #14699]
24061 CVE-2013-4237
24062 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24063 member.
24064 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24065 member.
24066 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24067 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24068 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24069 conditional.
24070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24071 GETDENTS_64BIT_ALIGNED.
24072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24073 * manual/filesys.texi (Reading/Closing Directory): Document
24074 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24075 strongly.
24076 * manual/conf.texi (Limits for Files): Add portability note to
24077 NAME_MAX, PATH_MAX.
24078 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24079
ca0a6bc4
AS
240802013-08-13 Andreas Schwab <schwab@suse.de>
24081
24082 [BZ #15749]
24083 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24084 of fabs.
24085 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24086 LDBL_MAX_EXP >= 16384]: Add tests for it.
24087
6c1fd795
DM
240882013-08-12 David S. Miller <davem@davemloft.net>
24089
24090 * version.h (RELEASE): Set to "development".
24091 (VERSION): Set to "2.18.90".
24092 * NEWS: Add 2.19 section.
24093
31ad488d
DM
240942013-08-03 David S. Miller <davem@davemloft.net>
24095
24096 * po/ko.po: Update Korean translation from translation project.
24097
db24e684
DM
240982013-08-01 David S. Miller <davem@davemloft.net>
24099
24100 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24101 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24102 Bilka.
24103
f723285b
DM
241042013-07-30 David S. Miller <davem@davemloft.net>
24105
24106 * po/fr.po: Update French translation from translation project.
24107
3cbc52db
DM
241082013-07-28 David S. Miller <davem@davemloft.net>
24109
30bbc0cc
DM
24110 * po/cs.po: Update Czech translation from translation project.
24111
3cbc52db
DM
24112 * po/sv.po: Update Swedish translation from translation project.
24113
d492e6d0
DM
241142013-07-27 David S. Miller <davem@davemloft.net>
24115
f1a7f492
DM
24116 * po/eo.po: Update Esperanto translation from translation project.
24117
90e62a4a
DM
24118 * po/vi.po: Update Vietnamese translation from translation project.
24119
d492e6d0
DM
24120 * po/de.po: Update German translation from translation project.
24121
d4baa62d
DM
241222013-07-26 David S. Miller <davem@davemloft.net>
24123
641aa7b4
DM
24124 * po/bg.po: Update Bulgarian translation from translation project.
24125
d4baa62d
DM
24126 * po/nl.po: Update Dutch translation from translation project.
24127 * po/pl.po: Update Polish translation from translation project.
24128 * po/ru.po: Update Russian translation from translation project.
24129
61a9dcb9
DM
241302013-07-24 David S. Miller <davem@davemloft.net>
24131
24132 * po/libc.pot: Update.
24133
7b1f8b58
AZ
241342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24135
24136 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24137 variable page size.
24138 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24141
a8fc7a03
AK
241422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24143
24144 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24145
e4608715
CD
241462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24147 Andreas Schwab <schwab@suse.de>
24148 Roland McGrath <roland@hack.frob.com>
24149 Joseph Myers <joseph@codesourcery.com>
24150 Carlos O'Donell <carlos@redhat.com>
24151
24152 [BZ #15755]
24153 * config.h.in: Define HAVE_PT_CHOWN.
24154 * config.make.in (build-pt-chown): New variable.
24155 * configure.in (--enable-pt_chown): New configure option.
24156 * configure: Regenerate.
24157 * login/Makefile: Include Makeconfig. Build pt_chown only if
24158 build-pt-chown is enabled.
24159 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24160 pt_chown to fix pty ownership.
24161 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24162 CLOSE_ALL_FDS.
24163 * manual/install.texi (Configuring and compiling): Mention
24164 --enable-pt_chown. Add @findex for grantpt.
24165 * INSTALL: Regenerate.
24166
da2d62df
DM
241672013-07-20 David S. Miller <davem@davemloft.net>
24168
24169 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24170 difference between 32-bit and 64-bit.
24171
d7e06450
CD
241722013-07-15 Carlos O'Donell <carlos@redhat.com>
24173
24174 [BZ #15711]
24175 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24176 Avoid system header dependency with -ffreestanding.
24177 ($(objpfx)bits/syscall%d): Likewise.
24178
f959cfd7
DM
241792013-07-13 David S. Miller <davem@davemloft.net>
24180
24181 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24182 underflows from atanl/atan2l due to bug 15319.
24183 (casinh_test_data): Likewise.
24184
c61f8513
DM
241852013-07-07 David S. Miller <davem@davemloft.net>
24186
24187 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24188
72c90ed0
JA
241892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24190
24191 * sysdeps/i386/fpu/libm-test-ulps: Update.
24192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24193
52dfbe13
SP
241942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24195
24196 * configure.in (--enable-lock-elision): Fix message text.
24197 * INSTALL: Regenerate.
24198 * configure: Regenerate.
24199
3f169543
AZ
242002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24201
24202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24203
521c6785
AJ
242042013-07-03 Andreas Jaeger <aj@suse.de>
24205
24206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24207 define.
24208 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24209 (ptrace_peeksiginfo_args): Add.
24210 (__ptrace_peeksiginfo_flags): Add.
24211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24214
d2cc15cb
AM
242152013-07-03 Allan McRae <allan@archlinux.org>
24216
24217 * sysdeps/i386/fpu/libm-test-ulps: Update.
24218
3aaeeca7
DM
242192013-07-02 David S. Miller <davem@davemloft.net>
24220
24221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24222
5314ed1a
MT
242232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24224
24225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24226
67338156
JM
242272013-07-02 Joseph Myers <joseph@codesourcery.com>
24228
24229 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24231
1717da59
AK
242322013-07-02 Andi Kleen <ak@linux.intel.com>
24233
24234 * config.h.in (ENABLE_LOCK_ELISION): Add.
24235 * configure.in (--enable-lock-elision): Add option.
24236 * manual/install.texi: Document --enable lock elision.
24237 * configure: Regenerate
24238 * INSTALL: Regenerate.
24239
1c81621c
L
242402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24243 SSE4.2 strcasecmp for libc.a.
24244 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24245
77f01ab5
JM
242462013-07-02 Joseph Myers <joseph@codesourcery.com>
24247
24248 [BZ #13304]
24249 * soft-fp/op-common.h (_FP_FMA): New macro.
24250 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24251 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24252 (_FP_MUL_MEAT_1_imm): ... here.
24253 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24254 (_FP_MUL_MEAT_1_wide): ... here.
24255 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24256 (_FP_MUL_MEAT_1_hard): ... here.
24257 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24258 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24259 (_FP_MUL_MEAT_2_wide): ... here.
24260 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24261 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24262 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24263 (_FP_MUL_MEAT_2_gmp): ... here.
24264 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24265 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24266 (_FP_MUL_MEAT_4_wide): ... here.
24267 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24268 (_FP_MUL_MEAT_4_gmp): ... here.
24269 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24270 (_FP_WFRACBITS_DW_S): Likewise.
24271 (_FP_WFRACXBITS_DW_S): Likewise.
24272 (_FP_HIGHBIT_DW_S): Likewise.
24273 (FP_FMA_S): Likewise.
24274 (_FP_FRAC_HIGH_DW_S): Likewise.
24275 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24276 (_FP_WFRACBITS_DW_D): Likewise.
24277 (_FP_WFRACXBITS_DW_D): Likewise.
24278 (_FP_HIGHBIT_DW_D): Likewise.
24279 (FP_FMA_D): Likewise.
24280 (_FP_FRAC_HIGH_DW_D): Likewise.
24281 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24282 (_FP_WFRACBITS_DW_E): Likewise.
24283 (_FP_WFRACXBITS_DW_E): Likewise.
24284 (_FP_HIGHBIT_DW_E): Likewise.
24285 (FP_FMA_E): Likewise.
24286 (_FP_FRAC_HIGH_DW_E): Likewise.
24287 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24288 (_FP_WFRACBITS_DW_Q): Likewise.
24289 (_FP_WFRACXBITS_DW_Q): Likewise.
24290 (_FP_HIGHBIT_DW_Q): Likewise.
24291 (FP_FMA_Q): Likewise.
24292 (_FP_FRAC_HIGH_DW_Q): Likewise.
24293 * soft-fp/fmasf4.c: New file.
24294 * soft-fp/fmadf4.c: Likewise.
24295 * soft-fp/fmatf4.c: Likewise.
24296
6308fd9a
LD
242972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24298
24299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24300 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24301 Silvermont.
24302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24303 macro.
24304 (index_Slow_SSE4_2): Likewise.
24305 (index_Prefer_PMINUB_for_stringop): Likewise.
24306 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24307 bit_Slow_SSE4_2 is set.
24308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24310
89cd9569
RA
243112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24312
24313 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24314 rtld_global._dl_hwcap2.
24315 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24316 POWER8.
24317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24318 POWER8 feature descriptions defined in _dl_hwcap2.
24319 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24320 string handling for POWER8 feature bits.
24321 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24322 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24323 _dl_powerpc_cap_flags.
24324 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24325 * sysdeps/powerpc/rtld-global-offsets.sym
24326 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24327 _dl_hwcap2 in the rtld_global_ro structure.
24328
1ae8bfe0
RA
243292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24330
24331 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24332 hardware capabilities in support of AT_HWCAP2.
24333 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24334 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24335 GLRO(dl_hwcap2).
24336 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24337 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24338 explicitly the unknown a_type display mechanism is used.
24339 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24340 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24341 struct member.
24342 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24343 to macro prototype for AT_HWCAP2 support.
24344 * sysdeps/i386/dl-procinfo.h: Likewise.
24345 * sysdeps/s390/dl-procinfo.h: Likewise.
24346 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24347 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24348 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24349 return -1 for unknown a_type display fallback.
24350 * sysdeps/sparc/dl-procinfo.h: Likewise.
24351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24352 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24353
8fbec010
JM
243542013-06-28 Joseph Myers <joseph@codesourcery.com>
24355
24356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24357 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24358
0432680e
PY
243592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24360
24361 [BZ #12492]
24362 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24363 mprotect making __stack_prot writable.
24364
ce61a2ad
NF
243652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24366 Joseph Myers <joseph@codesourcery.com>
24367
24368 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24369 as being properly aligned.
24370
f91f1c0f
MR
243712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24372
3d0f5d0c
MR
24373 * dlfcn/modstatic5.c: New file.
24374 * dlfcn/tststatic5.c: New file.
24375 * dlfcn/Makefile (tests): Add tststatic5.
24376 (tests-static): Likewise.
24377 (modules-names): Add modstatic5.
24378 (tststatic5-ENV): New variable.
24379 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24380
f91f1c0f
MR
24381 [BZ #15022]
24382 * elf/dl-support.c (_dl_main_map): New variable.
24383 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24384 (_dl_nns, _dl_load_adds): Set to 1.
24385 (_dl_initial_searchlist): Refer to _dl_main_map.
24386 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24387 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24388 call to _dl_get_origin.
24389 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24390 around call_map.
24391 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24392 * dlfcn/modstatic3.c: New file.
24393 * dlfcn/tststatic3.c: New file.
24394 * dlfcn/tststatic4.c: New file.
24395 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24396 (tests-static): Likewise.
24397 (modules-names): Add modstatic3.
24398 (tststatic3-ENV, tststatic4-ENV): New variables.
24399 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24400 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24401
cbe7d24b
JM
244022013-06-26 Joseph Myers <joseph@codesourcery.com>
24403
24404 * configure.in (CC): Require GCC version 4.4 or later.
24405 * configure: Regenerated.
24406 * manual/install.texi (Tools for Compilation): Update GCC version
24407 requirement.
24408 * INSTALL: Regenerated.
24409
11b8a0e1
LD
244102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24411
24412 [BZ #15674]
bb5bb87c
L
24413 * string/test-memcmp.c (check2): New.
24414 (main): Call check2.
24415
11b8a0e1
LD
24416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24417
b0037103
MR
244182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24419
24420 [BZ #15022]
24421 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24422 over to...
24423 (dl_open_worker) [!SHARED]: ... here.
24424
c18c701d
RA
244252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24426
24427 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24428
1d17fa5f
RH
244292013-06-25 Richard Henderson <rth@redhat.com>
24430
24431 * locale/programs/locarchive.c: Include <libc-internal.h>
24432
8fcb833a
JM
244332013-06-25 Joseph Myers <joseph@codesourcery.com>
24434
24435 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24436 trailing whitespace removed.
24437
17db6e8d
MF
244382013-06-24 Mike Frysinger <vapier@gentoo.org>
24439
24440 [BZ #10283]
17db6e8d
MF
24441 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24442 * locale/programs/locarchive.c: Include libc-mmap.h.
24443 (prepare_address_space): Take two new outputs (the mmap base and len).
24444 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24445 values.
24446 (create_archive): Declare new mmap base and len values for
24447 prepare_address_space, and store the result in ah.
24448 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24449 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24451 Declare new mmap base and len values for
24452 prepare_address_space, and store the result in new_ah.
24453 (open_archive): Declare new mmap base and len values for
24454 prepare_address_space, and store the result in ah.
24455 (close_archive): If ah->mmap_base is not NULL, use that and
24456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24457 * sysdeps/generic/libc-mmap.h: New file.
24458
d605071e
MF
244592013-06-24 Mike Frysinger <vapier@gentoo.org>
24460
24461 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24462 (ALIGN_UP): Likewise.
24463 (PTR_ALIGN_DOWN): Likewise.
24464 (PTR_ALIGN_UP): Likewise.
24465
2f063a6e
RA
244662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24467
24468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24469 entry mapped to PPC_PLATFORM_POWER8.
24470 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24471 POWER8.
24472 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24473 (_dl_string_platform): Add case for exporting platform position for
24474 POWER8.
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24476 search path to sysdeps/powerpc/powerpc32/power8 directory.
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24478 search path to sysdeps/powerpc/powerpc64/power8 directory.
24479 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24480 power7 directories.
24481 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24482 power7 directories.
24483
a31ee4b3
SP
244842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24485
a74ca98f
SP
24486 * INSTALL: Regenerate.
24487
a31ee4b3
SP
24488 * nscd/connections.c (nscd_init): Fix comment.
24489
695c378f
JM
244902013-06-22 Joseph Myers <joseph@codesourcery.com>
24491
d8412221
JM
24492 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24493
695c378f
JM
24494 [BZ #15667]
24495 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24496 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24497
d1d54715
MR
244982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24499
24500 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24501 DL_DST_REQ_STATIC.
24502 (DL_DST_REQ_STATIC): Remove macro.
24503
8fdda7af
JM
245042013-06-21 Joseph Myers <joseph@codesourcery.com>
24505
24506 [BZ #7006]
24507 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24508 with a shift of 0 bits.
24509
f3bc5e5a
MR
245102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24511
24512 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24513 $(tststatic-ENV).
24514
be09e8c9
KK
245152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24516
24517 [BZ #15655]
24518 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24519
85c2e611
AZ
245202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24521
24522 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24523 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24524 accepts -fno-tree-loop-distribute-patterns.
24525 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24526 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24527 recursive call.
24528 * string/memset.c (memset): Likewise.
24529 * string/test-memmove.c (simple_memmove): Disable loop transformation
24530 to library calls.
24531 * string/test-memset.c (simple_memset): Likewise.
24532 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24533 * benchtests/bench-memset.c (simple_memset): Likewise.
24534 * configure: Regenerated.
24535
c91e0825
JM
245362013-06-20 Joseph Myers <joseph@codesourcery.com>
24537
b8c792af
JM
24538 * math/test-misc.c (main): Ignore fesetround failure when failures
24539 of subsequent rounding tests would be ignored.
24540
c91e0825
JM
24541 [BZ #15654]
24542 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24543 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24544 * math/fegetenv.c (__fegetenv): Return 0.
24545 * math/fegetexcept.c (fegetexcept): Return 0.
24546 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24547 FE_TONEAREST.
24548 * math/feholdexcpt.c (feholdexcept): Return 0.
24549 * math/fesetenv.c (__fesetenv): Return 0.
24550 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24551 argument FE_TONEAREST.
24552 * math/feupdateenv.c (__feupdateenv): Return 0.
24553 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24554
bfcacbde
RM
245552013-06-18 Roland McGrath <roland@hack.frob.com>
24556
24557 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24558 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24559 ($(objpfx)rtld-%.os rules): Use them.
24560
e55a9b25
AZ
245612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24562
24563 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24564 fields.
24565
346d65b3
RM
245662013-06-17 Roland McGrath <roland@hack.frob.com>
24567
12086fb4
RM
24568 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24569 length of target pattern, then descending length of dependency pattern.
24570 * configure.in (AWK): Require gawk 3.1.2 or newer.
24571 * manual/install.texi (Tools for Compilation): Say that we do.
24572 * configure: Regenerated.
24573
346d65b3
RM
24574 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24575 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24576 * scripts/sysd-rules.awk: ... this new script.
24577 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24578 than a glob-style pattern.
24579
1a846317
JM
245802013-06-17 Joseph Myers <joseph@codesourcery.com>
24581
24582 * math/test-misc.c (main): Do not treat incorrectly rounded
24583 conversions as failure unless ROUNDING_TESTS passes.
24584
8fc75e6f
JM
245852013-06-15 Joseph Myers <joseph@codesourcery.com>
24586
3711a167
JM
24587 [BZ #15631]
24588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24589 restore exception state around main square root computation, then
24590 check for inexactness explicitly.
24591
8fc75e6f
JM
24592 * math/libm-test.inc (fma_test_data): Add another test.
24593
61dd6208
SP
245942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24595
adf23d2c
SP
24596 * manual/threads.texi (Non-POSIX Extensions): New document
24597 node. Document pthread_getattr_default_np and
24598 pthread_setattr_default_np.
24599
61dd6208
SP
24600 * Versions.def (libpthread): Add GLIBC_2.18.
24601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24603 Likewise.
24604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24605 Likewise.
24606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24607 Likewise.
24608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24609 Likewise.
24610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24611 Likewise.
24612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24613 Likewise.
24614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24615 Likewise.
24616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24617 Likewise.
24618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24619 Likewise.
24620
d086fc7b
LD
246212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24622
24623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24624 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24625
747ef469
SP
246262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24627 H.J. Lu <hjl.tools@gmail.com>
24628
24629 [BZ #15627]
24630 * sysdeps/x86_64/rtld-memset.c: Remove file.
24631 * sysdeps/x86_64/rtld-memset.S: New file.
24632
1b2feed2
JM
246332013-06-14 Joseph Myers <joseph@codesourcery.com>
24634
24635 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24636 (test_in_one_mode): Take arguments for whether the rounding mode
24637 is supported for each floating-point type.
24638 (do_test): Pass new arguments to test_in_one_mode using
24639 ROUNDING_TESTS.
24640
a58ad3f8
RM
246412013-06-13 Roland McGrath <roland@hack.frob.com>
24642
24643 * posix/tst-waitid.c (do_test): Distinguish different instances of
24644 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24645 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24646 before entering the kernel for waitpid.
24647
c204ab28
SP
246482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24649
24650 * NEWS: Fix note on clock function precision. Text by Roland
24651 McGrath.
24652
f4a29fba
RM
246532013-06-13 Roland McGrath <roland@hack.frob.com>
24654
24655 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24656 it into place only when and if the sanity check passes.
24657
1f24b9ad
JM
246582013-06-13 Joseph Myers <joseph@codesourcery.com>
24659
24660 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24661 output for whether conversion result is exact. Take argument
24662 indicating whether type is IBM long double.
24663 (round_for_all): Change need_exact field to ibm_ld.
24664 * stdlib/tst-strtod-round.c (struct exactness): New type.
24665 (struct test): Change bool ld_ok field to struct exactness exact.
24666 (TEST): Update all definitions for change to field.
24667 (tests): Regenerate array contents.
24668 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24669 field value. Check for IBM long double here.
24670 (do_test): Update calls to test_in_one_mode.
24671
58206c68
SP
246722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24673
24674 [BZ #12515]
24675 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24676 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24677
2d6f4c5b 246782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24679
24680 [BZ #15605]
24681 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24682 generated by the compiler on loop optimizations.
24683 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24684 general definitions.
24685
94f2c076
JM
246862013-06-12 Joseph Myers <joseph@codesourcery.com>
24687
24688 * math/bug-nextafter.c: Include <math-tests.h>.
24689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24690 the relevant type.
24691 * math/bug-nexttoward.c: Include <math-tests.h>.
24692 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24693 the relevant type.
24694 * math/test-misc.c: Include <math-tests.h>.
24695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24696 the relevant type.
24697
e0e50a0a
AJ
246982013-06-12 Andreas Jaeger <aj@suse.de>
24699
24700 * po/ia.po: Update Interlingua translation from translation
24701 project.
24702
25061094
SP
247032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24704
24705 * include/fenv.h: Include stdbool.h.
24706 (struct rm_ctx): New structure.
24707 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24708 Define macro.
24709 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24710 (SET_RESTORE_ROUNDF): Likewise.
24711 (SET_RESTORE_ROUNDL): Likewise.
24712 (SET_RESTORE_ROUND_NOEX): Likewise.
24713 (SET_RESTORE_ROUND_NOEXF): Likewise.
24714 (SET_RESTORE_ROUND_NOEXL): Likewise.
24715 (SET_RESTORE_ROUND_53BIT): Likewise.
24716 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24717 (libc_feresetround_noexf_ctx): Likewise.
24718 (libc_feresetround_noexl_ctx): Likewise.
24719 (libc_feholdsetround_53bit_ctx): Likewise.
24720 (libc_feresetround_53bit_ctx): Likewise.
24721 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24722 (libc_feholdexcept_setround_sse_ctx): New function.
24723 (libc_fesetenv_sse_ctx): Likewise.
24724 (libc_feupdateenv_sse_ctx): Likewise.
24725 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24726 (libc_feholdexcept_setround_387_ctx): Likewise.
24727 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24728 (libc_feholdsetround_387_prec_ctx): Likewise.
24729 (libc_feholdsetround_387_ctx): Likewise.
24730 (libc_feholdsetround_387_53bit_ctx): Likewise.
24731 (libc_feholdsetround_sse_ctx): Likewise.
24732 (libc_feresetround_sse_ctx): Likewise.
24733 (libc_feresetround_387_ctx): Likewise.
24734 (libc_feupdateenv_387_ctx): Likewise.
24735 (libc_feholdexcept_setroundf_ctx): Define macro.
24736 (libc_fesetenvf_ctx): Likewise.
24737 (libc_feupdateenvf_ctx): Likewise.
24738 (libc_feholdsetroundf_ctx): Likewise.
24739 (libc_feresetroundf_ctx): Likewise.
24740 (libc_feholdexcept_setround_ctx): Likewise.
24741 (libc_fesetenv_ctx): Likewise.
24742 (libc_feupdateenv_ctx): Likewise.
24743 (libc_feholdsetround_ctx): Likewise.
24744 (libc_feresetround_ctx): Likewise.
24745 (libc_feholdexcept_setroundl_ctx): Likewise.
24746 (libc_feupdateenvl_ctx): Likewise.
24747 (libc_feholdsetroundl_ctx): Likewise.
24748 (libc_feresetroundl_ctx): Likewise.
24749 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24750 (libc_feresetround_53bit_ctx): Likewise.
24751
59b30555
SP
247522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24753
24754 * locale/iso-639.def: Convert to UTF-8.
24755
f1d73d30
JM
247562013-06-11 Joseph Myers <joseph@codesourcery.com>
24757
24758 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24759 (EXCEPTION_TESTS_double): Likewise.
24760 (EXCEPTION_TESTS_long_double): Likewise.
24761 (EXCEPTION_TESTS): Likewise.
24762 * math/libm-test.inc (test_exceptions): Only test exceptions if
24763 EXCEPTION_TESTS (FLOAT).
24764
94aca5e7
SP
247652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24766
24767 * benchtests/Makefile (string-bench): Add strcpy_chk and
24768 stpcpy_chk.
24769 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24770 * benchtests/bench-stpcpy_chk.c: New file.
24771 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24772 * benchtests/bench-strcpy_chk.c: New file.
24773 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24774 code.
24775 (do_test): Likewise.
24776
fac0c5f2
RA
247772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24778
24779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24780 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24781 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24782 with tabs where appropriate.
24783 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24784 dl-procinfo.h.
24785 [PPC_PLATFORM_PPC440]: Likewise.
24786 [PPC_PLATFORM_PPC464]: Likewise.
24787 [PPC_PLATFORM_PPC476]: Likewise.
24788 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24789 ppc464, and ppc476 platform strings merging from ports/
24790 dl-procinfo.h.
24791
f22bc486
AS
247922013-06-11 Andreas Schwab <schwab@suse.de>
24793
24794 [BZ #14991]
24795 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24796 (from_ucs4_idx): Regenerate.
24797 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24798 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24799 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24800 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24801 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24802 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24803 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24804 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24805 from FROM_LOOP and TO_LOOP specific macros.
24806 (BODY): Handle combining characters.
24807 * iconvdata/BIG5HKSCS.irreversible: Update.
24808 * iconvdata/BIG5HKSCS.precomposed: New file.
24809 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24810 characters.
24811 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24812
c1f75dc3
SP
248132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24814
4eacded2
SP
24815 * include/sys/time.h: Fix indentation and add copyright header.
24816
fec799f8
SP
24817 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24818 (do_test): Likewise.
24819 * string/test-memchr.c (do_one_test): Likewise.
24820 (do_test): Likewise.
24821 * string/test-memcmp.c (do_one_test): Likewise.
24822 (do_test): Likewise.
24823 * string/test-memcpy.c (do_one_test): Likewise.
24824 (do_test): Likewise.
24825 * string/test-memmem.c (do_one_test): Likewise.
24826 (do_test): Likewise.
24827 (do_random_tests): Likewise.
24828 * string/test-memmove.c (do_one_test): Likewise.
24829 (do_test): Likewise.
24830 * string/test-memset.c (do_one_test): Likewise.
24831 (do_test): Likewise.
24832 * string/test-rawmemchr.c (do_one_test): Likewise.
24833 (do_test): Likewise.
24834 * string/test-strcasecmp.c (do_one_test): Likewise.
24835 (do_test): Likewise.
24836 * string/test-strcasestr.c (do_one_test): Likewise.
24837 (do_test): Likewise.
24838 * string/test-strcat.c (do_one_test): Likewise.
24839 (do_test): Likewise.
24840 * string/test-strchr.c (do_one_test): Likewise.
24841 (do_test): Likewise.
24842 * string/test-strcmp.c (do_one_test): Likewise.
24843 (do_test): Likewise.
24844 * string/test-strcpy.c (do_one_test): Likewise.
24845 (do_test): Likewise.
24846 * string/test-string.h: Likewise.
24847 (test_init): Likewise.
24848 * string/test-strlen.c (do_one_test): Likewise.
24849 (do_test): Likewise.
24850 * string/test-strncasecmp.c (do_one_test): Likewise.
24851 (do_test): Likewise.
24852 * string/test-strncat.c (do_one_test): Likewise.
24853 (do_test): Likewise.
24854 * string/test-strncmp.c (do_one_test): Likewise.
24855 (do_test_limit): Likewise.
24856 (do_test): Likewise.
24857 * string/test-strncpy.c (do_one_test): Likewise.
24858 (do_test): Likewise.
24859 * string/test-strnlen.c (do_one_test): Likewise.
24860 (do_test): Likewise.
24861 * string/test-strpbrk.c (do_one_test): Likewise.
24862 (do_test): Likewise.
24863 * string/test-strrchr.c (do_one_test): Likewise.
24864 (do_test): Likewise.
24865 * string/test-strspn.c (do_one_test): Likewise.
24866 (do_test): Likewise.
24867 * string/test-strstr.c (do_one_test): Likewise.
24868 (do_test): Likewise.
24869
97020474
SP
24870 * benchtests/Makefile (string-bench): Add string benchmarks.
24871 * benchtests/bench-bcopy-ifunc.c: New file.
24872 * benchtests/bench-bcopy.c: New file.
24873 * benchtests/bench-bzero-ifunc.c: New file.
24874 * benchtests/bench-bzero.c: New file.
24875 * benchtests/bench-memccpy-ifunc.c: New file.
24876 * benchtests/bench-memccpy.c: New file.
24877 * benchtests/bench-memchr-ifunc.c: New file.
24878 * benchtests/bench-memchr.c: New file.
24879 * benchtests/bench-memcmp-ifunc.c: New file.
24880 * benchtests/bench-memcmp.c: New file.
24881 * benchtests/bench-memmem-ifunc.c: New file.
24882 * benchtests/bench-memmem.c: New file.
24883 * benchtests/bench-memmove-ifunc.c: New file.
24884 * benchtests/bench-memmove.c: New file.
24885 * benchtests/bench-mempcpy-ifunc.c: New file.
24886 * benchtests/bench-mempcpy.c: New file.
24887 * benchtests/bench-memset-ifunc.c: New file.
24888 * benchtests/bench-memset.c: New file.
24889 * benchtests/bench-rawmemchr-ifunc.c: New file.
24890 * benchtests/bench-rawmemchr.c: New file.
24891 * benchtests/bench-stpcpy-ifunc.c: New file.
24892 * benchtests/bench-stpcpy.c: New file.
24893 * benchtests/bench-stpncpy-ifunc.c: New file.
24894 * benchtests/bench-stpncpy.c: New file.
24895 * benchtests/bench-strcasecmp-ifunc.c: New file.
24896 * benchtests/bench-strcasecmp.c: New file.
24897 * benchtests/bench-strcasestr-ifunc.c: New file.
24898 * benchtests/bench-strcasestr.c: New file.
24899 * benchtests/bench-strcat-ifunc.c: New file.
24900 * benchtests/bench-strcat.c: New file.
24901 * benchtests/bench-strchr-ifunc.c: New file.
24902 * benchtests/bench-strchr.c: New file.
24903 * benchtests/bench-strchrnul-ifunc.c: New file.
24904 * benchtests/bench-strchrnul.c: New file.
24905 * benchtests/bench-strcmp-ifunc.c: New file.
24906 * benchtests/bench-strcmp.c: New file.
24907 * benchtests/bench-strcpy-ifunc.c: New file.
24908 * benchtests/bench-strcpy.c: New file.
24909 * benchtests/bench-strcspn-ifunc.c: New file.
24910 * benchtests/bench-strcspn.c: New file.
24911 * benchtests/bench-strlen-ifunc.c: New file.
24912 * benchtests/bench-strlen.c: New file.
24913 * benchtests/bench-strncasecmp-ifunc.c: New file.
24914 * benchtests/bench-strncasecmp.c: New file.
24915 * benchtests/bench-strncat-ifunc.c: New file.
24916 * benchtests/bench-strncat.c: New file.
24917 * benchtests/bench-strncmp-ifunc.c: New file.
24918 * benchtests/bench-strncmp.c: New file.
24919 * benchtests/bench-strncpy-ifunc.c: New file.
24920 * benchtests/bench-strncpy.c: New file.
24921 * benchtests/bench-strnlen-ifunc.c: New file.
24922 * benchtests/bench-strnlen.c: New file.
24923 * benchtests/bench-strpbrk-ifunc.c: New file.
24924 * benchtests/bench-strpbrk.c: New file.
24925 * benchtests/bench-strrchr-ifunc.c: New file.
24926 * benchtests/bench-strrchr.c: New file.
24927 * benchtests/bench-strspn-ifunc.c: New file.
24928 * benchtests/bench-strspn.c: New file.
24929 * benchtests/bench-strstr-ifunc.c: New file.
24930 * benchtests/bench-strstr.c: New file.
24931
c1f75dc3
SP
24932 * benchtests/Makefile: Disable parallel execution of targets.
24933 (string-bench): Add memcpy.
24934 (benchset): New variable to store a list of benchmark sets.
24935 (bench-func): Renamed from bench.
24936 (bench-set): New target.
24937 (bench): Depend on bench-func and bench-set.
24938 * benchtests/README: Add section on benchmark sets.
24939 * benchtests/bench-memcpy-ifunc.c: New file.
24940 * benchtests/bench-memcpy.c: New file.
24941 * benchtests/bench-string.h: New file.
24942
50fd745b
AS
249432013-06-11 Andreas Schwab <schwab@suse.de>
24944
24945 [BZ #15577]
24946 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24947 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24948 values in the triple.
24949 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24950 terminator in the group key.
24951
3ee7e9fe
AJ
249522013-06-11 Andreas Jaeger <aj@suse.de>
24953
24954 * po/zh_TW.po: Update Chinese (traditional) translation from
24955 translation project.
24956
89fb6835
SP
249572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24958
24959 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24960 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24961 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24963 (clock_getcpuclockid): Likewise.
24964 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24965 Add weak_alias and libc_hidden_def.
24966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24967 * rt/clock_gettime.c (clock_gettime): Rename to
24968 __clock_gettime. Add weak_alias and libc_hidden_def.
24969 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24970 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24971 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24972 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24973 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24974 Likewise.
24975 * rt/clock_settime.c (clock_settime): Rename to
24976 __clock_settime. Add weak_alias and libc_hidden_def.
24977 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24978
0efa6f8b
JM
249792013-06-10 Joseph Myers <joseph@codesourcery.com>
24980
b8c61b4b
JM
24981 * mach/err_boot.sub: Remove trailing whitespace.
24982 * mach/err_ipc.sub: Likewise.
24983 * mach/err_mach.sub: Likewise.
24984
0efa6f8b
JM
24985 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24986 (ROUNDING_TESTS_double): Likewise.
24987 (ROUNDING_TESTS_long_double): Likewise.
24988 (ROUNDING_TESTS): Likewise.
24989 * math/libm-test.inc: Include <math-tests.h>.
24990 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24994
50b818bf
SP
249952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24996
24997 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24998 of assigning.
24999
60d2f8f3
JM
250002013-06-08 Joseph Myers <joseph@codesourcery.com>
25001
4902d2c3
JM
25002 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25003 otherwise empty TRANS lines.
25004 * sysdeps/gnu/errlist.c: Regenerated.
25005
60d2f8f3
JM
25006 * catgets/gencat.c (error_print): Use (void) in function
25007 definition.
25008 * crypt/crypt_util.c (__init_des): Likewise.
25009 * crypt/speeds.c (Stop): Likewise.
25010 (main): Likewise.
25011 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25012 * inet/ruserpass.c (token): Likewise.
25013 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25014 * intl/localealias.c (extend_alias_table): Likewise.
25015 * intl/plural-exp.c (init_germanic_plural): Likewise.
25016 * libio/fcloseall.c (__fcloseall): Likewise.
25017 * libio/genops.c (_IO_flush_all): Likewise.
25018 (_IO_flush_all_linebuffered): Likewise.
25019 (_IO_cleanup): Likewise.
25020 (_IO_iter_begin): Likewise.
25021 (_IO_iter_end): Likewise.
25022 (_IO_list_lock): Likewise.
25023 (_IO_list_unlock): Likewise.
25024 (_IO_list_resetlock): Likewise.
25025 * libio/getchar.c (getchar): Likewise.
25026 * libio/getchar_u.c (getchar_unlocked): Likewise.
25027 * libio/getwchar.c (getwchar): Likewise.
25028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25029 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25030 * login/getpt.c (__getpt): Likewise.
25031 * login/tst-utmp.c (main): Likewise.
25032 * malloc/hooks.c (__malloc_check_init): Likewise.
25033 * malloc/malloc.c (__malloc_stats): Likewise.
25034 * malloc/mtrace.c (tr_break): Likewise.
25035 (mtrace): Likewise.
25036 (muntrace): Likewise.
25037 * misc/fstab.c (endfsent): Likewise.
25038 * misc/getclktck.c (__getclktck): Likewise.
25039 * misc/getdtsz.c (__getdtablesize): Likewise.
25040 * misc/gethostid.c (gethostid): Likewise.
25041 * misc/getpagesize.c (__getpagesize): Likewise.
25042 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25043 (__get_nprocs): Likewise.
25044 (__get_phys_pages): Likewise.
25045 (__get_avphys_pages): Likewise.
25046 * misc/getttyent.c (getttyent): Likewise.
25047 (setttyent): Likewise.
25048 (endttyent): Likewise.
25049 * misc/getusershell.c (getusershell): Likewise.
25050 (endusershell): Likewise.
25051 (setusershell): Likewise.
25052 (initshells): Likewise.
25053 * misc/hsearch.c (__hdestroy): Likewise.
25054 * misc/sync.c (sync): Likewise.
25055 * misc/syslog.c (closelog_internal): Likewise.
25056 (closelog): Likewise.
25057 * misc/ttyslot.c (ttyslot): Likewise.
25058 * misc/vhangup.c (vhangup): Likewise.
25059 * posix/fork.c (__fork): Likewise.
25060 * posix/getegid.c (__getegid): Likewise.
25061 * posix/geteuid.c (__geteuid): Likewise.
25062 * posix/getgid.c (__getgid): Likewise.
25063 * posix/getpid.c (__getpid): Likewise.
25064 * posix/getppid.c (__getppid): Likewise.
25065 * posix/getuid.c (__getuid): Likewise.
25066 * posix/pause.c (pause): Likewise.
25067 * posix/setpgrp.c (setpgrp): Likewise.
25068 * posix/setsid.c (__setsid): Likewise.
25069 * posix/test-vfork.c (noop): Likewise.
25070 * resolv/gethnamaddr.c (_endhtent): Likewise.
25071 (_gethtent): Likewise.
25072 (ht_endhostent): Likewise.
25073 (gethostent): Likewise.
25074 (dns_service): Likewise.
25075 * stdlib/drand48.c (drand48): Likewise.
25076 * stdlib/lrand48.c (lrand48): Likewise.
25077 * stdlib/mrand48.c (mrand48): Likewise.
25078 * stdlib/rand.c (rand): Likewise.
25079 * stdlib/random.c (__random): Likewise.
25080 * stdlib/setenv.c (clearenv): Likewise.
25081 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25082 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25083 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25084 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25085 (__get_nprocs): Likewise.
25086 (__get_phys_pages): Likewise.
25087 (__get_avphys_pages): Likewise.
25088 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25089 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25090 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25091 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25092 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25093 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25094 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25095 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25096 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25097 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25098 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25099 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25100 * sysdeps/posix/clock.c (clock): Likewise.
25101 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25102 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25103 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25104 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25105 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25107 (__get_nprocs_conf): Likewise.
25108 (__get_phys_pages): Likewise.
25109 (__get_avphys_pages): Likewise.
25110 * time/clock.c (clock): Likewise.
25111 * time/tzset.c (__tzname_max): Likewise.
25112
2e09a79a
JM
251132013-06-07 Joseph Myers <joseph@codesourcery.com>
25114
25115 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25116 (__bswap_32): Do not use "register".
25117 * crypt/crypt.c (_ufc_doit_r): Likewise.
25118 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25119 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25120 * gmon/gmon.c (__monstartup): Likewise.
25121 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25122 * hurd/hurdmalloc.c (more_memory): Likewise.
25123 (malloc): Likewise.
25124 (free): Likewise.
25125 (realloc): Likewise.
25126 (malloc_fork_prepare): Likewise.
25127 (malloc_fork_parent): Likewise.
25128 (malloc_fork_child): Likewise.
25129 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25130 (_svcauth_des): Likewise.
25131 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25132 * inet/inet_net.c (inet_network): Likewise.
25133 * inet/inet_netof.c (inet_netof): Likewise.
25134 * inet/rcmd.c (__validuser2_sa): Likewise.
25135 * io/fts.c (fts_open): Likewise.
25136 (fts_load): Likewise.
25137 (fts_close): Likewise.
25138 (fts_read): Likewise.
25139 (fts_children): Likewise.
25140 (fts_build): Likewise.
25141 (fts_stat): Likewise.
25142 (fts_sort): Likewise.
25143 (fts_alloc): Likewise.
25144 (fts_lfree): Likewise.
25145 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25146 (_IO_file_xsgetn): Likewise.
25147 (_IO_file_xsgetn_mmap): Likewise.
25148 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25149 (_IO_cookie_write): Likewise.
25150 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25151 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25152 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25153 * malloc/obstack.c (_obstack_begin): Likewise.
25154 (_obstack_begin_1): Likewise.
25155 (_obstack_newchunk): Likewise.
25156 (_obstack_allocated_p): Likewise.
25157 (obstack_free): Likewise.
25158 (_obstack_memory_used): Likewise.
25159 * misc/getttyent.c (getttynam): Likewise.
25160 (getttyent): Likewise.
25161 (skip): Likewise.
25162 (value): Likewise.
25163 * misc/getusershell.c (initshells): Likewise.
25164 * misc/syslog.c (__vsyslog_chk): Likewise.
25165 * misc/ttyslot.c (ttyslot): Likewise.
25166 * nis/nis_hash.c (__nis_hash): Likewise.
25167 * posix/fnmatch_loop.c (FCT): Likewise.
25168 * posix/getconf.c (print_all): Likewise.
25169 (main): Likewise.
25170 * posix/getopt.c (exchange): Likewise.
25171 * posix/glob.c (globfree): Likewise.
25172 (prefix_array): Likewise.
25173 (__glob_pattern_type): Likewise.
25174 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25175 (NS_GET32): Likewise.
25176 (NS_PUT16): Likewise.
25177 (NS_PUT32): Likewise.
25178 * resolv/gethnamaddr.c (getanswer): Likewise.
25179 (gethostbyname2): Likewise.
25180 (gethostbyaddr): Likewise.
25181 (_gethtent): Likewise.
25182 (_gethtbyname2): Likewise.
25183 (_gethtbyaddr): Likewise.
25184 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25185 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25186 * resolv/res_init.c (__res_vinit): Likewise.
25187 (net_mask): Likewise.
25188 * resolv/res_mkquery.c (outchar): Likewise.
25189 (PRINT): Likewise.
25190 * stdio-common/printf_fp.c (outchar): Likewise.
25191 (PRINT): Likewise.
25192 * stdio-common/printf_fphex.c (outchar): Likewise.
25193 (PRINT): Likewise.
25194 * stdio-common/printf_size.c (outchar): Likewise.
25195 (PRINT): Likewise.
25196 * stdio-common/test_rdwr.c (main): Likewise.
25197 * stdio-common/tfformat.c (matches): Likewise.
25198 * stdio-common/vfprintf.c (outchar): Likewise.
25199 (printf_unknown): Likewise.
25200 (buffered_vfprintf): Likewise.
25201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25202 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25203 (ReadFile): Likewise.
25204 * stdlib/qsort.c (SWAP): Likewise.
25205 (_quicksort): Likewise.
25206 * stdlib/setenv.c (__add_to_environ): Likewise.
25207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25208 * stdlib/strtol_l.c (__strtol_l): Likewise.
25209 * stdlib/tst-strtod.c (main): Likewise.
25210 * stdlib/tst-strtol.c (main): Likewise.
25211 * stdlib/tst-strtoll.c (main): Likewise.
25212 * string/bits/string2.h (__strcmp_cc): Likewise.
25213 (__strcmp_cg): Likewise.
25214 (__strcspn_c1): Likewise.
25215 (__strcspn_c2): Likewise.
25216 (__strcspn_c3): Likewise.
25217 (__strspn_c1): Likewise.
25218 (__strspn_c2): Likewise.
25219 (__strspn_c3): Likewise.
25220 (__strsep_1c): Likewise.
25221 (__strsep_2c): Likewise.
25222 (__strsep_3c): Likewise.
25223 * string/memccpy.c (__memccpy): Likewise.
25224 * string/stpcpy.c (__stpcpy): Likewise.
25225 * string/strcmp.c (strcmp): Likewise.
25226 * string/strrchr.c (strrchr): Likewise.
25227 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25228 Likewise.
25229 * sysdeps/mach/hurd/getcwd.c
25230 (_hurd_canonicalize_directory_name_internal): Likewise.
25231 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25232 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25234 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25235 Likewise, in both definitions.
25236 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25237 definitions.
25238 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25239 64] (__bswap_64): Likewise.
25240 * time/test_time.c (main): Likewise.
25241 * time/tzfile.c (__tzfile_read): Likewise.
25242 (__tzfile_compute): Likewise.
25243 * time/tzset.c (__tzset_parse_tz): Likewise.
25244 (tzset_internal): Likewise.
25245 (compute_change): Likewise.
25246 * wcsmbs/wcscat.c (__wcscat): Likewise.
25247 * wcsmbs/wcschr.c (wcschr): Likewise.
25248 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25249 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25250 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25251 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25252 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25253 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25254 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25256 * wcsmbs/wmemset.c (wmemset): Likewise.
25257
9e54314b
JM
252582013-06-06 Joseph Myers <joseph@codesourcery.com>
25259
25260 * scripts/config.guess: Update to version 2013-05-16.
25261 * scripts/config.sub: Update to version 2013-04-24.
25262 * scripts/install-sh: Update to version 2011-11-20.07.
25263 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25264 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25265
350635a5
OB
252662013-06-06 Ondřej Bílka <neleai@seznam.cz>
25267
25268 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25269 * elf/sln.c: Likewise.
25270 * hurd/hurd/ioctl.h: Likewise.
25271 * hurd/hurdmalloc.c: Likewise.
25272 * hurd/xattr.c: Likewise.
25273 * include/shlib-compat.h: Likewise.
25274 * inet/ruserpass.c: Likewise.
25275 * libio/iofgets_u.c: Likewise.
25276 * libio/iofgetws_u.c: Likewise.
25277 * locale/programs/ld-identification.c: Likewise.
25278 * locale/programs/ld-time.c: Likewise.
25279 * mach/msg-destroy.c: Likewise.
25280 * nss/nss_files/files-netgrp.c: Likewise.
25281 * resolv/res_data.c: Likewise.
25282 * soft-fp/op-1.h: Likewise.
25283 * soft-fp/op-2.h: Likewise.
25284 * soft-fp/op-4.h: Likewise.
25285 * soft-fp/op-common.h: Likewise.
25286 * stdio-common/printf_fphex.c: Likewise.
25287 * stdlib/strtod_l.c: Likewise.
25288 * sunrpc/rpc/clnt.h: Likewise.
25289 * sysdeps/generic/framestate.c: Likewise.
25290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25291 * sysdeps/i386/bsd-setjmp.S: Likewise.
25292 * sysdeps/i386/__longjmp.S: Likewise.
25293 * sysdeps/i386/setjmp.S: Likewise.
25294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25312 * sysdeps/ieee754/support.c: Likewise.
25313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25314 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25315 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25316 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25317 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25318 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25319 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25320 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25321 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25322 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25323 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25328 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25331
44a988af
OB
253322013-06-05 Ondřej Bílka <neleai@seznam.cz>
25333
25506f09 25334 * posix/transbug.c: Remove executable mode.
44a988af 25335
9c84384c
JM
253362013-06-05 Joseph Myers <joseph@codesourcery.com>
25337
25338 * crypt/speeds.c: Remove trailing whitespace.
25339 * dlfcn/default.c: Likewise.
25340 * elf/ifuncdep2.c: Likewise.
25341 * elf/ifuncmain1.c: Likewise.
25342 * elf/ifuncmain1vis.c: Likewise.
25343 * elf/testobj.h: Likewise.
25344 * elf/tst-stackguard1.c: Likewise.
25345 * gmon/sys/gmon.h: Likewise.
25346 * hurd/hurdmsg.c: Likewise.
25347 * hurd/new-fd.c: Likewise.
25348 * hurd/ports-get.c: Likewise.
25349 * iconvdata/ibm1008_420.c: Likewise.
25350 * inet/tst-getni1.c: Likewise.
25351 * inet/tst-getni2.c: Likewise.
25352 * libio/ioungetc.c: Likewise.
25353 * libio/wfiledoalloc.c: Likewise.
25354 * manual/libm-err-tab.pl: Likewise.
25355 * math/w_dremf.c: Likewise.
25356 * misc/ftruncate.c: Likewise.
25357 * posix/bug-glob2.c: Likewise.
25358 * posix/tst-pcre.c: Likewise.
25359 * posix/wait4.c: Likewise.
25360 * resolv/README: Likewise.
25361 * resolv/res_debug.h: Likewise.
25362 * resolv/tst-inet_ntop.c: Likewise.
25363 * setjmp/bug269-setjmp.c: Likewise.
25364 * soft-fp/extended.h: Likewise.
25365 * soft-fp/op-1.h: Likewise.
25366 * soft-fp/op-2.h: Likewise.
25367 * soft-fp/op-4.h: Likewise.
25368 * soft-fp/op-8.h: Likewise.
25369 * soft-fp/testit.c: Likewise.
25370 * stdio-common/bug16.c: Likewise.
25371 * stdlib/random.c: Likewise.
25372 * sunrpc/rpcsvc/rquota.x: Likewise.
25373 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25402 * sysdeps/ieee754/s_lib_version.c: Likewise.
25403 * sysdeps/mach/hurd/check_fds.c: Likewise.
25404 * sysdeps/mach/hurd/getsockname.c: Likewise.
25405 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25406 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25407 * sysdeps/powerpc/bits/link.h: Likewise.
25408 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25409 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25410 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25411 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25412 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25414 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25417 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25418 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25419 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25420 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25421 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25423 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25429 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25432 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25442 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25444 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25446 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25447 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25448 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25449 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25450 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25451 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25452 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25454 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25455 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25457 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25472 * sysdeps/powerpc/sysdep.h: Likewise.
25473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25474 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25475 * sysdeps/sh/dl-trampoline.S: Likewise.
25476 * sysdeps/sh/memset.S: Likewise.
25477 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25478 * sysdeps/sh/strlen.S: Likewise.
25479 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25480 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25481 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25482 * sysdeps/sparc/sparc32/rem.S: Likewise.
25483 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25485 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25486 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25487 * sysdeps/sparc/sparc32/urem.S: Likewise.
25488 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25489 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25490 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25491 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25493 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25494 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25495 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25496 * sysdeps/unix/bsd/times.c: Likewise.
25497 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25498 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25502 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25507 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25509 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25510 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25512 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25514 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25515 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25516 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25517 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25518 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25522 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25523 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25525 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25526 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25527 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25528 * sysdeps/x86_64/strcspn.S: Likewise.
25529
869378a5
RA
255302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25531
25532 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25533 generated file. Regenerate properly from gen-translit.pl.
25534 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25535 locale/C-translit.h.
25536
840e2943
AS
255372013-06-05 Andreas Schwab <schwab@suse.de>
25538
25539 [BZ #15100]
25540 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25541 week as 6 instead of -1.
25542 * time/tst-strptime.c (day_tests): Add test case.
25543
4c60cb0c
SP
255442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25545
25546 * sysdeps/generic/math_private.h
25547 (libc_feholdexcept_setround_53bit): Replace with
25548 libc_feholdsetround_53bit.
25549 (libc_feupdateenv_53bit): Replace with
25550 libc_feresetround_53bit.
25551 (SET_RESTORE_ROUND_53BIT): Adjust.
25552
d180203e
SP
255532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25554
96df079a
SP
25555 * string/test-strchrnul.c: Add copyright header.
25556
d180203e
SP
25557 * posix/tst-getaddrinfo4.c: Increase test timeout.
25558
8b0ccb2d
CD
255592013-06-03 Carlos O'Donell <carlos@redhat.com>
25560
25561 [BZ #15536]
25562 * math/libm-test.inc (MAX_EXP): Remove
25563 (MIN_EXP): Define.
25564 (ulp): Use MIN_EXP - MANT_DIG.
25565 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25566
3b3c4d40
CD
255672013-05-31 Carlos O'Donell <carlos@redhat.com>
25568
25569 * po/be.po: Revert last change.
25570 * po/zh_CN.po: Likewise.
25571 * po/header.pot: Likewise.
25572
fab7ce3f
JM
255732013-05-31 Joseph Myers <joseph@codesourcery.com>
25574
25575 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25576 link-libc-deps to empty as target-specific variable.
25577 * Makerules (link-libc-args): New variable.
25578 (libc-for-link): Likewise.
25579 (link-libc-deps): Likewise.
25580 (lib%.so): Depend on $(link-libc-deps). Link with
25581 $(link-libc-args).
25582 (build-module): Link with $(link-libc-args).
25583 (build-module-asneeded): Likewise.
25584 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25585 list of objects.
25586 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25587 target-specific variable.
25588 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25589 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25590 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25591 libc.
25592 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25593 libc and ld.so.
25594 ($(objpfx)libpcprofile.so): Likewise.
25595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25596 libc_nonshared.a.
25597 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25598 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25599 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25600 $(link-libc-deps).
25601 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25602 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25603 * login/Makefile ($(objpfx)libutil.so): Likewise.
25604 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25605 * math/Makefile ($(objpfx)libm.so): Likewise.
25606 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25607 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25608 variable instead of depending directly on libc.
25609 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25610 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25611 $(link-libc-deps).
25612 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25613 libc.
25614 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25615 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25616 ($(objpfx)libanl.so): Likewise.
25617 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25618 ld.so.
25619 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25620 $(link-libc-deps).
25621 * sysdeps/i386/fpu/Makefile: Remove file.
25622 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25623 ($(objpfx)libm.so): Remove dependency on ld.so.
25624
eca5920c
PF
256252013-05-30 Patsy Franklin <pfrankli@redhat.com>
25626
25627 [BZ # 15553]
25628 * nis/yp_xdr.c (XDRMAXNAME): Define.
25629 (XDRMAXRECORD): Define.
25630 (xdr_domainname): Use XDRMAXNAME.
25631 (xdr_mapname): Likewise.
25632 (xdr_peername): Likewise.
25633 (xdr_keydat): Use XDRMAXRECORD.
25634 (xdr_valdat): Likewise.
25635
256362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25637
25638 [BZ #14256]
25639 * manual/errno.texi (ESTALE): Update to account for more than
25640 just NFS file systems.
25641 * sysdeps/gnu/errlist.c: Regenerated.
25642
b9375348
SP
256432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25644
25645 [BZ #15465]
25646 * elf/Makefile (tests): Add tst-null-argv.
25647 (modules-names): Add tst-null-argv-lib.
25648 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25649 (tst-null-argv-ENV): Set environment for tst-null-argv.
25650 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25651 (RTLD_PROGNAME): New macro.
25652 * elf/tst-null-argv.c: New test case.
25653 * elf/tst-null-argv-lib.c: Library for test case.
25654 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25656 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25657 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25658 * elf/dl-init.c (call_init): Likewise.
25659 (_dl_init): Likewise.
25660 * elf/dl-load.c (print_search_path): Likewise.
25661 (_dl_map_object): Likewise.
25662 * elf/dl-lookup.c (do_lookup_x): Likewise.
25663 (add_dependency): Likewise.
25664 (_dl_lookup_symbol_x): Likewise.
25665 (_dl_debug_bindings): Likewise.
25666 * elf/dl-open.c (_dl_show_scope): Likewise.
25667 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25668 * elf/dl-version.c (match_symbol): Likewise.
25669 (_dl_check_map_versions): Likewise.
25670 * elf/rtld.c (dl_main): Likewise.
25671 (print_unresolved): Use RTLD_PROGNAME.
25672 (print_missing_version): Likewise.
25673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25674 (elf_machine_rela): Likewise.
25675 * sysdeps/powerpc/powerpc32/dl-machine.c
25676 (__process_machine_rela): Likewise.
25677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25678 Likewise.
25679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25680 Likewise.
25681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25682 Likewise.
25683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25685 Likewise.
25686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25687 Likewise.
25688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25689
8a9f20c8
CD
256902013-05-28 Carlos O'Donell <carlos@redhat.com>
25691
25692 * po/be.po: Add descriptive title.
25693 * po/zh_CN.po: Likewise.
25694 * po/header.pot: Likewise.
25695
0e60d68e
MF
256962013-05-28 Mike Frysinger <vapier@gentoo.org>
25697
25698 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25699 error message.
25700 (enlarge_archive): Likewise.
25701
56b672e9
BN
257022013-05-28 Ben North <ben@redfrontdoor.org>
25703
25704 * manual/arith.texi (frexp): It is the magnitude of the return
25705 value which lies in [0.5, 1), not the return value itself.
25706
5e056687
AZ
257072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25708
25709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25710
2b66ef5d
TS
257112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25712
528c2405
TS
25713 * stdio-common/bug26.c (main): Correct fscanf template.
25714
07b4c13d
TS
25715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25716 declare _dl_skip_args.
25717
ec9dd97c
TS
25718 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25719 Don't declare.
25720
2b66ef5d
TS
25721 * manual/platform.texi: Add missing @end deftypefun.
25722
4f8dfe27
JM
257232013-05-24 Joseph Myers <joseph@codesourcery.com>
25724
0323d086
JM
25725 [BZ #15529]
25726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25727 bit of mantissa of 2^16382.
25728 * math/libm-test.inc (hypot_test_data): Add more tests.
25729
dd4259b9
JM
25730 * math/libm-test.inc: Add drem and pow10 to list of tested
25731 functions.
25732 (pow10_test): New function.
25733 (drem_test): Likewise.
25734 (drem_test_tonearest): Likewise.
25735 (drem_test_towardzero): Likewise.
25736 (drem_test_downward): Likewise.
25737 (drem_test_upward): Likewise.
25738 (main): Call the new functions.
25739
4f8dfe27
JM
25740 * math/libm-test.inc (finite_test_data): Remove.
25741 (finite_test): Run tests from isfinite_test_data.
25742 (gamma_test_data): Remove.
25743 (gamma_test): Run tests from lgamma_test_data.
25744 * sysdeps/i386/fpu/libm-test-ulps: Update.
25745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25746
d116b7c4
AZ
257472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25748
25749 * manual/platform.texi: Add PowerPC PPR function set documentation.
25750 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25751 implementation.
25752
e96e3767
CD
257532013-05-24 Carlos O'Donell <carlos@redhat.com>
25754
25755 * math/libm-test.inc (MAX_EXP): Define.
25756 (ULPDIFF): Define.
25757 (ulp): New function.
25758 (check_float_internal): Use ULPDIFF.
25759 (cpow_test): Disable failing test.
25760 (check_ulp): Test ulp() implemetnation.
25761 (main): Call check_ulp before starting tests.
25762
b679a606
JM
257632013-05-24 Joseph Myers <joseph@codesourcery.com>
25764
e8bdba36
JM
25765 * math/gen-libm-test.pl (generate_testfile): Do not handle
25766 START_DATA and END_DATA.
25767 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25768 END_DATA.
25769 (acos_tonearest_test_data): Likewise.
25770 (acos_towardzero_test_data): Likewise.
25771 (acos_downward_test_data): Likewise.
25772 (acos_upward_test_data): Likewise.
25773 (acosh_test_data): Likewise.
25774 (asin_test_data): Likewise.
25775 (asin_tonearest_test_data): Likewise.
25776 (asin_towardzero_test_data): Likewise.
25777 (asin_downward_test_data): Likewise.
25778 (asin_upward_test_data): Likewise.
25779 (asinh_test_data): Likewise.
25780 (atan_test_data): Likewise.
25781 (atanh_test_data): Likewise.
25782 (atan2_test_data): Likewise.
25783 (cabs_test_data): Likewise.
25784 (cacos_test_data): Likewise.
25785 (cacosh_test_data): Likewise.
25786 (carg_test_data): Likewise.
25787 (casin_test_data): Likewise.
25788 (casinh_test_data): Likewise.
25789 (catan_test_data): Likewise.
25790 (catanh_test_data): Likewise.
25791 (cbrt_test_data): Likewise.
25792 (ccos_test_data): Likewise.
25793 (ccosh_test_data): Likewise.
25794 (ceil_test_data): Likewise.
25795 (cexp_test_data): Likewise.
25796 (cimag_test_data): Likewise.
25797 (clog_test_data): Likewise.
25798 (clog10_test_data): Likewise.
25799 (conj_test_data): Likewise.
25800 (copysign_test_data): Likewise.
25801 (cos_test_data): Likewise.
25802 (cos_tonearest_test_data): Likewise.
25803 (cos_towardzero_test_data): Likewise.
25804 (cos_downward_test_data): Likewise.
25805 (cos_upward_test_data): Likewise.
25806 (cosh_test_data): Likewise.
25807 (cosh_tonearest_test_data): Likewise.
25808 (cosh_towardzero_test_data): Likewise.
25809 (cosh_downward_test_data): Likewise.
25810 (cosh_upward_test_data): Likewise.
25811 (cpow_test_data): Likewise.
25812 (cproj_test_data): Likewise.
25813 (creal_test_data): Likewise.
25814 (csin_test_data): Likewise.
25815 (csinh_test_data): Likewise.
25816 (csqrt_test_data): Likewise.
25817 (ctan_test_data): Likewise.
25818 (ctan_tonearest_test_data): Likewise.
25819 (ctan_towardzero_test_data): Likewise.
25820 (ctan_downward_test_data): Likewise.
25821 (ctan_upward_test_data): Likewise.
25822 (ctanh_test_data): Likewise.
25823 (ctanh_tonearest_test_data): Likewise.
25824 (ctanh_towardzero_test_data): Likewise.
25825 (ctanh_downward_test_data): Likewise.
25826 (ctanh_upward_test_data): Likewise.
25827 (erf_test_data): Likewise.
25828 (erfc_test_data): Likewise.
25829 (exp_test_data): Likewise.
25830 (exp_tonearest_test_data): Likewise.
25831 (exp_towardzero_test_data): Likewise.
25832 (exp_downward_test_data): Likewise.
25833 (exp_upward_test_data): Likewise.
25834 (exp10_test_data): Likewise.
25835 (exp2_test_data): Likewise.
25836 (expm1_test_data): Likewise.
25837 (fabs_test_data): Likewise.
25838 (fdim_test_data): Likewise.
25839 (finite_test_data): Likewise.
25840 (floor_test_data): Likewise.
25841 (fma_test_data): Likewise.
25842 (fma_towardzero_test_data): Likewise.
25843 (fma_downward_test_data): Likewise.
25844 (fma_upward_test_data): Likewise.
25845 (fmax_test_data): Likewise.
25846 (fmin_test_data): Likewise.
25847 (fmod_test_data): Likewise.
25848 (fpclassify_test_data): Likewise.
25849 (frexp_test_data): Likewise.
25850 (gamma_test_data): Likewise.
25851 (hypot_test_data): Likewise.
25852 (ilogb_test_data): Likewise.
25853 (isfinite_test_data): Likewise.
25854 (isgreater_test_data): Likewise.
25855 (isgreaterequal_test_data): Likewise.
25856 (isinf_test_data): Likewise.
25857 (isless_test_data): Likewise.
25858 (islessequal_test_data): Likewise.
25859 (islessgreater_test_data): Likewise.
25860 (isnan_test_data): Likewise.
25861 (isnormal_test_data): Likewise.
25862 (issignaling_test_data): Likewise.
25863 (isunordered_test_data): Likewise.
25864 (j0_test_data): Likewise.
25865 (j1_test_data): Likewise.
25866 (jn_test_data): Likewise.
25867 (ldexp_test_data): Likewise.
25868 (lgamma_test_data): Likewise.
25869 (lrint_test_data): Likewise.
25870 (lrint_tonearest_test_data): Likewise.
25871 (lrint_towardzero_test_data): Likewise.
25872 (lrint_downward_test_data): Likewise.
25873 (lrint_upward_test_data): Likewise.
25874 (llrint_test_data): Likewise.
25875 (llrint_tonearest_test_data): Likewise.
25876 (llrint_towardzero_test_data): Likewise.
25877 (llrint_downward_test_data): Likewise.
25878 (llrint_upward_test_data): Likewise.
25879 (log_test_data): Likewise.
25880 (log10_test_data): Likewise.
25881 (log1p_test_data): Likewise.
25882 (log2_test_data): Likewise.
25883 (logb_test_data): Likewise.
25884 (logb_downward_test_data): Likewise.
25885 (lround_test_data): Likewise.
25886 (llround_test_data): Likewise.
25887 (modf_test_data): Likewise.
25888 (nearbyint_test_data): Likewise.
25889 (nextafter_test_data): Likewise.
25890 (nexttoward_test_data): Likewise.
25891 (pow_test_data): Likewise.
25892 (pow_tonearest_test_data): Likewise.
25893 (pow_towardzero_test_data): Likewise.
25894 (pow_downward_test_data): Likewise.
25895 (pow_upward_test_data): Likewise.
25896 (remainder_test_data): Likewise.
25897 (remainder_tonearest_test_data): Likewise.
25898 (remainder_towardzero_test_data): Likewise.
25899 (remainder_downward_test_data): Likewise.
25900 (remainder_upward_test_data): Likewise.
25901 (remquo_test_data): Likewise.
25902 (rint_test_data): Likewise.
25903 (rint_tonearest_test_data): Likewise.
25904 (rint_towardzero_test_data): Likewise.
25905 (rint_downward_test_data): Likewise.
25906 (rint_upward_test_data): Likewise.
25907 (round_test_data): Likewise.
25908 (scalb_test_data): Likewise.
25909 (scalbn_test_data): Likewise.
25910 (scalbln_test_data): Likewise.
25911 (signbit_test_data): Likewise.
25912 (sin_test_data): Likewise.
25913 (sin_tonearest_test_data): Likewise.
25914 (sin_towardzero_test_data): Likewise.
25915 (sin_downward_test_data): Likewise.
25916 (sin_upward_test_data): Likewise.
25917 (sincos_test_data): Likewise.
25918 (sinh_test_data): Likewise.
25919 (sinh_tonearest_test_data): Likewise.
25920 (sinh_towardzero_test_data): Likewise.
25921 (sinh_downward_test_data): Likewise.
25922 (sinh_upward_test_data): Likewise.
25923 (sqrt_test_data): Likewise.
25924 (tan_test_data): Likewise.
25925 (tan_tonearest_test_data): Likewise.
25926 (tan_towardzero_test_data): Likewise.
25927 (tan_downward_test_data): Likewise.
25928 (tan_upward_test_data): Likewise.
25929 (tanh_test_data): Likewise.
25930 (tgamma_test_data): Likewise.
25931 (trunc_test_data): Likewise.
25932 (y0_test_data): Likewise.
25933 (y1_test_data): Likewise.
25934 (yn_test_data): Likewise.
25935 (significand_test_data): Likewise.
25936
b679a606
JM
25937 * math/gen-libm-test.pl (@functions): Remove variable.
25938 (generate_testfile): Don't handle START and END lines.
25939 * math/libm-test.inc (START): New macro.
25940 (END): Likewise.
25941 (END_COMPLEX): Likewise.
25942 (acos_test): Use END macro without arguments.
25943 (acos_test_tonearest): Likewise.
25944 (acos_test_towardzero): Likewise.
25945 (acos_test_downward): Likewise.
25946 (acos_test_upward): Likewise.
25947 (acosh_test): Likewise.
25948 (asin_test): Likewise.
25949 (asin_test_tonearest): Likewise.
25950 (asin_test_towardzero): Likewise.
25951 (asin_test_downward): Likewise.
25952 (asin_test_upward): Likewise.
25953 (asinh_test): Likewise.
25954 (atan_test): Likewise.
25955 (atanh_test): Likewise.
25956 (atan2_test): Likewise.
25957 (cabs_test): Likewise.
25958 (cacos_test): Use END_COMPLEX macro without arguments.
25959 (cacosh_test): Likewise.
25960 (carg_test): Use END macro without arguments.
25961 (casin_test): Use END_COMPLEX macro without arguments.
25962 (casinh_test): Likewise.
25963 (catan_test): Likewise.
25964 (catanh_test): Likewise.
25965 (cbrt_test): Use END macro without arguments.
25966 (ccos_test): Use END_COMPLEX macro without arguments.
25967 (ccosh_test): Likewise.
25968 (ceil_test): Use END macro without arguments.
25969 (cexp_test): Use END_COMPLEX macro without arguments.
25970 (cimag_test): Use END macro without arguments.
25971 (clog_test): Use END_COMPLEX macro without arguments.
25972 (clog10_test): Likewise.
25973 (conj_test): Likewise.
25974 (copysign_test): Use END macro without arguments.
25975 (cos_test): Likewise.
25976 (cos_test_tonearest): Likewise.
25977 (cos_test_towardzero): Likewise.
25978 (cos_test_downward): Likewise.
25979 (cos_test_upward): Likewise.
25980 (cosh_test): Likewise.
25981 (cosh_test_tonearest): Likewise.
25982 (cosh_test_towardzero): Likewise.
25983 (cosh_test_downward): Likewise.
25984 (cosh_test_upward): Likewise.
25985 (cpow_test): Use END_COMPLEX macro without arguments.
25986 (cproj_test): Likewise.
25987 (creal_test): Use END macro without arguments.
25988 (csin_test): Use END_COMPLEX macro without arguments.
25989 (csinh_test): Likewise.
25990 (csqrt_test): Likewise.
25991 (ctan_test): Likewise.
25992 (ctan_test_tonearest): Likewise.
25993 (ctan_test_towardzero): Likewise.
25994 (ctan_test_downward): Likewise.
25995 (ctan_test_upward): Likewise.
25996 (ctanh_test): Likewise.
25997 (ctanh_test_tonearest): Likewise.
25998 (ctanh_test_towardzero): Likewise.
25999 (ctanh_test_downward): Likewise.
26000 (ctanh_test_upward): Likewise.
26001 (erf_test): Use END macro without arguments.
26002 (erfc_test): Likewise.
26003 (exp_test): Likewise.
26004 (exp_test_tonearest): Likewise.
26005 (exp_test_towardzero): Likewise.
26006 (exp_test_downward): Likewise.
26007 (exp_test_upward): Likewise.
26008 (exp10_test): Likewise.
26009 (exp2_test): Likewise.
26010 (expm1_test): Likewise.
26011 (fabs_test): Likewise.
26012 (fdim_test): Likewise.
26013 (finite_test): Likewise.
26014 (floor_test): Likewise.
26015 (fma_test): Likewise.
26016 (fma_test_towardzero): Likewise.
26017 (fma_test_downward): Likewise.
26018 (fma_test_upward): Likewise.
26019 (fmax_test): Likewise.
26020 (fmin_test): Likewise.
26021 (fmod_test): Likewise.
26022 (fpclassify_test): Likewise.
26023 (frexp_test): Likewise.
26024 (gamma_test): Likewise.
26025 (hypot_test): Likewise.
26026 (ilogb_test): Likewise.
26027 (isfinite_test): Likewise.
26028 (isgreater_test): Likewise.
26029 (isgreaterequal_test): Likewise.
26030 (isinf_test): Likewise.
26031 (isless_test): Likewise.
26032 (islessequal_test): Likewise.
26033 (islessgreater_test): Likewise.
26034 (isnan_test): Likewise.
26035 (isnormal_test): Likewise.
26036 (issignaling_test): Likewise.
26037 (isunordered_test): Likewise.
26038 (j0_test): Likewise.
26039 (j1_test): Likewise.
26040 (jn_test): Likewise.
26041 (ldexp_test): Likewise.
26042 (lgamma_test): Likewise.
26043 (lrint_test): Likewise.
26044 (lrint_test_tonearest): Likewise.
26045 (lrint_test_towardzero): Likewise.
26046 (lrint_test_downward): Likewise.
26047 (lrint_test_upward): Likewise.
26048 (llrint_test): Likewise.
26049 (llrint_test_tonearest): Likewise.
26050 (llrint_test_towardzero): Likewise.
26051 (llrint_test_downward): Likewise.
26052 (llrint_test_upward): Likewise.
26053 (log_test): Likewise.
26054 (log10_test): Likewise.
26055 (log1p_test): Likewise.
26056 (log2_test): Likewise.
26057 (logb_test): Likewise.
26058 (logb_test_downward): Likewise.
26059 (lround_test): Likewise.
26060 (llround_test): Likewise.
26061 (modf_test): Likewise.
26062 (nearbyint_test): Likewise.
26063 (nextafter_test): Likewise.
26064 (nexttoward_test): Likewise.
26065 (pow_test): Likewise.
26066 (pow_test_tonearest): Likewise.
26067 (pow_test_towardzero): Likewise.
26068 (pow_test_downward): Likewise.
26069 (pow_test_upward): Likewise.
26070 (remainder_test): Likewise.
26071 (remainder_test_tonearest): Likewise.
26072 (remainder_test_towardzero): Likewise.
26073 (remainder_test_downward): Likewise.
26074 (remainder_test_upward): Likewise.
26075 (remquo_test): Likewise.
26076 (rint_test): Likewise.
26077 (rint_test_tonearest): Likewise.
26078 (rint_test_towardzero): Likewise.
26079 (rint_test_downward): Likewise.
26080 (rint_test_upward): Likewise.
26081 (round_test): Likewise.
26082 (scalb_test): Likewise.
26083 (scalbn_test): Likewise.
26084 (scalbln_test): Likewise.
26085 (signbit_test): Likewise.
26086 (sin_test): Likewise.
26087 (sin_test_tonearest): Likewise.
26088 (sin_test_towardzero): Likewise.
26089 (sin_test_downward): Likewise.
26090 (sin_test_upward): Likewise.
26091 (sincos_test): Likewise.
26092 (sinh_test): Likewise.
26093 (sinh_test_tonearest): Likewise.
26094 (sinh_test_towardzero): Likewise.
26095 (sinh_test_downward): Likewise.
26096 (sinh_test_upward): Likewise.
26097 (sqrt_test): Likewise.
26098 (tan_test): Likewise.
26099 (tan_test_tonearest): Likewise.
26100 (tan_test_towardzero): Likewise.
26101 (tan_test_downward): Likewise.
26102 (tan_test_upward): Likewise.
26103 (tanh_test): Likewise.
26104 (tgamma_test): Likewise.
26105 (trunc_test): Likewise.
26106 (y0_test): Likewise.
26107 (y1_test): Likewise.
26108 (yn_test): Likewise.
26109 (significand_test): Likewise.
26110
bae143d2
OB
261112013-05-24 Ondřej Bílka <neleai@seznam.cz>
26112
26113 [BZ #15381]
26114 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26115
9323d39b
EM
261162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26117
d4ea44a0 26118 [BZ #14894]
9323d39b
EM
26119 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26120 __ppc_mdoio and __ppc_mdoom.
26121 * manual/platform.texi: Document new functions __ppc_yield,
26122 __ppc_mdoio and __ppc_mdoom.
26123
13e23af7
CD
261242013-05-22 Carlos O'Donell <carlos@redhat.com>
26125
26126 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26127 (main): Mention "tls" pseudo-hwcap is legacy.
26128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26129
351fe550
JM
261302013-05-22 Joseph Myers <joseph@codesourcery.com>
26131
26132 * math/gen-libm-test.pl (parse_args): Output only string of
26133 arguments as text for test name, not full call or descriptions of
26134 tests for extra outputs.
26135 (generate_testfile): Do not pass function name to parse_args.
26136 Generate this_func variable from START.
26137 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26138 field to arg_str.
26139 (struct test_ff_f_data): Likewise.
26140 (test_ff_f_data_nexttoward): Likewise.
26141 (struct test_fi_f_data): Likewise.
26142 (struct test_fl_f_data): Likewise.
26143 (struct test_if_f_data): Likewise.
26144 (struct test_fff_f_data): Likewise.
26145 (struct test_c_f_data): Likewise.
26146 (struct test_f_f1_data): Likewise. Remove field extra_name.
26147 (struct test_fF_f1_data): Likewise.
26148 (struct test_ffI_f1_data): Likewise.
26149 (struct test_c_c_data): Rename test_name field to arg_str.
26150 (struct test_cc_c_data): Likewise.
26151 (struct test_f_i_data): Likewise.
26152 (struct test_ff_i_data): Likewise.
26153 (struct test_f_l_data): Likewise.
26154 (struct test_f_L_data): Likewise.
26155 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26156 and extra2_name.
26157 (COMMON_TEST_SETUP): New macro.
26158 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26159 (COMMON_TEST_CLEANUP): Likewise.
26160 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26161 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26162 macros.
26163 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26164 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26165 macros.
26166 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26167 (RUN_TEST_fff_f): Take argument string. Call new setup and
26168 cleanup macros.
26169 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26170 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26171 macros.
26172 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26173 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26174 macros.
26175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26176 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26177 cleanup macros.
26178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26179 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26180 cleanup macros.
26181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26182 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26183 cleanup macros.
26184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26185 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26186 macros.
26187 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26188 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26189 macros.
26190 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26191 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26192 macros.
26193 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26194 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26195 cleanup macros.
26196 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26197 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26198 cleanup macros.
26199 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26200 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26201 macros.
26202 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26203 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26204 cleanup macros.
26205 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26206 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26207 macros.
26208 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26209 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26210 macros.
26211 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26212 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26213 cleanup macros.
26214 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26215
85118d4d
EBM
262162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26217
26218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26219 to _sifields.sigfault.
26220 (si_addr_lsb): Define new macro.
26221 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26224
7a44c18f
CD
262252013-05-03 Carlos O'Donell <carlos at redhat.com>
26226
26227 [BZ #15441]
26228 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26229 returns -1.
26230 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26231 null return -1.
26232 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26233 loading the domain.
26234
b50a7181
JM
262352013-05-22 Joseph Myers <joseph@codesourcery.com>
26236
26237 * math/gen-libm-test.pl (parse_args): Do not include expected
26238 result in test name.
26239 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26241 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26242 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26245
051063c8
SP
262462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26247
3ce9e010
SP
26248 * benchtests/Makefile: Sort function entries.
26249
051063c8
SP
26250 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26251 tanh, asinh, acosh, atanh.
26252 * benchtests/acos-inputs: New file.
26253 * benchtests/acosh-inputs: New file.
26254 * benchtests/asin-inputs: New file.
26255 * benchtests/asinh-inputs: New file.
26256 * benchtests/atanh-inputs: New file.
26257 * benchtests/cosh-inputs: New file.
26258 * benchtests/log-inputs: New file.
26259 * benchtests/sinh-inputs: New file.
26260 * benchtests/tanh-inputs: New file.
26261
47c22455
DL
262622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26263
26264 [BZ #15339]
26265 * posix/tst-getaddrinfo4.c: New test.
26266 * posix/Makefile (tests): Add it.
26267
3d04f5db
SP
262682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26269
26270 [BZ #15339]
26271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26272 when no services were used.
26273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26274 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26275
d5dd6189
AS
262762013-05-21 Andreas Schwab <schwab@suse.de>
26277
26278 [BZ #15014]
26279 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26280 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26281 successful.
26282 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26283 redundant variable declarations and reallocation of buffer when
26284 parsing as IPv6 address. Always set NSS status when called from
26285 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26286 buffer too small. Correct computation of needed size.
26287 * nss/Makefile (tests): Add test-digits-dots.
26288 * nss/test-digits-dots.c: New test.
26289
fef94eab
SP
262902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26291
26292 * benchtests/Makefile: Remove instructions for adding
26293 benchmark tests.
26294 * benchtests/README: New file to explain how to execute and
26295 enhance the benchmark tests.
26296
e39adf43
AS
262972013-05-21 Andreas Schwab <schwab@suse.de>
26298
26299 [BZ #15493]
26300 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26301 * setjmp/tst-sigsetjmp.c: New test.
26302
b2b671b6
OB
263032013-05-20 Ondřej Bílka <neleai@seznam.cz>
26304
26305 * sysdeps/x86_64/memset.S (memset): New implementation.
26306 (__bzero): Likewise.
26307 (__memset_tail): New function.
26308
2d48b41c
OB
263092013-05-20 Ondřej Bílka <neleai@seznam.cz>
26310
26311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26312 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26313 __memcpy_sse2_unaligned ifunc selection.
26314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26315 Add memcpy-sse2-unaligned.S.
26316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26317 Add: __memcpy_sse2_unaligned.
26318
f16cc3eb
JM
263192013-05-19 Joseph Myers <joseph@codesourcery.com>
26320
3e694268
JM
26321 [BZ #15490]
26322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26323 math_force_eval before restoring floating-point envrionment.
26324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26326 Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26328 <math_private.h>.
26329 (__nearbyintl): Use math_force_eval before restoring
26330 floating-point environment.
26331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26332
db62a907
JM
26333 * math/gen-libm-test.pl (special_functions): Remove.
26334 (parse_args): Don't handle TEST_extra. Handle functions with no
26335 return value.
26336 * math/libm-test.inc (struct test_sincos_data): Replace with
26337 struct test_fFF_11_data.
26338 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26339 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26340 (sincos_test_data): Change element type to struct
26341 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26342 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26343 RUN_TEST_LOOP_sincos.
26344 * math/README.libm-test: Don't mention special handling of
26345 individual functions.
26346 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26352
f16cc3eb
JM
26353 * math/gen-libm-test.pl (get_variable): Remove function.
26354 (parse_args): Don't show pointer parameters to call in test
26355 names. Use "extra output N" in test names for extra outputs
26356 rather than naming variables.
26357
3779b5b6
JM
263582013-05-18 Joseph Myers <joseph@codesourcery.com>
26359
2ee094ff
JM
26360 [BZ #15488]
26361 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26362 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26363 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26364 double tests.
26365 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26366 disable.
26367 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26368 check_long_double.
26369
3779b5b6
JM
26370 * math/gen-libm-test.pl (@tests): Remove variable.
26371 ($count): Likewise.
26372 (new_test): Remove function.
26373 (show_exceptions): New function.
26374 (special_functions): Use show_exceptions instead of new_test.
26375 (parse_args): Likewise.
26376 (generate_testfile): Pass only function name in generated call to
26377 print_max_error or print_complex_max_error.
26378 (get_ulps): Do not handle complex tests specially.
26379 (output_test): Rename to ...
26380 (get_all_ulps_for_test): ... this. Return a string rather than
26381 printing to a file. Require ulps to be present.
26382 (output_ulps): Generate arrays rather than #defines.
26383 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26384 (struct ulp_data): New type.
26385 (BUILD_COMPLEX_ULP): Remove macro.
26386 (compare_ulp_data): New function.
26387 (find_ulps): Likewise.
26388 (find_test_ulps): Likewise.
26389 (find_function_ulps): Likewise.
26390 (find_complex_function_ulps): Likewise.
26391 (print_max_error): Determine allowed ulps using
26392 find_function_ulps.
26393 (print_complex_max_error): Determine allowed ulps using
26394 find_complex_function_ulps.
26395 (check_float_internal): Determine max ulps using find_test_ulps.
26396 (check_float): Do not take max_ulp parameter. Update call to
26397 check_float_internal.
26398 (check_complex): Likewise.
26399 (check_int): Do not take max_ulp parameter.
26400 (check_long): Likewise.
26401 (check_bool): Likewise.
26402 (check_longlong): Likewise.
26403 (struct test_f_f_data): Remove max_ulp field.
26404 (struct test_ff_f_data): Likewise.
26405 (struct test_ff_f_data_nexttoward): Likewise.
26406 (struct test_fi_f_data): Likewise.
26407 (struct test_fl_f_data): Likewise.
26408 (struct test_if_f_data): Likewise.
26409 (struct test_fff_f_data): Likewise.
26410 (struct test_c_f_data): Likewise.
26411 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26412 (struct test_fF_f1_data): Likewise.
26413 (struct test_ffI_f1_data): Likewise.
26414 (struct test_c_c_data): Remove max_ulp field.
26415 (struct test_cc_c_data): Likewise.
26416 (struct test_f_i_data): Likewise.
26417 (struct test_ff_i_data): Likewise.
26418 (struct test_f_l_data): Likewise.
26419 (struct test_f_L_data): Likewise.
26420 (struct test_sincos_data): Likewise.
26421 (RUN_TEST_f_f): Do not handle ulps.
26422 (RUN_TEST_LOOP_f_f): Likewise.
26423 (RUN_TEST_2_f): Likewise.
26424 (RUN_TEST_LOOP_2_f): Likewise.
26425 (RUN_TEST_fff_f): Likewise.
26426 (RUN_TEST_LOOP_fff_f): Likewise.
26427 (RUN_TEST_c_f): Likewise.
26428 (RUN_TEST_LOOP_c_f): Likewise.
26429 (RUN_TEST_f_f1): Likewise.
26430 (RUN_TEST_LOOP_f_f1): Likewise.
26431 (RUN_TEST_fF_f1): Likewise.
26432 (RUN_TEST_LOOP_fF_f1): Likewise.
26433 (RUN_TEST_fI_f1): Likewise.
26434 (RUN_TEST_LOOP_fI_f1): Likewise.
26435 (RUN_TEST_ffI_f1): Likewise.
26436 (RUN_TEST_LOOP_ffI_f1): Likewise.
26437 (RUN_TEST_c_c): Likewise.
26438 (RUN_TEST_LOOP_c_c): Likewise.
26439 (RUN_TEST_cc_c): Likewise.
26440 (RUN_TEST_LOOP_cc_c): Likewise.
26441 (RUN_TEST_f_i): Likewise.
26442 (RUN_TEST_LOOP_f_i): Likewise.
26443 (RUN_TEST_f_i_tg): Likewise.
26444 (RUN_TEST_LOOP_f_i_tg): Likewise.
26445 (RUN_TEST_ff_i_tg): Likewise.
26446 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26447 (RUN_TEST_f_b): Likewise.
26448 (RUN_TEST_LOOP_f_b): Likewise.
26449 (RUN_TEST_f_b_tg): Likewise.
26450 (RUN_TEST_LOOP_f_b_tg): Likewise.
26451 (RUN_TEST_f_l): Likewise.
26452 (RUN_TEST_LOOP_f_l): Likewise.
26453 (RUN_TEST_f_L): Likewise.
26454 (RUN_TEST_LOOP_f_L): Likewise.
26455 (RUN_TEST_sincos): Likewise.
26456 (RUN_TEST_LOOP_sincos): Likewise.
26457
8269107f
JM
264582013-05-17 Joseph Myers <joseph@codesourcery.com>
26459
bb38759d
JM
26460 [BZ #15480]
26461 [BZ #15485]
26462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26463 main case of finite arguments, set rounding mode to FE_TONEAREST
26464 and discard exceptions.
26465 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26466 exceptions.
26467 (remainder_tonearest_test_data): New variable.
26468 (remainder_test_tonearest): New function.
26469 (remainder_towardzero_test_data): New variable.
26470 (remainder_test_towardzero): New function.
26471 (remainder_downward_test_data): New variable.
26472 (remainder_test_downward): New function.
26473 (remainder_upward_test_data): New variable.
26474 (remainder_test_upward): New function.
26475 (main): Call the new test functions.
26476
a00bdcf0
JM
26477 * math/libm-test.inc (struct test_f_f1_data): Remove field
26478 extra_init.
26479 (struct test_fF_f1_data): Likewise.
26480 (struct test_ffI_f1_data): Likewise.
26481 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26482 based on value of EXTRA_EXPECTED.
26483 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26484 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26485 EXTRA_VAR based on value of EXTRA_EXPECTED.
26486 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26487 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26488 EXTRA_VAR based on value of EXTRA_EXPECTED.
26489 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26490 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26491 EXTRA_VAR based on value of EXTRA_EXPECTED.
26492 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26493 * math/gen-libm-test.pl (parse_args): Don't output initializers
26494 for extra output values.
26495
de407f79
JM
26496 * math/libm-test.inc (check_int): Expect result to be exactly
26497 equal to expected value and do not handle ulps.
26498 (check_long): Likewise.
26499 (check_longlong): Likewise.
26500
8269107f
JM
26501 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26502 exceptions.
26503 (cimag_test_data): Likewise.
26504 (conj_test_data): Likewise.
26505 (copysign_test_data): Likewise.
26506 (cproj_test_data): Likewise.
26507 (creal_test_data): Likewise.
26508 (fabs_test_data): Likewise.
26509 (fdim_test_data): Likewise.
26510 (finite_test_data): Likewise.
26511 (floor_test_data): Likewise.
26512 (fmax_test_data): Likewise.
26513 (fmin_test_data): Likewise.
26514 (fmod_test_data): Likewise.
26515 (fpclassify_test_data): Likewise.
26516 (frexp_test_data): Likewise.
26517 (ilogb_test_data): Likewise.
26518 (isfinite_test_data): Likewise.
26519 (isgreater_test_data): Likewise.
26520 (isgreaterequal_test_data): Likewise.
26521 (isinf_test_data): Likewise.
26522 (isless_test_data): Likewise.
26523 (islessequal_test_data): Likewise.
26524 (islessgreater_test_data): Likewise.
26525 (isnan_test_data): Likewise.
26526 (isnormal_test_data): Likewise.
26527 (issignaling_test_data): Likewise.
26528 (isunordered_test_data): Likewise.
26529 (ldexp_test_data): Likewise.
26530 (lrint_test_data): Likewise.
26531 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26532 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26533 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26534 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26535 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26536 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26537 test input.
26538 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26539 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26540 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26541 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26542 that test input.
26543 (lrint_downward_test_data): Test for "inexact" exceptions.
26544 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26545 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26546 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26547 test input.
26548 (lrint_upward_test_data): Test for "inexact" exceptions.
26549 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26550 test input.
26551 (llrint_test_data): Test for "inexact" exceptions.
26552 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26553 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26554 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26555 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26556 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26557 (llrint_downward_test_data): Test for "inexact" exceptions.
26558 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26559 (llrint_upward_test_data): Test for "inexact" exceptions.
26560 (logb_test_data): Likewise.
26561 (logb_downward_test_data): Likewise.
26562 (nextafter_test_data): Likewise.
26563 (nexttoward_test_data): Likewise.
26564 (remainder_test_data): Likewise.
26565 (remquo_test_data): Likewise.
26566 (scalbn_test_data): Likewise.
26567 (scalbln_test_data): Likewise.
26568 (signbit_test_data): Likewise.
26569 (sqrt_test_data): Likewise.
26570 (significand_test_data): Likewise.
26571
48a18de1
SP
265722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26573
26574 [BZ #15424]
26575 * benchtests/bench-modf.c (struct args): Mark arg0 as
26576 volatile.
26577 * scripts/bench.pl: Mark members of struct args as volatile.
26578
13d3b41a
AZ
265792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26580
68191c1d 26581 [BZ # 15497]
13d3b41a
AZ
26582 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26583 negative infinity on POWER6 or lower.
26584 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26585
2848b105
MR
265862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26587
26588 [BZ #15442]
26589 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26590 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26591 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26592 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26593 (_FP_SETQNAN): New macro.
26594 (_FP_SETQNAN_SEMIRAW): Likewise.
26595 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26596 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26597 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26598 (FP_EXTEND): Use _FP_FRAC_SNANP.
26599 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26600 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26601 into account.
26602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26603 New macro.
26604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26605 Likewise.
26606
323e5cb7
JM
266072013-05-16 Joseph Myers <joseph@codesourcery.com>
26608
c58b274f
JM
26609 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26610 with DIVIDE_BY_ZERO_EXCEPTION.
26611 (gamma_test_data): Likewise.
26612 (lgamma_test_data): Likewise.
26613 (log_test_data): Likewise.
26614 (log10_test_data): Likewise.
26615 (log2_test_data): Likewise.
26616 (tgamma_test_data): Likewise.
26617
0ab34904
JM
26618 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26619 (acos_test_tonearest): Likewise.
26620 (acos_test_towardzero): Likewise.
26621 (acos_test_downward): Likewise.
26622 (acos_test_upward): Likewise.
26623 (acosh_test): Likewise.
26624 (asin_test): Likewise.
26625 (asin_test_tonearest): Likewise.
26626 (asin_test_towardzero): Likewise.
26627 (asin_test_downward): Likewise.
26628 (asin_test_upward): Likewise.
26629 (asinh_test): Likewise.
26630 (atan_test): Likewise.
26631 (atanh_test): Likewise.
26632 (atan2_test): Likewise.
26633 (cabs_test): Likewise.
26634 (cacos_test): Likewise.
26635 (cacosh_test): Likewise.
26636 (casin_test): Likewise.
26637 (casinh_test): Likewise.
26638 (catan_test): Likewise.
26639 (catanh_test): Likewise.
26640 (cbrt_test): Likewise.
26641 (ccos_test): Likewise.
26642 (ccosh_test): Likewise.
26643 (cexp_test): Likewise.
26644 (clog_test): Likewise.
26645 (clog10_test): Likewise.
26646 (cos_test): Likewise.
26647 (cos_test_tonearest): Likewise.
26648 (cos_test_towardzero): Likewise.
26649 (cos_test_downward): Likewise.
26650 (cos_test_upward): Likewise.
26651 (cosh_test): Likewise.
26652 (cosh_test_tonearest): Likewise.
26653 (cosh_test_towardzero): Likewise.
26654 (cosh_test_downward): Likewise.
26655 (cosh_test_upward): Likewise.
26656 (cpow_test): Likewise.
26657 (csin_test): Likewise.
26658 (csinh_test): Likewise.
26659 (csqrt_test): Likewise.
26660 (ctan_test): Likewise.
26661 (ctan_test_tonearest): Likewise.
26662 (ctan_test_towardzero): Likewise.
26663 (ctan_test_downward): Likewise.
26664 (ctan_test_upward): Likewise.
26665 (ctanh_test): Likewise.
26666 (ctanh_test_tonearest): Likewise.
26667 (ctanh_test_towardzero): Likewise.
26668 (ctanh_test_downward): Likewise.
26669 (ctanh_test_upward): Likewise.
26670 (erf_test): Likewise.
26671 (erfc_test): Likewise.
26672 (exp_test): Likewise.
26673 (exp_test_tonearest): Likewise.
26674 (exp_test_towardzero): Likewise.
26675 (exp_test_downward): Likewise.
26676 (exp_test_upward): Likewise.
26677 (exp10_test): Likewise.
26678 (exp2_test): Likewise.
26679 (expm1_test): Likewise.
26680 (fmod_test): Likewise.
26681 (gamma_test): Likewise.
26682 (hypot_test): Likewise.
26683 (j0_test): Likewise.
26684 (j1_test): Likewise.
26685 (jn_test): Likewise.
26686 (lgamma_test): Likewise.
26687 (log_test): Likewise.
26688 (log10_test): Likewise.
26689 (log1p_test): Likewise.
26690 (log2_test): Likewise.
26691 (logb_test_downward): Likewise.
26692 (pow_test): Likewise.
26693 (pow_test_tonearest): Likewise.
26694 (pow_test_towardzero): Likewise.
26695 (pow_test_downward): Likewise.
26696 (pow_test_upward): Likewise.
26697 (remainder_test): Likewise.
26698 (remquo_test): Likewise.
26699 (sin_test): Likewise.
26700 (sin_test_tonearest): Likewise.
26701 (sin_test_towardzero): Likewise.
26702 (sin_test_downward): Likewise.
26703 (sin_test_upward): Likewise.
26704 (sincos_test): Likewise.
26705 (sinh_test): Likewise.
26706 (sinh_test_tonearest): Likewise.
26707 (sinh_test_towardzero): Likewise.
26708 (sinh_test_downward): Likewise.
26709 (sinh_test_upward): Likewise.
26710 (sqrt_test): Likewise.
26711 (tan_test): Likewise.
26712 (tan_test_tonearest): Likewise.
26713 (tan_test_towardzero): Likewise.
26714 (tan_test_downward): Likewise.
26715 (tan_test_upward): Likewise.
26716 (tanh_test): Likewise.
26717 (tgamma_test): Likewise.
26718 (y0_test): Likewise.
26719 (y1_test): Likewise.
26720 (yn_test): Likewise.
26721
323e5cb7
JM
26722 * math/gen-libm-test.pl (adjust_arg): Remove function.
26723 (special_function): Remove argument $in_func. Only handle
26724 generating output for tables of tests, not inside functions.
26725 (parse_args): Likewise.
26726 (generate_testfile): Remove variable $in_func. Update call to
26727 parse_args.
26728 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26729 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26730 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26731 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26732 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26733 (MAX_VALUE_INIT): Rename macro to max_value.
26734 (MIN_VALUE_INIT): Rename macro to min_value.
26735 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26736 (plus_zero): Remove variable.
26737 (minus_zero): Likewise.
26738 (plus_infty): Likewise.
26739 (minus_infty): Likewise.
26740 (qnan_value): Likewise.
26741 (max_value): Likewise.
26742 (min_value): Likewise.
26743 (min_subnorm_value): Likewise.
26744
e054f494
RA
267452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26746
26747 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26748 uint64_t or uint32_t usage.
26749 * crypt/sha256-block.c: Likewise.
26750 * crypt/sha256-crypt.c: Likewise.
26751 * crypt/sha256.c: Likewise.
26752 * crypt/sha512-block.c: Likewise.
26753 * crypt/sha512-crypt.c: Likewise.
26754 * crypt/sha512.c: Likewise.
26755 * debug/backtrace-tst.c: Likewise.
26756 * debug/pcprofiledump.c: Likewise.
26757 * elf/cache.c: Likewise.
26758 * elf/dl-cache.c: Likewise.
26759 * elf/dl-misc.c: Likewise.
26760 * elf/dl-profile.c: Likewise.
26761 * elf/dl-support.c: Likewise.
26762 * elf/ldconfig.c: Likewise.
26763 * elf/sprof.c: Likewise.
26764 * iconv/dummy-repertoire.c: Likewise.
26765 * iconv/iconv_charmap.c: Likewise.
26766 * iconv/skeleton.c: Likewise.
26767 * iconvdata/8bit-generic.c: Likewise.
26768 * iconvdata/cp737.h: Likewise.
26769 * iconvdata/cp775.h: Likewise.
26770 * iconvdata/ibm1008.h: Likewise.
26771 * iconvdata/ibm1025.h: Likewise.
26772 * iconvdata/ibm1046.h: Likewise.
26773 * iconvdata/ibm1097.h: Likewise.
26774 * iconvdata/ibm1112.h: Likewise.
26775 * iconvdata/ibm1122.h: Likewise.
26776 * iconvdata/ibm1123.h: Likewise.
26777 * iconvdata/ibm1124.h: Likewise.
26778 * iconvdata/ibm1129.h: Likewise.
26779 * iconvdata/ibm1130.h: Likewise.
26780 * iconvdata/ibm1132.h: Likewise.
26781 * iconvdata/ibm1133.h: Likewise.
26782 * iconvdata/ibm1137.h: Likewise.
26783 * iconvdata/ibm1140.h: Likewise.
26784 * iconvdata/ibm1141.h: Likewise.
26785 * iconvdata/ibm1142.h: Likewise.
26786 * iconvdata/ibm1143.h: Likewise.
26787 * iconvdata/ibm1144.h: Likewise.
26788 * iconvdata/ibm1145.h: Likewise.
26789 * iconvdata/ibm1146.h: Likewise.
26790 * iconvdata/ibm1147.h: Likewise.
26791 * iconvdata/ibm1148.h: Likewise.
26792 * iconvdata/ibm1149.h: Likewise.
26793 * iconvdata/ibm1153.h: Likewise.
26794 * iconvdata/ibm1154.h: Likewise.
26795 * iconvdata/ibm1155.h: Likewise.
26796 * iconvdata/ibm1156.h: Likewise.
26797 * iconvdata/ibm1157.h: Likewise.
26798 * iconvdata/ibm1158.h: Likewise.
26799 * iconvdata/ibm1160.h: Likewise.
26800 * iconvdata/ibm1161.h: Likewise.
26801 * iconvdata/ibm1162.h: Likewise.
26802 * iconvdata/ibm1163.h: Likewise.
26803 * iconvdata/ibm1164.h: Likewise.
26804 * iconvdata/ibm1166.h: Likewise.
26805 * iconvdata/ibm1167.h: Likewise.
26806 * iconvdata/ibm12712.h: Likewise.
26807 * iconvdata/ibm1390.h: Likewise.
26808 * iconvdata/ibm1399.h: Likewise.
26809 * iconvdata/ibm16804.h: Likewise.
26810 * iconvdata/ibm4517.h: Likewise.
26811 * iconvdata/ibm4899.h: Likewise.
26812 * iconvdata/ibm4909.h: Likewise.
26813 * iconvdata/ibm4971.h: Likewise.
26814 * iconvdata/ibm5347.h: Likewise.
26815 * iconvdata/ibm803.h: Likewise.
26816 * iconvdata/ibm856.h: Likewise.
26817 * iconvdata/ibm901.h: Likewise.
26818 * iconvdata/ibm902.h: Likewise.
26819 * iconvdata/ibm9030.h: Likewise.
26820 * iconvdata/ibm9066.h: Likewise.
26821 * iconvdata/ibm921.h: Likewise.
26822 * iconvdata/ibm922.h: Likewise.
26823 * iconvdata/ibm9448.h: Likewise.
26824 * iconvdata/isiri-3342.h: Likewise.
26825 * iconvdata/jis0201.h: Likewise.
26826 * include/link.h: Likewise.
26827 * include/netdb.h: Likewise.
26828 * inet/check_native.c: Likewise.
26829 * inet/check_pf.c: Likewise.
26830 * inet/getipv4sourcefilter.c: Likewise.
26831 * inet/getnameinfo.c: Likewise.
26832 * inet/getsourcefilter.c: Likewise.
26833 * inet/htonl.c: Likewise.
26834 * inet/setipv4sourcefilter.c: Likewise.
26835 * inet/setsourcefilter.c: Likewise.
26836 * inet/test-inet6_opt.c: Likewise.
26837 * inet/tst-network.c: Likewise.
26838 * locale/C-collate.c: Likewise.
26839 * locale/C-ctype.c: Likewise.
26840 * locale/C-time.c: Likewise.
26841 * locale/C-translit.h: Likewise.
26842 * locale/loadarchive.c: Likewise.
26843 * locale/programs/3level.h: Likewise.
26844 * locale/programs/charmap.c: Likewise.
26845 * locale/programs/charmap.h: Likewise.
26846 * locale/programs/ld-address.c: Likewise.
26847 * locale/programs/ld-collate.c: Likewise.
26848 * locale/programs/ld-ctype.c: Likewise.
26849 * locale/programs/ld-identification.c: Likewise.
26850 * locale/programs/ld-measurement.c: Likewise.
26851 * locale/programs/ld-messages.c: Likewise.
26852 * locale/programs/ld-monetary.c: Likewise.
26853 * locale/programs/ld-name.c: Likewise.
26854 * locale/programs/ld-numeric.c: Likewise.
26855 * locale/programs/ld-paper.c: Likewise.
26856 * locale/programs/ld-telephone.c: Likewise.
26857 * locale/programs/ld-time.c: Likewise.
26858 * locale/programs/linereader.c: Likewise.
26859 * locale/programs/locale.c: Likewise.
26860 * locale/programs/locarchive.c: Likewise.
26861 * locale/programs/locfile.h: Likewise.
26862 * locale/programs/repertoire.c: Likewise.
26863 * locale/programs/simple-hash.c: Likewise.
26864 * locale/programs/simple-hash.h: Likewise.
26865 * malloc/memusage.c: Likewise.
26866 * malloc/memusagestat.c: Likewise.
26867 * nis/nis_defaults.c: Likewise.
26868 * nis/nis_hash.c: Likewise.
26869 * nis/nis_print.c: Likewise.
26870 * nis/nis_xdr.c: Likewise.
26871 * nscd/connections.c: Likewise.
26872 * nscd/hstcache.c: Likewise.
26873 * nscd/nscd_gethst_r.c: Likewise.
26874 * nscd/nscd_getserv_r.c: Likewise.
26875 * nscd/nscd_helper.c: Likewise.
26876 * nscd/servicescache.c: Likewise.
26877 * nss/makedb.c: Likewise.
26878 * nss/nss_db/db-XXX.c: Likewise.
26879 * nss/nss_db/db-initgroups.c: Likewise.
26880 * nss/nss_db/db-netgrp.c: Likewise.
26881 * nss/nss_files/files-network.c: Likewise.
26882 * nss/nss_files/files-parse.c: Likewise.
26883 * posix/bug-regex5.c: Likewise.
26884 * posix/fnmatch_loop.c: Likewise.
26885 * posix/regcomp.c: Likewise.
26886 * posix/regexec.c: Likewise.
26887 * posix/tst-rfc3484-2.c: Likewise.
26888 * posix/tst-rfc3484-3.c: Likewise.
26889 * posix/tst-rfc3484.c: Likewise.
26890 * resolv/nss_dns/dns-canon.c: Likewise.
26891 * resolv/nss_dns/dns-network.c: Likewise.
26892 * resolv/res_init.c: Likewise.
26893 * resolv/res_mkquery.c: Likewise.
26894 * resolv/tst-aton.c: Likewise.
26895 * stdlib/cxa_atexit.c: Likewise.
26896 * stdlib/cxa_finalize.c: Likewise.
26897 * stdlib/gen-fpioconst.c: Likewise.
26898 * stdlib/strtol_l.c: Likewise.
26899 * string/tst-endian.c: Likewise.
26900 * sunrpc/auth_des.c: Likewise.
26901 * sunrpc/clnt_udp.c: Likewise.
26902 * sunrpc/rtime.c: Likewise.
26903 * sunrpc/svcauth_des.c: Likewise.
26904 * sunrpc/xdr.c: Likewise.
26905 * sunrpc/xdr_intXX_t.c: Likewise.
26906 * sunrpc/xdr_rec.c: Likewise.
26907 * sysdeps/generic/ldconfig.h: Likewise.
26908 * sysdeps/generic/ldsodefs.h: Likewise.
26909 * sysdeps/generic/memusage.h: Likewise.
26910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26920 * sysdeps/posix/getaddrinfo.c: Likewise.
26921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26923 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26924 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26925 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26926 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26927 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26928 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26929 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26933 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26936 * sysdeps/x86_64/dl-tls.h: Likewise.
26937 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26938 * time/alt_digit.c: Likewise.
26939 * time/era.c: Likewise.
26940 * wcsmbs/tst-c16c32-1.c: Likewise.
26941
8c75f674
JM
269422013-05-16 Joseph Myers <joseph@codesourcery.com>
26943
26944 * math/libm-test.inc (struct test_sincos_data): New type.
26945 (RUN_TEST_LOOP_sincos): New macro.
26946 (sincos_test_data): New variable.
26947 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26948
e6e49e59
RH
269492013-05-16 Richard Henderson <rth@redhat.com>
26950
26951 * math/atest-exp2.c (LIMB64): New macro.
26952 (CONSTSZ): New macro.
26953 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26954 (hexdig): Move ...
26955 (print_mpn_fp): ... to function scope.
26956 (read_mpn_hex): Remove.
26957 (get_log2): Remove.
26958 (exp2_mpn): Use mp_log2.
26959 (main): Use mp_exp1.
26960
15c7c18d
JM
269612013-05-16 Joseph Myers <joseph@codesourcery.com>
26962
105a07df
JM
26963 * math/libm-test.inc: Remove comment about not testing "inexact"
26964 exceptions.
26965 (INEXACT_EXCEPTION): New macro.
26966 (NO_INEXACT_EXCEPTION): Likewise.
26967 (INVALID_EXCEPTION_OK): Update value.
26968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26969 (OVERFLOW_EXCEPTION_OK): Likewise.
26970 (UNDERFLOW_EXCEPTION_OK): Likewise.
26971 (IGNORE_ZERO_INF_SIGN): Likewise.
26972 (ERRNO_UNCHANGED): Likewise.
26973 (ERRNO_EDOM): Likewise.
26974 (ERRNO_ERANGE): Likewise.
26975 (test_exceptions): Handle testing "inexact" exceptions.
26976 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26977 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26978 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26979 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26980 INEXACT_EXCEPTION.
26981 (rint_towardzero_test_data): Likewise.
26982 (rint_downward_test_data): Likewise.
26983 (rint_upward_test_data): Likewise.
26984
e9eee333
JM
26985 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26986 with OVERFLOW_EXCEPTION.
26987 (exp10_test_data): Likewise.
26988 (exp2_test_data): Likewise.
26989 (expm1_test_data): Likewise.
26990 (lgamma_test_data): Likewise.
26991 (pow_test_data): Likewise.
26992 (tgamma_test_data): Likewise.
26993 (yn_test_data): Remove duplicate test of overflow.
26994
1c38ff73
JM
26995 * math/libm-test.inc (struct test_cc_c_data): New type.
26996 (RUN_TEST_LOOP_cc_c): New macro.
26997 (cpow_test_data): New variable.
26998 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26999
15c7c18d
JM
27000 * math/libm-test.inc (struct test_f_L_data): New type.
27001 (RUN_TEST_LOOP_f_L): New macro.
27002 (llrint_test_data): New variable.
27003 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27004 (llrint_tonearest_test_data): New variable.
27005 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27006 (llrint_towardzero_test_data): New variable.
27007 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27008 (llrint_downward_test_data): New variable.
27009 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27010 (llrint_upward_test_data): New variable.
27011 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27012 (llround_test_data): New variable.
27013 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27014
f137ff13
PC
270152013-05-13 Peter Collingbourne <pcc@google.com>
27016
27017 * math/atest-exp2.c (get_log2): Remove const attribute.
27018
3608cb24
JM
270192013-05-15 Joseph Myers <joseph@codesourcery.com>
27020
27021 * math/libm-test.inc (struct test_f_l_data): New type.
27022 (RUN_TEST_LOOP_f_l): New macro.
27023 (lrint_test_data): New variable.
27024 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27025 (lrint_tonearest_test_data): New variable.
27026 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27027 (lrint_towardzero_test_data): New variable.
27028 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27029 (lrint_downward_test_data): New variable.
27030 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27031 (lrint_upward_test_data): New variable.
27032 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27033 (lround_test_data): New variable.
27034 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27035
39b1f617
PC
270362013-05-15 Peter Collingbourne <pcc@google.com>
27037
1deff3dc
PC
27038 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27039 (EXTRACT_WORDS64) Use where appropriate.
27040 (INSERT_WORDS64) Likewise.
27041
791f3ba0
PC
27042 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27043 constraints with x constraints.
27044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27045
39b1f617
PC
27046 * malloc/obstack.c (_obstack_compat): Add initializer.
27047
12fba011
EM
270482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27049
27050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27051 si_trapno and add si_addr_lsb to _sifields.sigfault.
27052 (si_trapno): Remove macro.
27053 (si_addr_lsb): Define new macro.
27054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27055
d369f531
JM
270562013-05-15 Joseph Myers <joseph@codesourcery.com>
27057
b861c6c4
JM
27058 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27059 instead of TEST_f_l.
27060 (llrint_test_tonearest): Likewise.
27061 (llrint_test_towardzero): Likewise.
27062 (llrint_test_downward): Likewise.
27063 (llrint_test_upward): Likewise.
27064 (llround_test): Likewise.
27065
7abeee12
JM
27066 * math/libm-test.inc (struct test_f_i_data): Add comment.
27067 (RUN_TEST_LOOP_f_b): New macro.
27068 (RUN_TEST_LOOP_f_b_tg): Likewise.
27069 (finite_test_data): New variable.
27070 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27071 (isfinite_test_data): New variable.
27072 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27073 (isinf_test_data): New variable.
27074 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27075 (isnan_test_data): New variable.
27076 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27077 (isnormal_test_data): New variable.
27078 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27079 (issignaling_test_data): New variable.
27080 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27081 (signbit_test_data): New variable.
27082 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27083
cbe8c4d3
JM
27084 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27085 with INVALID_EXCEPTION.
27086 (acosh_test_data): Likewise.
27087 (asin_test_data): Likewise.
27088 (atanh_test_data): Likewise.
27089 (fmod_test_data): Likewise.
27090 (log_test_data): Likewise.
27091 (log10_test_data): Likewise.
27092 (log2_test_data): Likewise.
27093 (pow_test_data): Likewise.
27094 (sqrt_test_data): Likewise.
27095 (y0_test_data): Likewise.
27096 (y1_test_data): Likewise.
27097 (yn_test_data): Likewise.
27098
5575c0e5
JM
27099 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27100 function contents.
27101
d369f531
JM
27102 * math/libm-test.inc (struct test_ff_i_data): New type.
27103 (RUN_TEST_LOOP_ff_i_tg): New macro.
27104 (isgreater_test_data): New variable.
27105 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27106 (isgreaterequal_test_data): New variable.
27107 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27108 (isless_test_data): New variable.
27109 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27110 (islessequal_test_data): New variable.
27111 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27112 (islessgreater_test_data): New variable.
27113 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27114 (isunordered_test_data): New variable.
27115 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27116
781fd748
DM
271172013-05-14 David S. Miller <davem@davemloft.net>
27118
27119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27120
87aa21df
JM
271212013-05-14 Joseph Myers <joseph@codesourcery.com>
27122
5e908270
JM
27123 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27124
f71172e5
JM
27125 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27126 extra_test to int.
27127 (struct test_f_i_data): Change type of max_ulp to int.
27128
8cfa635a
JM
27129 * math/libm-test.inc (test_ffI_f1_data): New type.
27130 (RUN_TEST_LOOP_ffI_f1): New macro.
27131 (remquo_test_data): New variable.
27132 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27133
2bcb36b2
JM
27134 * setjmp/tst-setjmp-fp.c: New file.
27135 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27136 (link-libm): New variable.
27137 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27138
acbd839a
JM
27139 * math/libm-test.inc (struct test_f_i_data): New type.
27140 (RUN_TEST_LOOP_f_i): New macro.
27141 (RUN_TEST_LOOP_f_i_tg): Likewise.
27142 (fpclassify_test_data): New variable.
27143 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27144 (ilogb_test_data): New variable.
27145 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27146
e414d745
JM
27147 * math/libm-test.inc (scalbln_test): Correct function name in END
27148 call.
27149
d9c2a0fd
JM
27150 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27151 (RUN_TEST_LOOP_fI_f1): New macro.
27152 (frexp_test_data): New variable.
27153 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27154
9dc9095d
JM
27155 * math/libm-test.inc (struct test_fF_f1_data): New type.
27156 (RUN_TEST_LOOP_fF_f1): New macro.
27157 (modf_test_data): New variable.
27158 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27159
87aa21df
JM
27160 * math/libm-test.inc (struct test_f_f1_data): New type.
27161 (RUN_TEST_LOOP_f_f1): New macro.
27162 (gamma_test_data): New variable.
27163 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27164 (lgamma_test_data): New variable.
27165 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27166
141af660
CD
271672013-05-13 Carlos O'Donell <carlos@redhat.com>
27168
27169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27170 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27171 (main): Comment "tls" pseudo-hwcap.
27172
6d33265c
JM
271732013-05-13 Joseph Myers <joseph@codesourcery.com>
27174
68fc074c
JM
27175 * math/libm-test.inc (struct test_fl_f_data): New type.
27176 (RUN_TEST_LOOP_fl_f): New variable.
27177 (scalbln_test_data): New variable.
27178 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27179
243216e1
JM
27180 * math/libm-test.inc (struct test_fi_f_data): New type.
27181 (RUN_TEST_LOOP_fi_f): New macro.
27182 (ldexp_test_data): New variable.
27183 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27184 (scalbn_test_data): New variable.
27185 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27186
6a1992e2
JM
27187 * math/libm-test.inc (struct test_c_f_data): New type.
27188 (RUN_TEST_LOOP_c_f): New macro.
27189 (cabs_test_data): New variable.
27190 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27191 (carg_test_data): New variable.
27192 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27193 (cimag_test_data): New variable.
27194 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27195 (creal_test_data): New variable.
27196 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27197
0e400df5
JM
27198 * math/libm-test.inc (struct test_if_f_data): New type.
27199 (RUN_TEST_LOOP_if_f): New macro.
27200 (jn_test_data): New variable.
27201 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27202 (yn_test_data): New variable.
27203 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27204
6d33265c
JM
27205 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27206
f98ece5f
AZ
272072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27208
27209 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27210 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27211
0f7d347b
SP
272122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27213
43fe811b
SP
27214 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27215 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27216 (bench-deps): Add bench-timing.h.
27217 * benchtests-bench-skeleton.c: Include bench-timing.h.
27218 (main): Use TIMING_* macros instead of clock_gettime.
27219 * benchtests/bench-timing.h: New file.
27220
0f7d347b
SP
27221 [BZ #14582]
27222 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27223 Renamed from _LIB_VERSION.
27224 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27225
601a3a5f
JM
272262013-05-12 Joseph Myers <joseph@codesourcery.com>
27227
4f184d30
JM
27228 * math/libm-test.inc (struct test_fff_f_data): New type.
27229 (RUN_TEST_LOOP_fff_f): New macro.
27230 (fma_test_data): New variable.
27231 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27232 (fma_towardzero_test_data): New variable.
27233 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27234 (fma_downward_test_data): New variable.
27235 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27236 (fma_upward_test_data): New variable.
27237 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27238
08198877
JM
27239 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27240 (struct test_c_c_data): New type.
27241 (RUN_TEST_LOOP_c_c): New macro.
27242 (cacos_test_data): New variable.
27243 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27244 (cacosh_test_data): New variable.
27245 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27246 (casin_test_data): New variable.
27247 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27248 (casinh_test_data): New variable.
27249 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27250 (catan_test_data): New variable.
27251 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27252 (catanh_test_data): New variable.
27253 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27254 (ccos_test_data): New variable.
27255 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27256 (ccosh_test_data): New variable.
27257 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27258 (cexp_test_data): New variable.
27259 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27260 (clog_test_data): New variable.
27261 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27262 (clog10_test_data): New variable.
27263 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27264 (conj_test_data): New variable.
27265 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27266 (cproj_test_data): New variable.
27267 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27268 (csin_test_data): New variable.
27269 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27270 (csinh_test_data): New variable.
27271 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27272 (csqrt_test_data): New variable.
27273 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27274 (ctan_test_data): New variable.
27275 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27276 (ctan_tonearest_test_data): New variable.
27277 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27278 (ctan_towardzero_test_data): New variable.
27279 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27280 (ctan_downward_test_data): New variable.
27281 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27282 (ctan_upward_test_data): New variable.
27283 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27284 (ctanh_test_data): New variable.
27285 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27286 (ctanh_tonearest_test_data): New variable.
27287 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27288 (ctanh_towardzero_test_data): New variable.
27289 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27290 (ctanh_downward_test_data): New variable.
27291 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27292 (ctanh_upward_test_data): New variable.
27293 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27294 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27295 of BUILD_COMPLEX.
27296
601a3a5f
JM
27297 * math/libm-test.inc (struct test_ff_f_data): New type.
27298 (struct test_ff_f_data_nexttoward): Likewise.
27299 (RUN_TEST_LOOP_2_f): New macro.
27300 (RUN_TEST_LOOP_ff_f): Likewise.
27301 (atan2_test_data): New variable.
27302 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27303 (copysign_test_data): New variable.
27304 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27305 (fdim_test_data): New variable.
27306 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27307 (fmax_test_data): New variable.
27308 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27309 (fmin_test_data): New variable.
27310 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27311 (fmod_test_data): New variable.
27312 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27313 (hypot_test_data): New variable.
27314 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27315 (nextafter_test_data): New variable.
27316 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27317 (nexttoward_test_data): New variable.
27318 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27319 (pow_test_data): New variable.
27320 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27321 (pow_tonearest_test_data): New variable.
27322 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27323 (pow_towardzero_test_data): New variable.
27324 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27325 (pow_downward_test_data): New variable.
27326 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27327 (pow_upward_test_data): New variable.
27328 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27329 (remainder_test_data): New variable.
27330 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27331 (scalb_test_data): New variable.
27332 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27333 * sysdeps/i386/fpu/libm-test-ulps: Update.
27334
74c57478
JM
273352013-05-11 Joseph Myers <joseph@codesourcery.com>
27336
8329e4da
JM
27337 * math/libm-test.inc (fma_test): Use max_value instead of local
27338 variable fltmax.
27339 (nextafter_test): Likewise.
27340
74c57478
JM
27341 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27342 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27343 (acos_downward_test_data): New variable.
27344 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27345 (acos_upward_test_data): New variable.
27346 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27347 (acosh_test_data): New variable.
27348 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27349 (asin_test_data): New variable.
27350 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27351 (asin_tonearest_test_data): New variable.
27352 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27353 (asin_towardzero_test_data): New variable.
27354 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27355 (asin_downward_test_data): New variable.
27356 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27357 (asin_upward_test_data): New variable.
27358 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27359 (asinh_test_data): New variable.
27360 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27361 (atan_test_data): New variable.
27362 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27363 (atanh_test_data): New variable.
27364 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27365 (cbrt_test_data): New variable.
27366 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27367 (ceil_test_data): New variable.
27368 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27369 (cos_test_data): New variable.
27370 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27371 (cos_tonearest_test_data): New variable.
27372 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27373 (cos_towardzero_test_data): New variable.
27374 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27375 (cos_downward_test_data): New variable.
27376 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27377 (cos_upward_test_data): New variable.
27378 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27379 (cosh_test_data): New variable.
27380 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27381 (cosh_tonearest_test_data): New variable.
27382 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27383 (cosh_towardzero_test_data): New variable.
27384 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27385 (cosh_downward_test_data): New variable.
27386 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27387 (cosh_upward_test_data): New variable.
27388 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27389 (erf_test_data): New variable.
27390 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27391 (erfc_test_data): New variable.
27392 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27393 (exp_test_data): New variable.
27394 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27395 (exp_tonearest_test_data): New variable.
27396 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27397 (exp_towardzero_test_data): New variable.
27398 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27399 (exp_downward_test_data): New variable.
27400 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27401 (exp_upward_test_data): New variable.
27402 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27403 (exp10_test_data): New variable.
27404 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27405 (exp2_test_data): New variable.
27406 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27407 (expm1_test_data): New variable.
27408 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27409 (fabs_test_data): New variable.
27410 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27411 (floor_test_data): New variable.
27412 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27413 (j0_test_data): New variable.
27414 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27415 (j1_test_data): New variable.
27416 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27417 (log_test_data): New variable.
27418 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27419 (log10_test_data): New variable.
27420 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27421 (log1p_test_data): New variable.
27422 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27423 (log2_test_data): New variable.
27424 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27425 (logb_test_data): New variable.
27426 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27427 (logb_downward_test_data): New variable.
27428 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27429 (nearbyint_test_data): New variable.
27430 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27431 (rint_test_data): New variable.
27432 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27433 (rint_tonearest_test_data): New variable.
27434 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27435 (rint_towardzero_test_data): New variable.
27436 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27437 (rint_downward_test_data): New variable.
27438 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27439 (rint_upward_test_data): New variable.
27440 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27441 (round_test_data): New variable.
27442 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27443 (sin_test_data): New variable.
27444 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27445 (sin_tonearest_test_data): New variable.
27446 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27447 (sin_towardzero_test_data): New variable.
27448 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27449 (sin_downward_test_data): New variable.
27450 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27451 (sin_upward_test_data): New variable.
27452 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27453 (sinh_test_data): New variable.
27454 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27455 (sinh_tonearest_test_data): New variable.
27456 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27457 (sinh_towardzero_test_data): New variable.
27458 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27459 (sinh_downward_test_data): New variable.
27460 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27461 (sinh_upward_test_data): New variable.
27462 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27463 (sqrt_test_data): New variable.
27464 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27465 (tan_test_data): New variable.
27466 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27467 (tan_tonearest_test_data): New variable.
27468 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27469 (tan_towardzero_test_data): New variable.
27470 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27471 (tan_downward_test_data): New variable.
27472 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27473 (tan_upward_test_data): New variable.
27474 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27475 (tanh_test_data): New variable.
27476 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27477 (tgamma_test_data): New variable.
27478 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27479 (trunc_test_data): New variable.
27480 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27481 (y0_test_data): New variable.
27482 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27483 (y1_test_data): New variable.
27484 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27485 (significand_test_data): New variable.
27486 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27487
7187d844
CG
274882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27489
27490 [BZ #12387]
27491 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27492
f63fae73
PT
274932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27494
27495 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27496
8a67a4b3
AJ
274972013-05-10 Andreas Jaeger <aj@suse.de>
27498
27499 [BZ #15448]
27500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27501 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27502
51df539d
JM
275032013-05-10 Joseph Myers <joseph@codesourcery.com>
27504
27505 * math/gen-libm-test.pl (adjust_arg): New function.
27506 (special_functions): Handle generating output in both functions
27507 and arrays.
27508 (parse_args): Likewise.
27509 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27510 $in_func argument to parse_args.
27511 * math/libm-test.inc (struct test_f_f_data): New type.
27512 (IF_ROUND_INIT_): New macro.
27513 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27517 (ROUND_RESTORE_): Likewise.
27518 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27519 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27520 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27521 (ROUND_RESTORE_FE_UPWARD): Likewise.
27522 (RUN_TEST_LOOP_f_f): New macro.
27523 (acos_test_data): New variable.
27524 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27525 (acos_tonearest_test_data): New variable.
27526 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27527
5c637fe5
SP
275282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27529
27530 * benchtests/bench-skeleton.c (startup): Fix coding style.
27531
ab2b9461
JM
275322013-05-10 Joseph Myers <joseph@codesourcery.com>
27533
27534 [BZ #6809]
27535 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27536 negative infinity argument.
27537 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27538 negative infinity argument.
27539 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27540 negative infinity argument.
27541 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27542 domain errors.
27543
4c0fe6fe
FW
275442013-05-10 Florian Weimer <fweimer@redhat.com>
27545
27546 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27547 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27548 * iconv/iconv_prog.c (main): Likewise.
27549 * locale/programs/charmap-dir.c (charmap_readdir)
27550 (fopen_uncompressed): Likewise.
27551 * locale/programs/locfile.c (siblings_uncached)
27552 (write_locale_data): Use lstat64 instead of lstat.
27553 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27554 stat.
27555
a3375d29
AJ
275562013-05-10 Andreas Jaeger <aj@suse.de>
27557
27558 [BZ #15395]
27559 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27560 localization.
27561 Include <locale.h>.
27562
36129722
CD
275632013-05-09 Carlos O'Donell <carlos@redhat.com>
27564
27565 * elf/dl-close.c (_dl_close_worker): Add comments.
27566
faa7f811
JM
275672013-05-09 Joseph Myers <joseph@codesourcery.com>
27568
ed41ffef
JM
27569 [BZ #15359]
27570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27571 high part of pi/2.
27572 (__ieee754_rem_pio2l): Update comments.
27573
d0213cd0
JM
27574 [BZ #15429]
27575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27576 high part of pi/2.
27577 (__ieee754_rem_pio2l): Update comments.
27578
0d3e777a
JM
27579 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27580 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27581
24f56066
JM
27582 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27583 M_PI_4l.
27584
faa7f811
JM
27585 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27586 (M_PI_34_LOG10El): Likewise.
27587 (M_PI2_LOG10El): Likewise.
27588 (M_PI4_LOG10El): Likewise.
27589 (M_PI_LOG10El): Likewise.
27590
e9a5e0fd
AZ
275912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27592
27593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27594
d8cd06db
JM
275952013-05-08 Joseph Myers <joseph@codesourcery.com>
27596
a0d9f9d7
JM
27597 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27598 (MINUS_ZERO_INIT): Likewise.
27599 (PLUS_INFTY_INIT): Likewise.
27600 (MINUS_INFTY_INIT): Likewise.
27601 (QNAN_VALUE_INIT): Likewise.
27602 (MAX_VALUE_INIT): Likewise.
27603 (MIN_VALUE_INIT): Likewise.
27604 (MIN_SUBNORM_VALUE_INIT): Likewise.
27605 (plus_zero): Initialize with PLUS_ZERO_INIT.
27606 (minus_zero): Initialize with MINUS_ZERO_INIT.
27607 (plus_infty): Initialize with PLUS_INFTY_INIT.
27608 (minus_infty): Initialize with MINUS_INFTY_INIT.
27609 (qnan_value): Initialize with QNAN_VALUE_INIT.
27610 (max_value): Initialize with MAX_VALUE_INIT.
27611 (min_value): Initialize with MIN_VALUE_INIT.
27612 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27613
ae08db3b
JM
27614 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27615 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27616 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27617 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27618
f44bf14a
JM
27619 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27620 (RUN_TEST_2_f): Likewise.
27621 (RUN_TEST_ff_f): Likewise.
27622 (RUN_TEST_fi_f): Likewise.
27623 (RUN_TEST_fl_f): Likewise.
27624 (RUN_TEST_fff_f): Likewise.
27625 (RUN_TEST_c_f): Likewise.
27626 (RUN_TEST_f_f1): Likewise.
27627 (RUN_TEST_fF_f1): Likewise.
27628 (RUN_TEST_fI_f1): Likewise.
27629 (RUN_TEST_ffI_f1): Likewise.
27630 (RUN_TEST_c_c): Likewise.
27631 (RUN_TEST_cc_c): Likewise.
27632 (RUN_TEST_f_i): Likewise.
27633 (RUN_TEST_f_i_tg): Likewise.
27634 (RUN_TEST_ff_i_tg): Likewise.
27635 (RUN_TEST_f_b): Likewise.
27636 (RUN_TEST_f_b_tg): Likewise.
27637 (RUN_TEST_f_l): Likewise.
27638 (RUN_TEST_f_L): Likewise.
27639 (RUN_TEST_sincos): Likewise.
27640 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27641 whether to show exceptions. Do not include ");\n" in return
27642 value.
27643 (special_functions): Output call to RUN_TEST_sincos instead of
27644 check_float calls. Update calls to new_test.
27645 (parse_args): Output call to single RUN_TEST_* macro instead of
27646 check_* calls and other assignments. Update calls to new_test.
27647
d8cd06db
JM
27648 [BZ #2546]
27649 [BZ #2560]
27650 [BZ #5159]
27651 [BZ #15426]
27652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27653 input to result for tgamma overflow.
27654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27655 (gamma_coeff): New variable.
27656 (NCOEFF): New macro.
27657 (gamma_positive): New function.
27658 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27659 underflow here. Use gamma_positive instead of exp (lgamma) for
27660 other arguments.
27661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27662 (gamma_coeff): New variable.
27663 (NCOEFF): New macro.
27664 (gammaf_positive): New function.
27665 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27666 underflow here. Use gamma_positive instead of exp (lgamma) for
27667 other arguments.
27668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27669 (gamma_coeff): New variable.
27670 (NCOEFF): New macro.
27671 (gammal_positive): New function.
27672 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27673 underflow here. Use gamma_positive instead of exp (lgamma) for
27674 other arguments.
27675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27676 (gamma_coeff): New variable.
27677 (NCOEFF): New macro.
27678 (gammal_positive): New function.
27679 (__ieee754_gammal_r): Handle positive infinity, overflow and
27680 underflow here. Handle NaN the same as positive infinity. Remove
27681 check x < 0xffffffff for negative integers. Use gamma_positive
27682 instead of exp (lgamma) for other arguments.
27683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27684 (gamma_coeff): New variable.
27685 (NCOEFF): New macro.
27686 (gammal_positive): New function.
27687 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27688 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27693 * sysdeps/generic/math_private.h (__gamma_productf): New
27694 prototype.
27695 (__gamma_product): Likewise.
27696 (__gamma_productl): Likewise.
27697 * math/Makefile (libm-calls): Add gamma_product.
27698 * math/libm-test.inc (tgamma_test): Add more tests.
27699 * sysdeps/i386/fpu/libm-test-ulps: Update.
27700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27701
bb7cf681
OB
277022013-05-08 Ondřej Bílka <neleai@seznam.cz>
27703
27704 * benchtests/bench-skeleton.c (main): Preheat CPU.
27705
ba853947
AJ
277062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27707
27708 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27709
8347c74c
RM
277102013-05-07 Roland McGrath <roland@hack.frob.com>
27711
27712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27713 and _dl_skip_args_internal.
27714
e8dd4791
CD
277152013-05-07 Carlos O'Donell <carlos@redhat.com>
27716
27717 * manual/message.texi (Message Translation): Talk about users.
27718 Message to key mapping impacts design.
27719
c7405830
RM
277202013-05-06 Roland McGrath <roland@hack.frob.com>
27721
a9173057
RM
27722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27723
976e2f03
RM
27724 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27725
9723ffc5
RM
27726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27727 * sysdeps/wordsize-64/glob64.c: ... here.
27728
962e6658
RM
27729 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27730 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27731 New macros.
27732
ee586a6d
RM
27733 * debug/getlogin_r_chk.c: Moved to ...
27734 * login/getlogin_r_chk.c: ... here.
27735 * debug/Makefile (routines): Move getlogin_r_chk to ...
27736 * login/Makefile (routines): ... here.
27737 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27738 * login/Versions (libc: GLIBC_2.4): ... here.
27739
355f9165
RM
27740 * io/poll.c (__poll): Renamed from poll.
27741 Add libc_hidden_def.
27742 (poll): Define as weak alias.
27743
bd9ffde6
RM
27744 * debug/ptsname_r_chk.c: Moved to ...
27745 * login/ptsname_r_chk.c: ... here.
27746 * debug/Makefile (routines): Move ptsname_r_chk to ...
27747 * login/Makefile (routines): ... here.
27748 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27749 * login/Versions (libc: GLIBC_2.4): ... here.
27750
8fb16a04
RM
27751 * posix/getlogin.c: Moved to ...
27752 * login/getlogin.c: ... here.
27753 * posix/getlogin_r.c: Moved to ...
27754 * login/getlogin_r.c: ... here.
27755 * posix/getlogin_r.c: Moved to ...
27756 * login/getlogin_r.c: ... here.
27757 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27758 * login/Makefile (routines): ... here.
27759 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27760 * login/Versions (libc: GLIBC_2.0): ... here.
27761
b99b892f
RM
27762 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27763 (setrlimit): Define as weak alias.
27764
c7405830
RM
27765 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27766 Call __ names for open, ftruncate, and close.
27767 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27768 (truncate): Define as weak alias.
27769
5bf96de5
JM
277702013-05-06 Joseph Myers <joseph@codesourcery.com>
27771
9ea3513c
JM
27772 * math/gen-libm-test.pl (parse_args): Initialize x before each
27773 test of frexp, modf and remquo.
27774
5bf96de5
JM
27775 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27776 test signgam value.
27777
16e616a7
AZ
277782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27779
27780 [BZ #15418]
27781 [BZ #15419]
27782 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27783 internal tests.
27784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27785
d5e82754
RM
277862013-05-06 Roland McGrath <roland@hack.frob.com>
27787
27788 * elf/dl-writev.h: New file.
27789 * elf/dl-misc.c: Include it.
27790 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27791 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27792
a7548d41
JM
277932013-05-04 Joseph Myers <joseph@codesourcery.com>
27794
b7dab1e4
JM
27795 * math/libm-test.inc (noXFails): Remove variable.
27796 (noXPasses): Likewise.
27797 (BUILD_COMPLEX_INT): Remove macro.
27798 (print_screen): Remove xfail argument.
27799 (print_screen_max_error): Likewise.
27800 (update_stats): Likewise.
27801 (print_max_error): Likewise. Update calls to other affected
27802 functions.
27803 (print_complex_max_error): Likewise.
27804 (test_single_exception): Update calls to print_screen.
27805 (test_single_errno): Likewise.
27806 (check_float_internal): Remove xfail argument. Update calls to
27807 other affected functions.
27808 (check_float): Likewise.
27809 (check_complex): Likewise.
27810 (check_int): Likewise.
27811 (check_long): Likewise.
27812 (check_bool): Likewise.
27813 (check_longlong): Likewise.
27814 (main): Don't print noXFails and noXPasses.
27815 * math/gen-libm-test.pl (top level): Don't mention expected
27816 failure handling in comment.
27817 (new_test): Don't handle expected failures.
27818 (parse_args): Don't mention expected failure handling in comment.
27819 (generate_testfile): Don't handle expected failures.
27820 (parse_ulps): Likewise.
27821 (print_ulps_file): Likewise.
27822 (get_failure): Remove function.
27823 (output_test): Don't handle expected failures.
27824 * make/README.libm-test: Don't mention expected failure handling.
27825
a7548d41
JM
27826 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27827 (minus_zero): Likewise.
27828 (plus_infty): Likewise.
27829 (minus_infty): Likewise.
27830 (qnan_value): Likewise.
27831 (max_value): Likewise.
27832 (min_value): Likewise.
27833 (min_subnorm_value): Likewise.
27834 (initialize): Do not initialize those variables dynamically.
27835
60bfd54c
RM
278362013-05-03 Roland McGrath <roland@hack.frob.com>
27837
cc0e6ed8
RM
27838 * io/open.c (__open_2): Moved to ...
27839 * io/open_2.c: ... this new file.
27840 * io/open64.c (__open64_2): Moved to ...
27841 * io/open64_2.c: ... this new file.
27842 * io/openat.c (__openat_2): Moved to ...
27843 * io/openat_2.c: ... this new file.
27844 * io/openat64.c (__openat64_2): Moved to ...
27845 * io/openat64_2.c: ... this new file.
27846 * io/Makefile (routines): Add them.
27847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27848 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27849 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27850 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27851 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27852 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27853 (__openat64): Add hidden_ver.
27854 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27855 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27856
60bfd54c
RM
27857 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27858 Separately conditionalize setting of GLRO(dl_sysinfo) so
27859 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27860 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27861
83e7640f
AZ
278622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27863
27864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27866 definition.
27867 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27868 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27869 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27870 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27871 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27872
d5dc2af3
JM
278732013-05-03 Joseph Myers <joseph@codesourcery.com>
27874
c31a5b1e
JM
27875 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27876 test signgam value.
27877
d5dc2af3
JM
27878 * math/libm-test.inc (hypot_test): Do not use
27879 IGNORE_ZERO_INF_SIGN.
27880
164fd39d
AJ
278812013-05-03 Andreas Jaeger <aj@suse.de>
27882
27883 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27884 Linux 3.9.
27885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27886 (PF_MAX): Adjust for VSOCK change.
27887
8237f48c
AZ
278882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27889
27890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27891
9df02941
CD
278922013-05-02 Carlos O'Donell <carlos@redhat.com>
27893
27894 [BZ #15264]
27895 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27896 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27897 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27898
d422395e
DM
278992013-05-02 David S. Miller <davem@davemloft.net>
27900
27901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27902
a07c5731
OB
279032013-05-01 Ondřej Bílka <neleai@seznam.cz>
27904
27905 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27906
1324e37f
RM
279072013-05-01 Roland McGrath <roland@hack.frob.com>
27908
27909 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27910
0695940b
RS
279112013-05-01 Richard Smith <richard@metafoo.co.uk>
27912
bb5f27ad 27913 [BZ #14952]
0695940b
RS
27914 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27915 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27916 Use __attribute__ ((__gnu_inline__)).
27917 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27918 Don't use __attribute__ ((__gnu_inline__)).
27919
10de07f5
JM
279202013-05-01 Joseph Myers <joseph@codesourcery.com>
27921
27922 [BZ #15423]
27923 * math/s_catan.c (__catan): Handle small real or imaginary part of
27924 input specially to avoid spurious underflow.
27925 * math/s_catanf.c (__catanf): Likewise.
27926 * math/s_catanh.c (__catanh): Likewise.
27927 * math/s_catanhf.c (__catanhf): Likewise.
27928 * math/s_catanhl.c (__catanhl): Likewise.
27929 * math/s_catanl.c (__catanl): Likewise.
27930 * math/libm-test.inc (catan_test): Add more tests.
27931 (catanh_test): Likewise.
27932 * sysdeps/i386/fpu/libm-test-ulps: Update.
27933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27934
cb4d5414
AZ
279352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27936
27937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27938
caf84319
JM
279392013-04-30 Joseph Myers <joseph@codesourcery.com>
27940
27941 [BZ #15416]
27942 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27943 accurately for denominator in atan2.
27944 * math/s_catanf.c (__catanf): Likewise.
27945 * math/s_catanh.c (__catanh): Likewise.
27946 * math/s_catanhf.c (__catanhf): Likewise.
27947 * math/s_catanhl.c (__catanhl): Likewise.
27948 * math/s_catanl.c (__catanl): Likewise.
27949 * math/libm-test.inc (catan_test): Add more tests.
27950 (catanh_test): Likewise.
27951 * sysdeps/i386/fpu/libm-test-ulps: Update.
27952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953
d569c6ee
SP
279542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27955
6dbe713d
SP
27956 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27957
f0ee064b
SP
27958 * benchtests/Makefile (bench): Remove slow benchmarks.
27959 * benchtests/atan-inputs: Add slow benchmark inputs.
27960 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27961 (BENCH_FUNC): Accept variant offset.
27962 (VARIANT): Define.
27963 * benchtests/bench-skeleton.c (main): Run benchmark for each
27964 variant.
27965 * benchtests/cos-inputs: Add slow benchmark inputs.
27966 * benchtests/exp-inputs: Likewise.
27967 * benchtests/pow-inputs: Likewise.
27968 * benchtests/sin-inputs: Likewise.
27969 * benchtests/slowatan-inputs: Remove.
27970 * benchtests/slowatan.c: Remove.
27971 * benchtests/slowcos-inputs: Remove.
27972 * benchtests/slowcos.c: Remove.
27973 * benchtests/slowexp-inputs: Remove.
27974 * benchtests/slowexp.c: Remove.
27975 * benchtests/slowpow-inputs: Remove.
27976 * benchtests/slowpow.c: Remove.
27977 * benchtests/slowsin-inputs: Remove.
27978 * benchtests/slowsin.c: Remove.
27979 * benchtests/slowtan-inputs: Remove.
27980 * benchtests/slowtan.c: Remove.
27981 * benchtests/tan-inputs: Add slow benchmark inputs.
27982 * scripts/bench.pl: Parse comments and directives.
27983
d569c6ee
SP
27984 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27985 in CPPFLAGS.
27986 ($(objpfx)bench-%.c): Remove *-ITER.
27987 * benchtests/bench-modf.c: Remove definition of ITER.
27988 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27989 (main): Loop for DURATION seconds instead of fixed number of
27990 iterations.
27991 * scripts/bench.pl: Don't expect iterations in parameters.
27992
a6a242fe
RM
279932013-04-29 Roland McGrath <roland@hack.frob.com>
27994
27995 * io/fchdir.c (__fchdir): Renamed from fchdir.
27996 (fchdir): Define as weak alias.
27997
f2da7793
JM
279982013-04-29 Joseph Myers <joseph@codesourcery.com>
27999
28000 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28001 (ERRNO_EDOM): Likewise.
28002 (ERRNO_ERANGE): Likewise.
28003 (noErrnoTests): New variable.
28004 (init_max_error): Set errno to 0.
28005 (test_single_errno): New function.
28006 (test_errno): Likewise.
28007 (check_float_internal): Call test_errno. Set errno to 0.
28008 (check_complex): Refer to errno tests in comment.
28009 (check_int): Call test_errno. Set errno to 0.
28010 (check_long): Likewise.
28011 (check_bool): Likewise.
28012 (check_longlong): Likewise.
28013 (cos_test): Use ERRNO_* flags for errno tests instead of
28014 check_int.
28015 (expm1_test): Likewise.
28016 (fmod_test): Likewise.
28017 (ilogb_test): Likewise.
28018 (lgamma_test): Likewise.
28019 (pow_test): Likewise.
28020 (remainder_test): Likewise.
28021 (sin_test): Likewise.
28022 (tan_test): Likewise.
28023 (yn_test): Likewise.
28024 (initialize): Set errno to 0.
28025 (main): Print number of errno tests.
28026 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28027
b1a36ceb
AJ
280282013-04-29 Andreas Jaeger <aj@suse.de>
28029
c3ed8088
AJ
28030 [BZ #15084]
28031 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28032 and RES_USEVC.
28033
f1a24198
AJ
28034 [BZ #15085]
28035 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28036 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28037 unimplemented.
28038
9ce3b2cb
AJ
28039 [BZ #15380]
28040 * stdlib/random.c (__initstate): Return NULL if
28041 __initstate fails.
28042
f1a24198 28043 [BZ #15086]
b1a36ceb
AJ
28044 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28045 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28046 RES_SNGLKUPREOP.
28047
7e7b6f36
AZ
280482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28049
28050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28051
4d14f449
JM
280522013-04-29 Joseph Myers <joseph@codesourcery.com>
28053
28054 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28055 of individual tests.
28056 (casin_test): Likewise.
28057 (casinh_test): Likewise.
28058
5b4217d7
JM
280592013-04-27 Joseph Myers <joseph@codesourcery.com>
28060
28061 [BZ #15409]
28062 * math/s_catan.c (__catan): Handle arguments with large real or
28063 imaginary part separately without squaring.
28064 * math/s_catanf.c (__catanf): Likewise.
28065 * math/s_catanh.c (__catanh): Likewise.
28066 * math/s_catanhf.c (__catanhf): Likewise.
28067 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28068 and redefine.
28069 (__catanhl): Handle arguments with large real or imaginary part
28070 separately without squaring.
28071 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28072 and redefine.
28073 (__catanl): Handle arguments with large real or imaginary part
28074 separately without squaring.
28075 * math/libm-test.inc (catan_test): Add more tests.
28076 (catanh_test): Likewise.
28077 * sysdeps/i386/fpu/libm-test-ulps: Update.
28078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28079
4220c3ef
AJ
280802013-04-27 Andreas Jaeger <aj@suse.de>
28081
28082 [BZ #15007]
28083 * stdlib/stdlib.h: Update guards for qecvt.
28084 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28085 <stdlib.h>.
28086
4721b2d1
AM
280872013-04-27 Allan McRae <allan@archlinux.org>
28088
28089 * sysdeps/i386/fpu/libm-test-ulps: Update.
28090
f0302940
JM
280912013-04-26 Joseph Myers <joseph@codesourcery.com>
28092
9457fd95
JM
28093 [BZ #15406]
28094 * math/s_catan.c: Include <float.h>.
28095 (__catan): Ensure underflow exception occurs for underflowed
28096 result.
28097 * math/s_catanf.c: Include <float.h>.
28098 (__catanf): Ensure underflow exception occurs for underflowed
28099 result.
28100 * math/s_catanh.c: Include <float.h>.
28101 (__catanh): Ensure underflow exception occurs for underflowed
28102 result.
28103 * math/s_catanhf.c: Include <float.h>.
28104 (__catanhf): Ensure underflow exception occurs for underflowed
28105 result.
28106 * math/s_catanhl.c: Include <float.h>.
28107 (__catanhl): Ensure underflow exception occurs for underflowed
28108 result.
28109 * math/s_catanl.c: Include <float.h>.
28110 (__catanl): Ensure underflow exception occurs for underflowed
28111 result.
28112 * math/libm-test.inc (catan_test): Add more tests.
28113 (catanh_test): Likewise.
28114
f0302940
JM
28115 [BZ #15405]
28116 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28117 underflowed result.
28118 * math/s_ccoshf.c (__ccoshf): Likewise.
28119 * math/s_ccoshl.c (__ccoshl): Likewise.
28120 * math/s_csin.c (__csin): Likewise.
28121 * math/s_csinf.c (__csinf): Likewise.
28122 * math/s_csinh.c (__csinh): Likewise.
28123 * math/s_csinhf.c (__csinhf): Likewise.
28124 * math/s_csinhl.c (__csinhl): Likewise.
28125 * math/s_csinl.c (__csinl): Likewise.
28126 * math/libm-test.inc (ccos_test): Add more tests.
28127 (ccosh_test): Likewise.
28128 (csin_test): Likewise.
28129 (csinh_test): Likewise.
28130
aa630f59
AZ
281312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28132
28133 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28134 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28135 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28136 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28137 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28138 powerpc/power5+/fpu folders.
28139 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28140
28141
1b835983
MT
281422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28143
28144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28145
73709b26
JM
281462013-04-25 Joseph Myers <joseph@codesourcery.com>
28147
28148 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28149 additions to variable.
28150 [$(config-machine) = x86_64] (modules-names): Likewise.
28151 ($(objpfx)tst-audit3): Remove dependency.
28152 ($(objpfx)tst-audit3.out): Likewise.
28153 ($(objpfx)tst-audit4): Likewise.
28154 ($(objpfx)tst-audit4.out): Likewise.
28155 ($(objpfx)tst-audit5): Likewise.
28156 ($(objpfx)tst-audit5.out): Likewise.
28157 ($(objpfx)tst-audit6): Likewise.
28158 ($(objpfx)tst-audit6.out): Likewise.
28159 ($(objpfx)tst-audit7): Likewise.
28160 ($(objpfx)tst-audit7.out): Likewise.
28161 (tst-audit3-ENV): Remove variable.
28162 (tst-audit4-ENV): Likewise.
28163 (tst-audit5-ENV): Likewise.
28164 (tst-audit6-ENV): Likewise.
28165 (tst-audit7-ENV): Likewise.
28166 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28167 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28168 addition to variable.
28169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28174 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28175 tst-audit3, tst-audit4 and tst-audit5.
28176 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28177 tst-audit6 and tst-audit7.
28178 [$(subdir) = elf] (modules-names): Add audit modules for those
28179 tests.
28180 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28181 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28182 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28183 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28184 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28185 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28186 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28187 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28188 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28189 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28190 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28191 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28192 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28193 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28194 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28195 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28196 Likewise.
28197 [$(subdir) = elf && $(config-cflags-avx) = yes]
28198 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28199 [$(subdir) = elf && $(config-cflags-avx) = yes]
28200 (CFLAGS-tst-auditmod4a.c): Likewise.
28201 [$(subdir) = elf && $(config-cflags-avx) = yes]
28202 (CFLAGS-tst-auditmod4b.c): Likewise.
28203 [$(subdir) = elf && $(config-cflags-avx) = yes]
28204 (CFLAGS-tst-auditmod6b.c): Likewise.
28205 [$(subdir) = elf && $(config-cflags-avx) = yes]
28206 (CFLAGS-tst-auditmod6c.c): Likewise.
28207 [$(subdir) = elf && $(config-cflags-avx) = yes]
28208 (CFLAGS-tst-auditmod7b.c): Likewise.
28209 * elf/tst-audit3.c: Move to ...
28210 * sysdeps/x86_64/tst-audit3.c: ... here.
28211 * elf/tst-audit4.c: Move to ...
28212 * sysdeps/x86_64/tst-audit4.c: ... here.
28213 * elf/tst-audit5.c: Move to ...
28214 * sysdeps/x86_64/tst-audit5.c: ... here.
28215 * elf/tst-audit6.c: Move to ...
28216 * sysdeps/x86_64/tst-audit6.c: ... here.
28217 * elf/tst-audit7.c: Move to ...
28218 * sysdeps/x86_64/tst-audit7.c: ... here.
28219 * elf/tst-auditmod3a.c: Move to ...
28220 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28221 * elf/tst-auditmod3b.c: Move to ...
28222 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28223 * elf/tst-auditmod4a.c: Move to ...
28224 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28225 * elf/tst-auditmod4b.c: Move to ...
28226 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28227 * elf/tst-auditmod5a.c: Move to ...
28228 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28229 * elf/tst-auditmod5b.c: Move to ...
28230 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28231 * elf/tst-auditmod6a.c: Move to ...
28232 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28233 * elf/tst-auditmod6b.c: Move to ...
28234 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28235 * elf/tst-auditmod6c.c: Move to ...
28236 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28237 * elf/tst-auditmod7a.c: Move to ...
28238 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28239 * elf/tst-auditmod7b.c: Move to ...
28240 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28241
1ef74943
PP
282422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28243
28244 [BZ #15366]
28245 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28246 define unconditionally.
28247 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28248 define unconditionally.
28249 (INT8_C, INT16_C, etc.): Likewise.
28250
93fd48c5
MR
282512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28252
ae9552cf
MR
28253 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28254 __ehdr_start with hidden visibility.
28255
93fd48c5
MR
28256 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28257
418601aa
CD
282582013-04-24 Carlos O'Donell <carlos@redhat.com>
28259
28260 * math/libm-test.inc (cos_test): Use accurate hex constants.
28261 (sincost_test): Likewise.
28262
2f38fbfe
JM
282632013-04-24 Joseph Myers <joseph@codesourcery.com>
28264
5e221800
JM
28265 * math/libm-test.inc (catan_test): Add more tests.
28266 (catanh_test): Likewise.
28267
77f143fd
JM
28268 * math/s_catanf.c (__catanf): Use suffixed floating-point
28269 constants.
28270 * math/s_catanhf.c (__catanhf): Likewise.
28271 * math/s_catanhl.c (__catanhl): Likewise.
28272 * math/s_catanl.c (__catanl): Likewise.
28273
2f38fbfe
JM
28274 [BZ #15394]
28275 * math/s_catan.c (__catan): Calculate imaginary part of result
28276 with log1p not log unless computing log of number close to 0.
28277 * math/s_catanf.c (__catanf): Likewise.
28278 * math/s_catanl.c (__catanl): Likewise.
28279 * math/s_catanh.c (__catanh): Calculate real part of result with
28280 log1p not log unless computing log of number close to 0.
28281 * math/s_catanhf.c (__catanhf): Likewise.
28282 * math/s_catanhl.c (__catanhl): Likewise.
28283 * math/libm-test.inc (catan_test): Add more tests.
28284 (catanh_test): Likewise.
28285 * sysdeps/i386/fpu/libm-test-ulps: Update.
28286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28287
45d69176
SP
282882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28289
28290 * benchtests/Makefile: Mention files in which fast and slow
28291 paths of math functions are implemented.
28292
87f51853
RM
282932013-04-23 Roland McGrath <roland@hack.frob.com>
28294
28295 * sysdeps/posix/timespec_get.c: New file.
28296
3c026539
AZ
282972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28298
28299 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28300 POWER.
28301 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28302 for POWER.
28303 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28304 powerpc/power5/fpu folders.
28305 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28306 * benchtests/Makefile: Add modf testcase.
28307 * benchtests/bench-modf.c: New file: Benchmark test for mo
28308
ff491d14
SP
283092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28310
28311 [BZ #14888]
28312 * time/Makefile (tests): Add tst-strptime-whitespace.
28313 * time/strptime_l.c (get_number): Use ISSPACE.
28314 (__strptime_internal): Likewise.
28315 * time/tst-strptime-whitespace.c: New test case.
28316
7ed3f4e8
AS
283172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28318
28319 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28320 member.
28321 (_nss_files_init): Set it here.
28322
5c95f7b6
HC
283232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28324
28325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28326 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28327 unsigned.
28328
d34c9158
JBG
283292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28330
28331 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28332
2169712d
SP
283332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28334
28335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28336 size just once.
28337
29c5de99
DM
283382013-04-21 David S. Miller <davem@davemloft.net>
28339
28340 * po/ru.po: Update Russion translation from translation project.
28341
ccdad15d
AC
283422013-04-17 Adam Conrad <adconrad@0c3.net>
28343
28344 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28345 and setfsgid.
28346
0f122b8d
CD
283472013-04-17 Carlos O'Donell <carlos@redhat.com>
28348
5c5b07da 28349 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28350 * configure: Regenerate.
5c5b07da 28351 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28352 Add example to error message.
28353 * sysdeps/i386/configure: Regenerate.
28354
037714dd
SP
283552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28356
28357 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28358 slowtan.
28359 * benchtests/cos-inputs: New file.
28360 * benchtests/slowcos-inputs: New file.
28361 * benchtests/slowcos.c: New file.
28362 * benchtests/slowtan-inputs: New file.
28363 * benchtests/slowtan.c: New file.
28364 * benchtests/tan-inputs: New file.
28365
e913141d
RM
283662013-04-16 Roland McGrath <roland@hack.frob.com>
28367
28368 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28369 considered kosher.
28370
a2964074
SP
283712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28372
4856bcd2
SP
28373 * benchtests/Makefile: Include cppflags-iterator.mk to add
28374 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28375
a2964074
SP
28376 * Makefile.in (bench-clean): New target.
28377 * benchtests/Makefile (bench-clean): Likewise.
28378
9fbf9aca
DH
283792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28380
28381 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28382
207d1e2a
TS
283832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28384
28385 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28386
306dfba9
AS
283872013-04-15 Andreas Schwab <schwab@suse.de>
28388
28389 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28391 * nscd/pwdcache.c (cache_addpw): Likewise.
28392 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28393 more than recsize.
28394
206a6699
SP
283952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28396
28397 * benchtests/Makefile (bench): Write all output to
28398 bench-out.tmp together.
28399
0582f6b3
AS
284002013-04-15 Andreas Schwab <schwab@suse.de>
28401
28402 * nscd/nscd.c (main): Don't fork again after closing files.
28403
acb4325f
SP
284042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28405
5cb26d0a
SP
28406 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28407
acb4325f
SP
28408 * benchtests/Rules (bench-deps): Collect dependencies into a
28409 single variable. Add Makefile to dependencies.
28410 ($(objpfx)bench-%.c): Depend on bench-deps.
28411
47792506
RM
284122013-04-12 Roland McGrath <roland@hack.frob.com>
28413 Xavier Roche <roche+kml2@exalead.com>
28414
28415 [BZ #15361]
28416 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28417 just that it's a file descriptor.
28418 * manual/llio.texi (Synchronizing AIO Operations): Update description
28419 for EBADF error from aio_fsync.
28420
8fc1bee5
SP
284212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28422
28423 * Rules (bench): Move target definition...
28424 * benchtests/Makefile: ... here.
28425
aba5e333
CD
284262013-04-11 Carlos O'Donell <carlos@redhat.com>
28427
28428 * math/libm-test.inc (cos_test): Fix PI/2 test.
28429 (sincos_test): Likewise.
28430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28431 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28432
273cdee8
AS
284332013-04-11 Andreas Schwab <schwab@suse.de>
28434
6ecec3b6
AS
28435 [BZ #13988]
28436 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28437 accept exponent character only when digits were seen.
28438 * stdio-common/Makefile (tests): Add bug26.
28439 * stdio-common/bug26.c: New file.
28440
273cdee8
AS
28441 [BZ #14293]
28442 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28443 non-freeable.
28444
8da491f5
SP
284452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28446
01dc6df9
SP
28447 * Makeconfig (rtld-prefix): Define built linker prefix.
28448 * Rules (run-bench): Use it.
28449 * math/Makefile (run-regen-ulps): Likewise.
28450
8da491f5
SP
28451 * Rules (bench): Remove eval.
28452
abe7f530
SP
284532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28454 Roland McGrath <roland@hack.frob.com>
28455 Ondrej Bilka <neleai@seznam.cz>
28456
28457 [BZ #15346]
28458 * time/getdate.c: Include ctype.h and alloca.h.
28459 (__getdate_r): Trim leading and trailing spaces of input.
28460 * time/tst-getdate.c (tests): Add tests with leading and
28461 trailing spaces.
28462
61c23e62
RM
284632013-04-08 Roland McGrath <roland@hack.frob.com>
28464
28465 [BZ #14280]
28466 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28467 when computing value.
28468
7208a313
CD
284692013-04-06 Carlos O'Donell <carlos@redhat.com>
28470
085b2d41
CD
28471 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28472 Use testrun.sh to run libm tests.
28473
7208a313
CD
28474 [BZ #15309]
28475 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28476
872c0acd
MM
284772013-04-06 Marko Myllynen <myllynen@redhat.com>
28478
28479 [BZ #15264]
28480 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28481
26510bdd
CD
284822013-04-06 Carlos O'Donell <carlos@redhat.com>
28483
28484 * Makefile.in (regen-ulps): New target.
28485 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28486 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28487 [ifneq (no,$(PERL)] (regen-ulps): New target.
28488 [ifeq (no,$(PERL)] (regen-ulps): New target.
28489 * math/libm-test.inc (ulps_file_name): Define.
28490 (output_dir): New variable.
28491 (options): Add "output-dir" option.
28492 (parse_opt): Handle 'o' case.
28493 (main): If output_dir is non-NULL use it as a prefix
28494 otherwise use "".
28495 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28496
a01f19c8
CD
284972013-04-06 Carlos O'Donell <carlos@redhat.com>
28498
28499 [BZ #10060, #10062]
28500 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28501 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28502 fail configure if __sync_val_compare_and_swap is not inlined.
28503 * sysdeps/i386/configure: Regenerate.
28504 * configure.in: Build for i686 when configured for i386.
28505 * configure: Regenerate.
28506 * README: Remove i386 reference.
28507
b7a329a5
CD
285082013-04-06 Carlos O'Donell <carlos@redhat.com>
28509
28510 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28512
bf0f50df
TS
285132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28514
ee091edf
TS
28515 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28516 (lmsnanval): New variables.
28517 (F): Add conversion tests.
28518 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28519 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28520
a8b792d6
TS
28521 * stdio-common/tstdiomisc.c (F): Properly collect individual
28522 tests' results.
28523
a1cbf437
TS
28524 [BZ #14686, #15336]
28525 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28526 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28527 Instead, use input NaN values or generate a qNaN by arithmetic
28528 operation. Also fix bugs to comply with the standard.
28529 * math/libm-test.inc (remainder_test): Add more tests.
28530
8b43a0c9
TS
28531 [BZ #15335, #15342]
28532 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28534 input NaN values or generate a qNaN by arithmetic operation.
28535
d91da4ce
TS
28536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28537 unreachable code.
28538
bf0f50df
TS
28539 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28540 definitions.
28541
05e166c8
JM
285422013-04-03 Joseph Myers <joseph@codesourcery.com>
28543
28544 [BZ #14478]
28545 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28546 underflowed result.
28547 * math/s_cexpf.c (__cexpf): Likewise.
28548 * math/s_cexpl.c (__cexpl): Likewise.
28549 * math/libm-test.inc (cexp_test): Add more tests.
28550
1cef1b19
AS
285512013-04-03 Andreas Schwab <schwab@suse.de>
28552
28553 [BZ #15330]
28554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28555 order arrays from heap if bigger than alloca cutoff.
28556
74d87055
TS
285572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28558
28559 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28560 (SNAN_TESTS_double): Refer to GCC PR56831.
28561 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28562 GCC PR56828.
28563
d755bba4
SP
285642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28565
90d5d5bb
SP
28566 * Rules (bench): Move bench.out after the run is complete.
28567
73e0cd5d
SP
28568 * Rules (bench): Echo currently running benchmark.
28569
64aabd4b
SP
28570 * benchtests/Makefile (bench): Add atan and slowatan.
28571 * benchtests/atan-inputs: New file.
28572 * benchtests/slowatan-inputs: New file.
28573 * benchtests/slowatan.c: New file.
28574
c871eccd
SP
28575 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28577 its value.
28578
d755bba4
SP
28579 [BZ #15305]
28580 * sysdeps/unix/sysv/linux/kernel-features.h
28581 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28582 __ASSUME_XFS_RESTRICTED_CHOWN.
28583 * sysdeps/unix/sysv/linux/pathconf.c
28584 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28585 Save and restore errno.
28586
52ce4860
JM
285872013-04-02 Joseph Myers <joseph@codesourcery.com>
28588
28589 [BZ #15327]
28590 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28591 arguments using __kernel_casinh.
28592 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28593 arguments using __kernel_casinhf.
28594 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28595 arguments using __kernel_casinhl.
28596 * math/libm-test.inc (cacosh_test): Add more tests.
28597 * sysdeps/i386/fpu/libm-test-ulps: Update.
28598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28599
81f311c2
SP
286002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28601
e7906a47
SP
28602 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28604
92e3664b
SP
28605 * bench/Makefile (bench): Add sin and slowsin.
28606 * benchtests/sin-inputs: New file.
28607 * benchtests/slowsin-inputs: New file.
28608 * benchtests/slowsin.c: New file.
28609
81f311c2
SP
28610 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28611 (bench): Add slowexp and slowpow.
28612 (exp-ITER): Increase iterations.
28613 (pow-ITER): Likewise.
28614 * benchtests/exp-inputs: Change input.
28615 * benchtests/pow-inputs: Likewise.
28616 * benchtests/slowexp-inputs: New file.
28617 * benchtests/slowexp.c: New file.
28618 * benchtests/slowpow-inputs: New file.
28619 * benchtests/slowpow.c: New file.
28620
ab0f1aa9
AZ
286212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28622
28623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28624 instructions.
28625 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28628 * benchtests/Makefile: Add rint benchtest.
28629 * benchtests/rint-inputs: Input for rint benchtest.
28630
57267616
TS
286312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28632
28633 * Versions.def (libm): Add GLIBC_2.18.
28634 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28635 hidden libm prototypes.
28636 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28637 * math/Makefile (libm-calls): Add s_issignaling.
28638 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28639 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28640 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28641 declaration.
28642 * math/math.h [__USE_GNU] (issignaling): New macro.
28643 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28644 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28646 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28649 * manual/arith.texi (issignaling): New section.
28650 * manual/libm-err-tab.pl (@all_functions): Update comment.
28651 * math/gen-libm-test.pl (parse_args): Apply special handling for
28652 issignaling.
28653 * math/libm-test.inc (print_float, issignaling_test): New
28654 functions.
28655 (check_float_internal): Add issignaling checks.
28656 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28657 default definition.
28658 * sysdeps/powerpc/math-tests.h: New file.
28659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28660 tests.
28661 * math/test-snan.c (TEST_FUNC): Likewise.
28662
6142896d
DM
286632013-03-30 David S. Miller <davem@davemloft.net>
28664
28665 * po/de.po: Update from translation team.
28666
ccc8cadf
JM
286672013-03-30 Joseph Myers <joseph@codesourcery.com>
28668
28669 [BZ #10357]
28670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28671 imaginary part less than 1.0 and real part less than 0.5
28672 specially.
28673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28676 (cacos_test): Add more tests.
28677 (casin_test): Likewise.
28678 (casinh_test): Likewise.
28679 * sysdeps/i386/fpu/libm-test-ulps: Update.
28680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681
0f6a8d4b
SP
286822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28683
0d1029de
SP
28684 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28685 ONE with its value.
28686
c2d94018
SP
28687 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28688 (__pow_mp): Replace ONE and MONE with their values.
28689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28692 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28695
27ec37f1
SP
28696 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28697
a64d7e0e
SP
28698 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28699 (__pow_mp): Replace ZERO and MZERO with their values.
28700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28705 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28706 (__sqr): Likewise.
28707
d26dd3eb
SP
28708 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28709
0f6a8d4b
SP
28710 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28711
e57b0c61
RM
287122013-03-28 Roland McGrath <roland@hack.frob.com>
28713
28714 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28715 Declare with __attribute__ ((weak)).
28716 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28717 Call __call_tls_dtors only if it's not NULL.
28718
356b3480
RM
287192013-03-28 Roland McGrath <roland@hack.frob.com>
28720
288f7d79
RM
28721 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28722 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28723 magic __ehdr_start linker symbol if it's defined.
28724 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28725 them up here if it was already done.
28726
dc0a0263
RM
28727 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28728 (_dl_aux_init): Use const in cast when setting it.
28729 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28730 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28731 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28732
3d3436ae
RM
28733 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28734 Declare them here.
28735 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28736 * csu/libc-tls.c: Nor here.
28737 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28738
356b3480
RM
28739 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28740 (__libc_message): Never call vsyslog.
28741
b0f1246a
AM
287422013-03-28 Alan Modra <amodra@gmail.com>
28743
28744 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28745 Define as empty.
28746 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28747 Likewise.
28748
fbbe2b9a
AZ
287492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28750
28751 [BZ #15214]
28752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28753 underflow.
28754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28755
1728ab37
SP
287562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28757
7a86be6e
SP
28758 [BZ #15304]
28759 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28760 Don't add gid passed as argument.
28761
1728ab37
SP
28762 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28763
3a7182a1
JM
287642013-03-27 Joseph Myers <joseph@codesourcery.com>
28765
28766 [BZ #15307]
28767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28768 imaginary part between 1.0 and 1.5 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 (cacos_test): Add more tests.
28773 (casin_test): Likewise.
28774 (casinh_test): Likewise.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update.
28776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777
6f2e90e7
SP
287782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28779
5739f705
SP
28780 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28781 constants.
28782 (norm): Likewise.
28783 (denorm): Likewise.
28784 (__dbl_mp): Likewise.
28785 (add_magnitudes): Likewise.
28786 (sub_magnitudes): Likewise.
28787 (__add): Likewise.
28788 (__sub): Likewise.
28789 (__mul): Likewise.
28790 (__sqr): Likewise.
28791 (__inv): Likewise.
28792 (__dvd): Likewise.
28793
e375e83d
SP
28794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28795 commented code.
28796 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28797 (__dubcos): Likewise.
28798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28799 (__ieee754_acos): Likewise.
28800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28802 (__exp1): Likewise.
28803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28805 (log1): Likewise.
28806 (my_log2): Likewise.
28807 (checkint): Likewise.
28808 * sysdeps/ieee754/dbl-64/e_remainder.c
28809 (__ieee754_remainder): Likewise.
28810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28812 (bsloww): Likewise.
28813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28814
6f2e90e7
SP
28815 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28817 MANTISSA_STORE_T to store computations on mantissa. Use
28818 macros for rounding and division.
28819 (denorm): Likewise.
28820 (__dbl_mp): Likewise.
28821 (add_magnitudes): Likewise.
28822 (sub_magnitudes): Likewise.
28823 (__mul): Likewise.
28824 (__sqr): Likewise.
28825 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28826 powers of two in terms of TWOPOW macro.
28827 (mp_no): Make type of mantissa as MANTISSA_T.
28828 [!RADIXI]: Define RADIXI.
28829 [!TWO52]: Define TWO52.
28830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28831
fce14d4e
AZ
288322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28833
28834 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28835 llroundl symbol when building for PPC32.
28836
9ad027fb
MW
288372013-03-24 Mark H Weaver <mhw@netris.org>
28838
28839 * manual/arith.texi (Normalization Functions): Fix prototypes for
28840 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28841
e42a38dd
AZ
288422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28843
28844 [BZ #13889]
28845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28846 high value to check if expl overflow.
28847 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28848 to check for underflow and overflow.
28849 * math/libm-test.inc: Add exp test.
28850
2e0fb521
DL
288512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28852
28853 [BZ #11120]
28854 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28855 with NOT_IN_libc.
28856
b5784d95
AZ
288572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28858
28859 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28860 symbol.
28861
5aa4a1a1
TS
288622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28863
bdef0be7
TS
28864 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28865 wrap blocks consisting of several statements.
28866
5aa4a1a1
TS
28867 * sysdeps/generic/math-tests.h: New file.
28868 * sysdeps/i386/fpu/math-tests.h: Likewise.
28869 * math/test-snan.c: Include it.
28870 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28871
98c48fe5
JM
288722013-03-21 Joseph Myers <joseph@codesourcery.com>
28873
28874 [BZ #15285]
28875 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28876 (__ieee754_j0l): Do not improve calculations using cos of twice
28877 input for inputs above LDBL_MAX / 2.0L.
28878 (__ieee754_y0l): Likewise.
28879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28880 (__ieee754_j1l): Do not improve calculations using cos of twice
28881 input for inputs above LDBL_MAX / 2.0L.
28882 (__ieee754_y1l): Likewise.
28883 * math/libm-test.inc (j0_test): Add another test.
28884 (j1_test): Likewise.
28885 (y0_test): Likewise.
28886 (y1_test): Likewise.
28887 * sysdeps/i386/fpu/libm-test-ulps: Update.
28888
3775a8bc
SP
288892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28890
28891 * Rules ($(objpfx)bench-%.c): Include code from a C source
28892 file.
28893
0a1b2ae6
JM
288942013-03-21 Joseph Myers <joseph@codesourcery.com>
28895
28896 [BZ #15287]
28897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28898 imaginary part 1.0 and real part less than 0.5 specially.
28899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28901 * math/libm-test.inc (cacos_test): Add more tests.
28902 (casin_test): Likewise.
28903 (casinh_test): Likewise.
28904 * sysdeps/i386/fpu/libm-test-ulps: Update.
28905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28906
b33d4ce4
SP
289072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28908
28909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28910 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28911
bef0b507
JM
289122013-03-20 Joseph Myers <joseph@codesourcery.com>
28913
28914 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28915 * config.make.in (config-cflags-sse4): Remove variable.
28916 (config-cflags-avx): Likewise.
28917 (config-cflags-sse2avx): Likewise.
28918 (config-cflags-novzeroupper): Likewise.
28919 (config-asflags-i686): Likewise.
28920 (have-mfma4): Likewise.
28921 (have-as-vis3): Likewise.
28922 (MIG): Likewise.
28923 * configure.in (MIG): Do not AC_SUBST.
28924 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28925 (libc_cv_cc_sse4): Do not AC_SUBST.
28926 (libc_cv_cc_avx): Likewise.
28927 (libc_cv_cc_sse2avx): Likewise.
28928 (libc_cv_cc_novzeroupper): Likewise.
28929 (libc_cv_cc_fma4): Likewise.
28930 (libc_cv_as_i686): Likewise.
28931 (libc_cv_sparc_as_vis3): Likewise.
28932 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28933 LIBC_CONFIG_VAR.
28934 (config-asflags-i686): Likewise.
28935 (config-cflags-avx): Likewise.
28936 (config-cflags-sse2avx): Likewise.
28937 (have-mfma4): Likewise.
28938 (config-cflags-novzeroupper): Likewise.
28939 * sysdeps/mach/configure.in (MIG): Likewise.
28940 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28941 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28942 LIBC_CONFIG_VAR.
28943 (config-cflags-avx): Likewise.
28944 (config-cflags-sse2avx): Likewise.
28945 (have-mfma4): Likewise.
28946 (config-cflags-novzeroupper): Likewise.
28947 * configure: Regenerated.
28948 * sysdeps/i386/configure: Likewise.
28949 * sysdeps/mach/configure: Likewise.
28950 * sysdeps/sparc/configure: Likewise.
28951 * sysdeps/x86_64/configure: Likewise.
28952
912cc4b3
RM
289532013-03-20 Roland McGrath <roland@hack.frob.com>
28954
28955 [BZ #14812]
28956 * locale/programs/localedef.c (options): Put N_ translation marker
28957 on argument names, not just descriptions.
28958
04eed2b0
MS
289592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28960
28961 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28962
a065ceff
OB
289632013-03-20 Ondřej Bílka <neleai@seznam.cz>
28964
9bb2a810 28965 [BZ #14176]
a065ceff
OB
28966 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28967
a600e5ce
RM
289682013-03-19 Roland McGrath <roland@hack.frob.com>
28969
28970 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28971 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28972 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28973 [!BEFORE_ABORT] (before_abort): New function.
28974 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28975 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28976 (writev_for_fatal): New function.
28977 (WRITEV_FOR_FATAL): New macro; call that.
28978 (backtrace_and_maps): New function.
28979 (BEFORE_ABORT): New macro; call that.
28980 (struct str_list): Type removed.
28981 (__libc_message, __libc_fatal): Functions removed.
28982 Include <sysdeps/posix/libc_fatal.c> instead.
28983
6b18bea6
JM
289842013-03-19 Joseph Myers <joseph@codesourcery.com>
28985
28986 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28987 constants.
28988 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28989 double constants.
28990
aaa8cb4b
AS
289912013-03-19 Andreas Schwab <schwab@suse.de>
28992
44673770
AS
28993 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28994 * sysdeps/gnu/configure: Regenerate.
28995
aaa8cb4b
AS
28996 * configure.in: Substitute libc_cv_rtlddir.
28997 * configure: Regenerate.
28998 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28999 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29000 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29001 * elf/Makefile (install-others, CFLAGS-interp.c)
29002 (ldso_install, common-ldd-rewrite): Likewise.
29003 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29004 $(inst_slibdir)/$(rtld-installed-name).
29005 * scripts/rellns-sh: Add -p option.
29006 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29007 for source.
29008
d3cfc668
SP
290092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29010
29011 * manual/nptl.texi: Renamed to ...
29012 * manual/threads.texi: ... this.
29013 * manual/Makefile (chapters): Update.
29014
0e2b9cdd
RM
290152013-03-18 Roland McGrath <roland@hack.frob.com>
29016
29017 [BZ #14812]
29018 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29019 on argument names, not just descriptions.
0e2b9cdd
RM
29020 * malloc/memusagestat.c (options): Likewise.
29021 * nss/getent.c (options): Likewise.
63270c24
RM
29022
290232013-03-18 Benno Schulenberg <bensberg@justemail.net>
29024
29025 [BZ #14812]
29026 * iconv/iconv_prog.c (options): Put N_ translation marker
29027 on argument names, not just descriptions.
29028 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29029
b2e1393c
OB
290302013-03-18 Ondrej Bilka <neleai@seznam.cz>
29031
29032 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29033 implementation which is faster on all x86_64 architectures.
29034 Tested on AMD, Intel Nehalem, SNB, IVB.
29035 * sysdeps/x86_64/strnlen.S: Likewise.
29036
29037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29038 Remove all multiarch strlen and strnlen versions.
29039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29040 Remove strlen and strnlen related parts.
29041
29042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29043 Inline strlen part.
29044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29045
29046 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29049 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29051 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29052
ec4ff04d
CD
290532013-03-17 Carlos O'Donell <carlos@redhat.com>
29054
29055 * manual/memory.texi (Malloc Tunable Parameters):
29056 Sort parameters alphabetically. Add comments for missing entries.
29057
cd18e90a
DM
290582013-03-17 David S. Miller <davem@davemloft.net>
29059
29060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29061
2a185d32
JM
290622013-03-16 Joseph Myers <joseph@codesourcery.com>
29063
d2f9799e
JM
29064 [BZ #15283]
29065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29066 for arguments at most half maximum finite value.
29067 * math/libm-test.inc (j0_test): Add more tests.
29068 (j1_test): Likewise.
29069 (y0_test): Likewise.
29070 (y1_test): Likewise.
29071 * sysdeps/i386/fpu/libm-test-ulps: Update.
29072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29073
2a185d32
JM
29074 [BZ #14155]
29075 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29076 1 / x and functions P and Q for arguments above 0x1p256L.
29077 (__ieee754_y0l): Likewise.
29078 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29079 (__ieee754_y1l): Likewise.
29080 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29081 (j1_test): Likewise.
29082 (y0_test): Likewise.
29083 (y1_test): Likewise.
29084
6cbec759
TS
290852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29086
29087 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29088 variable.
29089
bc16e260
RM
290902013-03-15 Roland McGrath <roland@hack.frob.com>
29091
aefc9b8c
RM
29092 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29093 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29094 zero since it's initialized to EXEC_PAGESIZE.
29095
bc16e260
RM
29096 * sysdeps/unix/sysv/linux/ldsodefs.h
29097 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29098 * sysdeps/generic/ldsodefs.h: ... here.
29099
a57da955
TS
291002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29101
af00a34d
TS
29102 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29103
495ded2c
TS
29104 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29105 math/test-snan.c.
29106 * math/test-snan.c: Renamed from
29107 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29108 * math/Makefile (tests): Add test-snan.
29109 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29110 test-powerpc-snan.
29111
777b0332
TS
29112 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29113 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29114 functions.
29115 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29116 __builtin_nan family of functions.
29117 * math/libm-test.inc (initialize): Initialize qnan_value with
29118 __builtin_nan family of functions.
29119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29120 Remove variables.
29121 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29122 Remove functions.
29123 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29124 storage class. Initialize qNaN_var and sNaN_var with
29125 __builtin_nan and __builtin_nans families of functions,
29126 respectively.
29127
64d063b8
TS
29128 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29129 (sqrt_test): Remove duplicate test with qNaN input.
29130 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29131 (round_test, signbit_test, significand_test): Note missing +/-Inf
29132 as well as qNaN tests.
29133
67e971f1
TS
29134 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29135 qNaN_var. Fix a few strings, too.
29136 * math/libm-test.inc (nan_value): Rename to qnan_value.
29137 * math/gen-libm-test.pl (%beautify): Adjust to that.
29138 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29139 * math/test-misc.c (main): Likewise.
29140 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29141 to __qnan_bytes, and __qnan_union, respectively.
29142 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29143 Likewise.
29144 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29145 and lqnanval, respectively.
29146 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29147 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29149 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29150
64487e12
TS
29151 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29152 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29153 doubles.
29154
e015e27b
TS
29155 * math/test-misc.c (main): Fix copy'n'pastos.
29156 * misc/tst-efgcvt.c (special): Likewise.
29157
a57da955
TS
29158 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29159 Remove declarations.
29160
1e380345
SP
291612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29162
29163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29164 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29165 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29167
ef26eece
AZ
291682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29169
29170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29171 macro to return vdso values correctly in IFUNC implementations.
29172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29173 Optimization by using IFUNC.
29174
8cfdb7e0
SP
291752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29176 Richard Henderson <rth@redhat.com>
29177 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29178
29179 * Makefile.in (bench): New target.
29180 * NEWS: Mention the benchmark framework.
29181 * Rules (bench): Likewise.
29182 (binaries-bench): Generate binaries for functions to
29183 benchmark.
29184 * benchtests/Makefile: New makefile for benchmark tests.
29185 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29186 programs.
29187 * benchtests/exp-inputs: New input file for EXP function.
29188 * benchtests/pow-inputs: New input file for POW function.
29189 * scripts/bench.pl: New script to generate source files for
29190 benchmark programs.
29191
bcda9880
SP
291922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29193
d22ca8cd
SP
29194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29196 computations on mantissa. Use macros for rounding and
29197 division.
29198 (denorm): Likewise.
29199 (__dbl_mp): Likewise.
29200 (add_magnitudes): Likewise.
29201 (sub_magnitudes): Likewise.
29202 (__mul): Likewise.
29203 (__sqr): Likewise.
29204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29205 powers of two in terms of TWOPOW macro.
29206 (mp_no): Make type of mantissa as MANTISSA_T.
29207 [!RADIXI]: Define RADIXI.
29208 [!TWO52]: Define TWO52.
29209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29210
bcda9880
SP
29211 * manual/nptl.texi (cindex): Modify threads to pthreads.
29212
06d5adfb
JM
292132013-03-15 Joseph Myers <joseph@codesourcery.com>
29214
29215 * sysdeps/x86_64/preconfigure: Regenerated.
29216
41c7328e
JM
292172013-03-14 Joseph Myers <joseph@codesourcery.com>
29218
29219 [BZ #14155]
29220 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29221 0x1p28 and above.
29222 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29223 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29224 0x1p28 and above.
29225 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29226 * math/libm-test.inc (j0_test): Do not allow one spurious
29227 underflow exception.
29228 (y1_test): Likewise.
29229
e25cfa60
SP
292302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29231
0409959c
SP
29232 * manual/Makefile (chapters): Add nptl.
29233 * manual/debug.texi (Debugging Support): Add link to Threads
29234 chapter.
29235 * manual/nptl.texi: New file.
29236
e25cfa60
SP
29237 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29238
58a1335e
PB
292392013-03-14 Petr Baudis <pasky@ucw.cz>
29240
29241 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29242 for non-NULL pointer before the memory validity test. Pointed
29243 out by Holger Brunck <holger.brunck@keymile.com>.
29244
9dc7c64f
AS
292452013-03-13 Andreas Schwab <schwab@suse.de>
29246
29247 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29248 instead of .os.
29249
54206aa6
JM
292502013-03-13 Joseph Myers <joseph@codesourcery.com>
29251
29252 * timezone/zic.c: Update from tzcode 2013b.
29253
e98cdb38
CD
292542013-03-12 Carlos O'Donell <carlos@redhat.com>
29255
29256 * manual/install.texi (Configuring and compiling):
29257 Mention i686 and i586.
29258 * INSTALL: Regenerate.
29259
9967e003
RM
292602013-03-12 Roland McGrath <roland@hack.frob.com>
29261
29262 * sysdeps/init_array/elf-init.c: New file.
29263 * csu/elf-init.c
29264 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29265 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29266
29267 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29268 __gmon_start__ as global, but as static with a .preinit_array pointer.
29269 * sysdeps/init_array/gmon-start.c: New file. Use that.
29270 * sysdeps/init_array/crti.S: New file, empty except for comments.
29271 * sysdeps/init_array/crtn.S: Likewise.
29272
e6b5a293 292732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29274
29275 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29276 definining bcopy.
80f844c9
OB
29277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29278 Remove Prefer_SSE_for_memop.
29279 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29280 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29281 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29283 memset-x86-64.
80f844c9 29284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29285 Remove bzero, memset ifunc support.
80f844c9
OB
29286 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29290
fb6b0fcb
AS
292912013-03-11 Andreas Schwab <schwab@suse.de>
29292
29293 [BZ #15234]
29294 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29295 by SHLIB_COMPAT.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29297 (GLIBC_2.16): Remove pthread_atfork.
29298
3e6bd4b1
PP
292992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29300
29301 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29302 (ptestcases.h): Likewise.
29303
222d7f00
RM
293042013-03-08 Roland McGrath <roland@hack.frob.com>
29305
29306 * Makeconfig ($(common-objpfx)config.status): Depend on
29307 sysdeps/*/preconfigure{,.in} too.
29308
1ba4f030
JM
293092013-03-08 Joseph Myers <joseph@codesourcery.com>
29310
a222d91a
JM
29311 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29312 (__free_hook): Use void * instead of __malloc_ptr_t.
29313 (__malloc_hook): Likewise.
29314 (__realloc_hook): Likewise.
29315 (__memalign_hook): Likewise.
29316 (__after_morecore_hook): Likewise.
29317 * malloc/arena.c (save_malloc_hook): Likewise.
29318 (save_free_hook): Likewise.
29319 * malloc/hooks.c (malloc_hook_ini): Likewise.
29320 (realloc_hook_ini): Likewise.
29321 (memalign_hook_ini): Likewise.
29322 * malloc/malloc.c (malloc_hook_ini): Likewise.
29323 (realloc_hook_ini): Likewise.
29324 (memalign_hook_ini): Likewise.
29325 (__free_hook): Likewise.
29326 (__malloc_hook): Likewise.
29327 (__realloc_hook): Likewise.
29328 (__memalign_hook): Likewise.
29329 (__libc_malloc): Likewise.
29330 (__libc_free): Likewise.
29331 (__libc_realloc): Likewise.
29332 (__libc_memalign): Likewise.
29333 (__libc_valloc): Likewise.
29334 (__libc_pvalloc): Likewise.
29335 (__libc_calloc): Likewise.
29336 (__posix_memalign): Likewise.
29337 * malloc/morecore.c (__sbrk): Likewise.
29338 (__default_morecore): Likewise.
29339
5cc45e10
JM
29340 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29341
dd54b864
JM
29342 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29343 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29344 __malloc_ptrdiff_t.
29345
1ba4f030
JM
29346 * malloc/malloc.h (__malloc_size_t): Remove macro.
29347 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29348 __malloc_size_t.
29349 (old_memalign_hook): Likewise.
29350 (old_realloc_hook): Likewise.
29351 (struct hdr): Likewise.
29352 (flood): Likewise.
29353 (mallochook): Likewise.
29354 (memalignhook): Likewise.
29355 (reallochook): Likewise.
29356 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29357 (tr_old_realloc_hook): Likewise.
29358 (tr_old_memalign_hook): Likewise.
29359 (tr_mallochook): Likewise.
29360 (tr_reallochook): Likewise.
29361 (tr_memalignhook): Likewise.
29362
edf66e57
AZ
293632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29364
29365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29366 default_ldbl_pack and using as default implementation.
29367 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29368 implementation.
29369 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29370 redundant definition.
29371 (ldbl_insert_mantissa): Likewise.
29372 (ldbl_canonicalize): Likewise.
29373 (ldbl_nearbyint): Likewise.
29374 (ldbl_pack): Rename to ldbl_pack_ppc.
29375 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29376 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29377 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29378
6d9145d8
SP
293792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29380
29381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29382 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29384 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29387 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29388 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29389
4dd4e157
AJ
293902013-03-07 Andreas Jaeger <aj@suse.de>
29391
29392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29393 bits/mman-linux.h.
29394
adbb8027
SP
293952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29396
ce544b5b
SP
29397 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29398 Include mpa.h and declare __MPEXP.
29399 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29401 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29404 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29406
4cc149fd
SP
29407 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29408 (__slowpow): Use long double EXPL and LOGL functions to
29409 compute POW.
29410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29411 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29414 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29416
e6ebd4a7
SP
29417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29418 intermediate variable to calculate exponent.
29419 (__sqr): Likewise.
29420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29421 Likewise.
29422 (__sqr): Likewise.
29423
82a9811d
SP
29424 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29425 [!NO__SQR]: Define __sqr.
29426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29427 and NO__SQR. Remove all code except __mul and __sqr. Include
29428 sysdeps/ieee754/dbl-64/mpa.c.
29429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29430
adbb8027
SP
29431 [BZ #12723]
29432 * posix/Makefile (tests): Add tst-pathconf.
29433 * posix/tst-pathconf.c: New test case.
29434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29435 _PC_PIPE_BUF.
29436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29437
39120df9
PF
294382013-03-06 Patsy Franklin <pfrankli@redhat.com>
29439
29440 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29441
67525cb8
AJ
294422013-03-06 Andreas Jaeger <aj@suse.de>
29443
664a9ce4
AJ
29444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29445 definition via __MAP_ANONYMOUS.
29446
8e39047d
AJ
29447 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29448 it's not part of Linux headers.
29449
67525cb8
AJ
29450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29451 (MAP_HUGE_MASK): Define.
29452
29453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29454 Define.
29455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29457 Define.
29458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29459 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29460 Define.
29461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29463 Define.
29464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29465
29466 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29467 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29469 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29470 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29471 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29472
29473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29474 Handle f2fs.
29475
29476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29477 Handle f2fs and efivarfs.
29478
29479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29480 f2fs.
29481
29482 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29483 (EFIVARFS_MAGIC): Add.
29484 (F2FS_LINK_MAX): Add.
29485
e1b42695
PP
294862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29487
29488 * stdio-common/vfprintf.c: Replace __builtin_expect with
29489 __glibc_unlikely.
29490
2d67d91a
JM
294912013-03-06 Joseph Myers <joseph@codesourcery.com>
29492
29493 [BZ #13550]
29494 * sysdeps/generic/bp-sym.h: Remove file.
29495 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29497 <bp-sym.h> and <bp-asm.h>.
29498 (__longjmp): Don't use BP_SYM.
29499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29500 and <bp-asm.h>.
29501 (memcpy): Don't use BP_SYM.
29502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29503 <bp-sym.h> and <bp-asm.h>.
29504 (memcpy): Don't use BP_SYM.
29505 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29506 <bp-asm.h>.
29507 (memcpy): Don't use BP_SYM.
29508 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29509 <bp-asm.h>.
29510 (memset): Don't use BP_SYM.
29511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29513 (__bzero): Don't use BP_SYM.
29514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29517 <bp-sym.h> and <bp-asm.h>.
29518 (memcmp): Don't use BP_SYM. Remove comment about bounded
29519 pointers.
29520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29521 <bp-sym.h> and <bp-asm.h>.
29522 (memcpy): Don't use BP_SYM.
29523 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29524 <bp-sym.h> and <bp-asm.h>.
29525 (memset): Don't use BP_SYM.
29526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29528 (__bzero): Don't use BP_SYM.
29529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29532 <bp-sym.h> and <bp-asm.h>.
29533 (strncmp): Don't use BP_SYM. Remove comment about bounded
29534 pointers.
29535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29536 <bp-sym.h> and <bp-asm.h>.
29537 (memcpy): Don't use BP_SYM.
29538 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29539 <bp-sym.h> and <bp-asm.h>.
29540 (memset): Don't use BP_SYM.
29541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29543 (__bzero): Don't use BP_SYM.
29544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29547 <bp-sym.h> and <bp-asm.h>.
29548 (__memchr): Don't use BP_SYM.
29549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29550 <bp-sym.h> and <bp-asm.h>.
29551 (memcmp): Don't use BP_SYM. Remove comment about bounded
29552 pointers.
29553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29554 <bp-sym.h> and <bp-asm.h>.
29555 (memcpy): Don't use BP_SYM.
29556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29557 <bp-sym.h> and <bp-asm.h>.
29558 (__mempcpy): Don't use BP_SYM.
29559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29560 <bp-sym.h> and <bp-asm.h>.
29561 (__memrchr): Don't use BP_SYM.
29562 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29563 <bp-sym.h> and <bp-asm.h>.
29564 (memset): Don't use BP_SYM.
29565 (__bzero): Likewise.
29566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29567 <bp-sym.h> and <bp-asm.h>.
29568 (__rawmemchr): Don't use BP_SYM.
29569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29570 <bp-sym.h> and <bp-asm.h>.
29571 (__STRCMP): Don't use BP_SYM.
29572 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29573 <bp-sym.h> and <bp-asm.h>.
29574 (strchr): Don't use BP_SYM.
29575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29576 <bp-sym.h> and <bp-asm.h>.
29577 (__strchrnul): Don't use BP_SYM.
29578 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29579 <bp-sym.h> and <bp-asm.h>.
29580 (strlen): Don't use BP_SYM.
29581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29582 <bp-sym.h> and <bp-asm.h>.
29583 (strncmp): Don't use BP_SYM. Remove comment about bounded
29584 pointers.
29585 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29586 <bp-sym.h> and <bp-asm.h>.
29587 (__strnlen): Don't use BP_SYM.
29588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29589 <bp-sym.h> and <bp-asm.h>.
29590 (__GI__setjmp): Don't use BP_SYM.
29591 (_setjmp): Likewise.
29592 (__sigsetjmp): Likewise.
29593 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29594 (L(start_addresses)): Don't use BP_SYM.
29595 (_start): Likewise.
29596 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29597 <bp-asm.h>.
29598 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29599 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29600 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29601 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29602 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29603 <bp-asm.h>.
29604 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29605 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29606 about bounded pointers.
29607 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29608 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29609 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29610 <bp-asm.h>.
29611 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29612 about bounded pointers. Remove GKM FIXME comments.
29613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29614 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29615 <bp-asm.h>.
29616 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29617 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29618 Remove GKM FIXME comments.
29619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29621 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29622 <bp-asm.h>.
29623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29624 about bounded pointers. Remove GKM FIXME comment.
29625 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29626 and <bp-asm.h>.
29627 (strncmp): Don't use BP_SYM. Remove comment about bounded
29628 pointers.
29629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29630 <bp-sym.h> and <bp-asm.h>.
29631 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29633 <bp-sym.h> and <bp-asm.h>.
29634 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29635 comment.
29636
cdcf361f
PP
296372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29638
29639 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29640 call free(NULL).
29641
3c4a2b15
DM
296422013-03-05 David S. Miller <davem@davemloft.net>
29643
29644 * po/es.po: Update from translation team.
29645
cdcf361f 296462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29647
29648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29649 <bits/mman-linux.h>.
29650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29651 is fine.
29652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29653 <bits/mman-linux.h> to end of file.
29654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29655 is fine.
29656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29657 <bits/mman-linux.h> to end of file.
29658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29659 is fine.
29660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29661 <bits/mman-linux.h> to end of file.
29662
29663 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29664 (MCL_CURRENT, MCL_FUTURE): Define here.
29665
5f67c04f
AK
296662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29667
8a4473cc 29668 [BZ #15232]
5f67c04f
AK
29669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29670 attribute_hidden.
29671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29672
c3e94a95
AK
296732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29674
29675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29676 fourth parameter needed for rt_sigprocmask syscall.
29677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29682 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29683
cfb6382a
JM
296842013-03-04 Joseph Myers <joseph@codesourcery.com>
29685
29686 [BZ #13550]
29687 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29688 comment about bounded pointers.
29689 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29690 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29691
539d8e01
AJ
296922013-03-04 Andreas Jaeger <aj@suse.de>
29693
29694 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29695 common definitions.
29696
29697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29698 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29703
2e167a70 297042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29705
29706 [BZ #15055]
29707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29708 __ieee754_sqrl instead of __sqrl.
29709
68508633
JM
297102013-03-01 Joseph Myers <joseph@codesourcery.com>
29711
29712 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29713 * sysdeps/powerpc/fpu_control.h: ... here.
29714 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29715 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29716 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29717 * sysdeps/powerpc/bits/mathinline.h: ... here.
29718
7775448e
RM
297192013-03-01 Roland McGrath <roland@hack.frob.com>
29720
29721 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29722 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29723 to just [NEED_DL_SYSINFO_DSO].
29724 * elf/dl-support.c: Likewise.
29725 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29726 * elf/rtld.c (dl_main): Likewise.
29727 * elf/setup-vdso.h (setup_vdso): Likewise.
29728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29729 * sysdeps/unix/sysv/linux/dl-sysdep.c
29730 (_dl_discover_osversion): Likewise.
29731
4e9b5995
CD
297322013-03-01 Carlos O'Donell <carlos@redhat.com>
29733
29734 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29736
e23872c8
SP
297372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29738
e5c74c63
SP
29739 * NEWS: Mention libm performance improvements and non-x86 PI
29740 futex support.
29741
e23872c8
SP
29742 * csu/libc-start.c (__pthread_initialize_minimal): Change
29743 function arguments.
29744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29745
b5510883
JM
297462013-02-28 Joseph Myers <joseph@codesourcery.com>
29747
29748 [BZ #13550]
29749 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29751 <bp-sym.h> and <bp-asm.h>.
29752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29754 and <bp-asm.h>.
29755 (memcpy): Don't use BP_SYM.
29756 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29757 <bp-asm.h>.
29758 (__mpn_add_n): Don't use BP_SYM.
29759 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29760 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29761 and <bp-asm.h>.
29762 (__mpn_addmul_1): Don't use BP_SYM.
29763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29764 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29765 <bp-sym.h>.
29766 (_setjmp): Don't use BP_SYM.
29767 (__novmx_setjmp): Likewise.
29768 (__GI__setjmp): Likewise.
29769 (__vmx_setjmp): Likewise.
29770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29771 <bp-sym.h>.
29772 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29773 (__bzero): Don't use BP_SYM.
29774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29777 <bp-sym.h> and <bp-asm.h>.
29778 (memcpy): Don't use BP_SYM.
29779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29780 <bp-sym.h> and <bp-asm.h>.
29781 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29782 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29783 <bp-sym.h> and <bp-asm.h>.
29784 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29785 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29786 <bp-asm.h>.
29787 (__mpn_lshift): Don't use BP_SYM.
29788 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29789 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29790 <bp-asm.h>.
29791 (memset): Don't use BP_SYM.
29792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29794 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29795 <bp-asm.h>.
29796 (__mpn_mul_1): Don't use BP_SYM.
29797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29799 <bp-sym.h> and <bp-asm.h>.
29800 (memcmp): Don't use BP_SYM.
29801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29802 <bp-sym.h> and <bp-asm.h>.
29803 (memcpy): Don't use BP_SYM.
29804 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29805 <bp-sym.h> and <bp-asm.h>.
29806 (memset): Don't use BP_SYM.
29807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29808 <bp-sym.h> and <bp-asm.h>.
29809 (strncmp): Don't use BP_SYM.
29810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29811 <bp-sym.h> and <bp-asm.h>.
29812 (memcpy): Don't use BP_SYM.
29813 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29814 <bp-sym.h> and <bp-asm.h>.
29815 (memset): Don't use BP_SYM.
29816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29817 <bp-sym.h> and <bp-asm.h>.
29818 (__memchr): Don't use BP_SYM.
29819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29820 <bp-sym.h> and <bp-asm.h>.
29821 (memcmp): Don't use BP_SYM.
29822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29823 <bp-sym.h> and <bp-asm.h>.
29824 (memcpy): Don't use BP_SYM.
29825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29826 <bp-sym.h> and <bp-asm.h>.
29827 (__mempcpy): Don't use BP_SYM.
29828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29829 <bp-sym.h> and <bp-asm.h>.
29830 (__memrchr): Don't use BP_SYM.
29831 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29832 <bp-sym.h> and <bp-asm.h>.
29833 (memset): Don't use BP_SYM.
29834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29835 <bp-sym.h> and <bp-asm.h>.
29836 (__rawmemchr): Don't use BP_SYM.
29837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29838 <bp-sym.h> and <bp-asm.h>.
29839 (__STRCMP): Don't use BP_SYM.
29840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29841 <bp-sym.h> and <bp-asm.h>.
29842 (strchr): Don't use BP_SYM.
29843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29844 <bp-sym.h> and <bp-asm.h>.
29845 (__strchrnul): Don't use BP_SYM.
29846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29847 <bp-sym.h> and <bp-asm.h>.
29848 (strlen): Don't use BP_SYM.
29849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29850 <bp-sym.h> and <bp-asm.h>.
29851 (strncmp): Don't use BP_SYM.
29852 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29853 <bp-sym.h> and <bp-asm.h>.
29854 (__strnlen): Don't use BP_SYM.
29855 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29856 <bp-asm.h>.
29857 (__mpn_rshift): Don't use BP_SYM.
29858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29859 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29860 <bp-sym.h> and <bp-asm.h>.
29861 (__sigsetjmp): Don't use BP_SYM.
29862 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29863 (L(start_addresses)): Don't use BP_SYM.
29864 (_start): Likewise.
29865 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29866 <bp-asm.h>.
29867 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29870 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29871 <bp-asm.h>.
29872 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29875 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29876 <bp-asm.h>.
29877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29878 comments.
29879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29880 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29881 <bp-asm.h>.
29882 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29883 FIXME comments.
29884 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29885 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29886 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29887 <bp-asm.h>.
29888 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29889 comment.
29890 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29891 and <bp-asm.h>.
29892 (strncmp): Don't use BP_SYM,
29893 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29894 <bp-asm.h>.
29895 (__mpn_sub_n): Don't use BP_SYM.
29896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29897 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29898 and <bp-asm.h>.
29899 (__mpn_submul_1): Don't use BP_SYM.
29900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29902 <bp-sym.h> and <bp-asm.h>.
29903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29905 <bp-sym.h> and <bp-asm.h>.
29906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29907 comment.
29908
8d19fe64
SP
299092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29910
29911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29912 Use ZK to minimize writes to Z.
29913 (sub_magnitudes): Simplify code a bit.
29914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29915 Use ZK to minimize writes to Z.
29916 (sub_magnitudes): Simplify code a bit.
29917
85bd816a
RM
299182013-02-27 Roland McGrath <roland@hack.frob.com>
29919
29920 * csu/gmon-start.c: Add special exception to license text.
29921
b5977bf2
RH
299222013-02-27 Richard Henderson <rth@redhat.com>
29923
29924 * scripts/config.guess: Update from config.git.
29925 * scripts/config.sub: Likewise.
29926
11d6e2f2
SP
299272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29928
09c14ed2
SP
29929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29930
a688864e
SP
29931 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29932
6295157a
SP
29933 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29934
b8de2202
SP
29935 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29936
11d6e2f2
SP
29937 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29938
7e80ddb8
RM
299392013-02-26 Roland McGrath <roland@hack.frob.com>
29940
29941 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29942 [$(build-shared = yes].
7e80ddb8 29943
7da6d9ed
SP
299442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29945
45f05884
SP
29946 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29947 (__mul): Reduce iterations for calculating mantissa.
29948
2236d359
SP
29949 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29950 MPTWO.
29951 (__mpranred): Likewise.
29952
7da6d9ed
SP
29953 [BZ #15160]
29954 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29955 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29956
b7688c42
PE
299572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29958
29959 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29960 Define __attribute__.
29961
53a5c423
SP
299622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29963
29964 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29965 unused.
29966 * posix/regex_internal.h (__attribute): Remove.
29967 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29968 (re_string_context_at): Likewise.
29969 (bitset_not): Use __attribute__ and mark function as possibly
29970 unused.
29971 (bitset_merge): Likewise.
29972 (bitset_mask): Likewise.
29973 (re_string_char_size_at): Likewise.
29974 (re_string_wchar_at): Likewise.
29975 (re_string_elem_size_at): Likewise.
29976
60f5a8b5
SP
299772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29978
2a983a2e
SP
29979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29980 code.
29981 (cc32): Likewise.
29982
e69804d1
SP
29983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29984 (__acr): Likewise.
29985 (__cpy): Likewise.
29986 (norm): Likewise.
29987 (denorm): Likewise.
29988 (__dbl_mp): Likewise.
29989 (add_magnitudes): Likewise.
29990 (sub_magnitudes): Likewise.
29991 (__mul): Likewise.
29992 (__inv): Likewise.
29993
2f22a1e8
SP
29994 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29995 style.
29996
8930ddc7
SP
29997 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29998 style.
29999
dc60cb11
SP
30000 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30001 code.
30002
60f5a8b5
SP
30003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30004 up changes with default code.
30005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30006 Likewise.
30007
b4d1fd33
AM
300082013-02-24 Allan McRae <allan@archlinux.org>
30009
faf6f8bc
AM
30010 * manual/socket.texi (The Internet Namespace): Order menu items
30011 to match that in the file.
30012
b4d1fd33
AM
30013 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30014 node listing of the info page menu.
30015
2366713d
JM
300162013-02-21 Joseph Myers <joseph@codesourcery.com>
30017
30018 [BZ #13550]
30019 * sysdeps/i386/bp-asm.h: Remove file.
30020 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30021 (PARMS): Do not use macros from bp-asm.h.
30022 (S1): Likewise.
30023 (S2): Likewise.
30024 (SIZE): Likewise.
30025 (__mpn_add_n): Do not use BP_SYM
30026 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30027 "bp-asm.h".
30028 (PARMS): Do not use macros from bp-asm.h.
30029 (S1): Likewise.
30030 (SIZE): Likewise.
30031 (__mpn_addmul_1): Do not use BP_SYM
30032 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30033 "bp-asm.h".
30034 (PARMS): Do not use macros from bp-asm.h.
30035 (SIGMSK): Likewise.
30036 (_setjmp): Likewise. Do not use BP_SYM.
30037 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30038 "bp-asm.h".
30039 (PARMS): Do not use macros from bp-asm.h.
30040 (SIGMSK): Likewise.
30041 (setjmp): Likewise. Do not use BP_SYM.
30042 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30043 "bp-asm.h".
30044 (PARMS): Do not use macros from bp-asm.h.
30045 (__frexp): Do not use BP_SYM.
30046 (frexp): Likewise.
30047 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30048 "bp-asm.h".
30049 (PARMS): Do not use macros from bp-asm.h.
30050 (__frexpf): Do not use BP_SYM.
30051 (frexpf): Likewise.
30052 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30053 "bp-asm.h".
30054 (PARMS): Do not use macros from bp-asm.h.
30055 (__frexpl): Do not use BP_SYM.
30056 (frexpl): Likewise.
30057 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30058 "bp-asm.h".
30059 (PARMS): Do not use macros from bp-asm.h.
30060 (__remquo): Do not use BP_SYM.
30061 (remquo): Likewise.
30062 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30063 "bp-asm.h".
30064 (PARMS): Do not use macros from bp-asm.h.
30065 (__remquof): Do not use BP_SYM.
30066 (remquof): Likewise.
30067 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30068 "bp-asm.h".
30069 (PARMS): Do not use macros from bp-asm.h.
30070 (__remquol): Do not use BP_SYM.
30071 (remquol): Likewise.
30072 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30073 "bp-asm.h".
30074 (PARMS): Do not use macros from bp-asm.h.
30075 (DEST): Likewise.
30076 (SRC): Likewise.
30077 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30078 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30079 "bp-asm.h".
30080 (PARMS): Do not use macros from bp-asm.h.
30081 (strlen): Do not use BP_SYM.
30082 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30083 "bp-asm.h".
30084 (PARMS): Do not use macros from bp-asm.h.
30085 (S1): Likewise.
30086 (S2): Likewise.
30087 (SIZE): Likewise.
30088 (__mpn_add_n): Do not use BP_SYM.
30089 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30090 "bp-asm.h".
30091 (PARMS): Do not use macros from bp-asm.h.
30092 (S1): Likewise.
30093 (SIZE): Likewise.
30094 (__mpn_addmul_1): Do not use BP_SYM.
30095 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30096 weak_alias.
30097 (bzero): Likewise.
30098 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30099 "bp-asm.h".
30100 (PARMS): Do not use macros from bp-asm.h.
30101 (S): Likewise.
30102 (SIZE): Likewise.
30103 (__mpn_lshift): Do not use BP_SYM.
30104 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30105 "bp-asm.h".
30106 (PARMS): Do not use macros from bp-asm.h.
30107 (DEST): Likewise.
30108 (SRC): Likewise.
30109 (LEN): Likewise.
30110 (memcpy): Likewise. Do not use BP_SYM.
30111 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30112 libc_hidden_def and weak_alias.
30113 (mempcpy): Do not use BP_SYM in weak_alias.
30114 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30115 "bp-asm.h".
30116 (PARMS): Do not use macros from bp-asm.h.
30117 (DEST): Likewise.
30118 (LEN): Likewise.
30119 [!BZERO_P] (CHR): Likewise.
30120 (memset): Likewise. Do not use BP_SYM.
30121 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30122 "bp-asm.h".
30123 (PARMS): Do not use macros from bp-asm.h.
30124 (S1): Likewise.
30125 (SIZE): Likewise.
30126 (__mpn_mul_1): Do not use BP_SYM.
30127 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30128 "bp-asm.h".
30129 (PARMS): Do not use macros from bp-asm.h.
30130 (S): Likewise.
30131 (SIZE): Likewise.
30132 (__mpn_rshift): Do not use BP_SYM.
30133 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30134 "bp-asm.h".
30135 (PARMS): Do not use macros from bp-asm.h.
30136 (STR): Likewise.
30137 (CHR): Likewise.
30138 (strchr): Likewise. Do not use BP_SYM.
30139 (index): Do not use BP_SYM in weak_alias.
30140 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30141 "bp-asm.h".
30142 (PARMS): Do not use macros from bp-asm.h.
30143 (DEST): Likewise.
30144 (SRC): Likewise.
30145 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30146 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30147 "bp-asm.h".
30148 (PARMS): Do not use macros from bp-asm.h.
30149 (strlen): Do not use BP_SYM.
30150 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30151 "bp-asm.h".
30152 (PARMS): Do not use macros from bp-asm.h.
30153 (S1): Likewise.
30154 (S2): Likewise.
30155 (SIZE): Likewise.
30156 (__mpn_sub_n): Do not use BP_SYM.
30157 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30158 "bp-asm.h".
30159 (PARMS): Do not use macros from bp-asm.h.
30160 (S1): Likewise.
30161 (SIZE): Likewise.
30162 (__mpn_submul_1): Do not use BP_SYM.
30163 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30164 "bp-asm.h".
30165 (PARMS): Do not use macros from bp-asm.h.
30166 (S1): Likewise.
30167 (S2): Likewise.
30168 (SIZE): Likewise.
30169 (__mpn_add_n): Do not use BP_SYM.
30170 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30171 weak_alias.
30172 (bzero): Likewise.
30173 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30174 "bp-asm.h".
30175 (PARMS): Do not use macros from bp-asm.h.
30176 (BLK2): Likewise.
30177 (LEN): Likewise.
30178 (memcmp): Do not use BP_SYM.
30179 (bcmp): Do not use BP_SYM in weak_alias.
30180 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30181 "bp-asm.h".
30182 (PARMS): Do not use macros from bp-asm.h.
30183 (DEST): Likewise.
30184 (SRC): Likewise.
30185 (LEN): Likewise.
30186 (memcpy): Likewise. Do not use BP_SYM.
30187 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30188 "bp-asm.h".
30189 (PARMS): Do not use macros from bp-asm.h.
30190 (DEST): Likewise.
30191 (SRC): Likewise.
30192 (LEN): Likewise.
30193 (memmove): Likewise. Do not use BP_SYM.
30194 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30195 "bp-asm.h".
30196 (PARMS): Do not use macros from bp-asm.h.
30197 (DEST): Likewise.
30198 (SRC): Likewise.
30199 (LEN): Likewise.
30200 (__mempcpy): Likewise. Do not use BP_SYM.
30201 (mempcpy): Do not use BP_SYM in weak_alias.
30202 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30203 "bp-asm.h".
30204 (PARMS): Do not use macros from bp-asm.h.
30205 (DEST): Likewise.
30206 (LEN): Likewise.
30207 [!BZERO_P] (CHR): Likewise.
30208 (memset): Likewise. Do not use BP_SYM.
30209 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30210 "bp-asm.h".
30211 (PARMS): Do not use macros from bp-asm.h.
30212 (STR2): Likewise.
30213 (strcmp): Do not use BP_SYM.
30214 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30215 "bp-asm.h".
30216 (PARMS): Do not use macros from bp-asm.h.
30217 (STR): Likewise.
30218 (DELIM): Likewise.
30219 [USE_AS_STRTOK_R] (SAVE): Likewise.
30220 (FUNCTION): Likewise. Do not use BP_SYM.
30221 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30222 aliases.
30223 (strtok_r): Likewise.
30224 (__GI___strtok_r): Likewise.
30225 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30226 (PARMS): Do not use macros from bp-asm.h.
30227 (S): Likewise.
30228 (SIZE): Likewise.
30229 (__mpn_lshift): Do not use BP_SYM.
30230 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30231 (PARMS): Do not use macros from bp-asm.h.
30232 (STR): Likewise.
30233 (CHR): Likewise.
30234 (__memchr): Do not use BP_SYM.
30235 (memchr): Do not use BP_SYM in weak_alias.
30236 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30237 (PARMS): Do not use macros from bp-asm.h.
30238 (BLK2): Likewise.
30239 (LEN): Likewise.
30240 (memcmp): Do not use BP_SYM.
30241 (bcmp): Do not use BP_SYM in weak_alias.
30242 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30243 (PARMS): Do not use macros from bp-asm.h.
30244 (S1): Likewise.
30245 (SIZE): Likewise.
30246 (__mpn_mul_1): Do not use BP_SYM.
30247 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30248 "bp-asm.h".
30249 (PARMS): Do not use macros from bp-asm.h.
30250 (STR): Likewise.
30251 (CHR): Likewise.
30252 (__rawmemchr): Do not use BP_SYM.
30253 (rawmemchr): Do not use BP_SYM in weak_alias.
30254 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30255 (PARMS): Do not use macros from bp-asm.h.
30256 (S): Likewise.
30257 (SIZE): Likewise.
30258 (__mpn_rshift): Do not use BP_SYM.
30259 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30260 (PARMS): Do not use macros from bp-asm.h.
30261 (SIGMSK): Likewise.
30262 (__sigsetjmp): Likewise. Do not use BP_SYM.
30263 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30264 (_start): Do not use BP_SYM.
30265 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30266 (PARMS): Do not use macros from bp-asm.h.
30267 (DEST): Likewise.
30268 (SRC): Likewise.
30269 (__stpcpy): Likewise. Do not use BP_SYM.
30270 (stpcpy): Do not use BP_SYM in weak_alias.
30271 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30272 "bp-asm.h".
30273 (PARMS): Do not use macros from bp-asm.h.
30274 (DEST): Likewise.
30275 (SRC): Likewise.
30276 (LEN): Likewise.
30277 (__stpncpy): Likewise. Do not use BP_SYM.
30278 (stpncpy): Do not use BP_SYM in weak_alias.
30279 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30280 (PARMS): Do not use macros from bp-asm.h.
30281 (STR): Likewise.
30282 (CHR): Likewise.
30283 (strchr): Likewise. Do not use BP_SYM.
30284 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30285 "bp-asm.h".
30286 (PARMS): Do not use macros from bp-asm.h.
30287 (STR): Likewise.
30288 (CHR): Likewise.
30289 (__strchrnul): Likewise. Do not use BP_SYM.
30290 (strchrnul): Do not use BP_SYM in weak_alias.
30291 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30292 "bp-asm.h".
30293 (PARMS): Do not use macros from bp-asm.h.
30294 (STOP): Likewise.
30295 (strcspn): Do not use BP_SYM.
30296 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30297 "bp-asm.h".
30298 (PARMS): Do not use macros from bp-asm.h.
30299 (STR): Likewise.
30300 (STOP): Likewise.
30301 (strpbrk): Likewise. Do not use BP_SYM.
30302 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30303 "bp-asm.h".
30304 (PARMS): Do not use macros from bp-asm.h.
30305 (STR): Likewise.
30306 (CHR): Likewise.
30307 (strrchr): Likewise. Do not use BP_SYM.
30308 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30309 (PARMS): Do not use macros from bp-asm.h.
30310 (SKIP): Likewise.
30311 (strspn): Do not use BP_SYM.
30312 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30313 (PARMS): Do not use macros from bp-asm.h.
30314 (STR): Likewise.
30315 (DELIM): Likewise.
30316 (SAVE): Likewise.
30317 (FUNCTION): Likewise. Do not use BP_SYM.
30318 * sysdeps/i386/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/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30323 (PARMS): Do not use macros from bp-asm.h.
30324 (S1): Likewise.
30325 (S2): Likewise.
30326 (SIZE): Likewise.
30327 (__mpn_sub_n): Do not use BP_SYM.
30328 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30329 "bp-asm.h".
30330 (PARMS): Do not use macros from bp-asm.h.
30331 (S1): Likewise.
30332 (SIZE): Likewise.
30333 (__mpn_submul_1): Do not use BP_SYM.
30334 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30335 <bp-sym.h>.
30336 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30337 and <bp-asm.h>.
30338 (PARMS): Do not use macros from bp-asm.h.
30339 (FLAGS): Likewise.
30340 (PTID): Likewise.
30341 (TLS): Likewise.
30342 (CTID): Likewise.
30343 (__clone): Do not use BP_SYM.
30344 (clone): Do not use BP_SYM in weak_alias.
30345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30346 and <bp-asm.h>.
30347 (PARMS): Do not use macros from bp-asm.h.
30348 (LEN): Likewise.
30349 (__mmap64): Do not use BP_SYM.
30350 (mmap64): Do not use BP_SYM in weak_alias.
30351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30352 <bp-sym.h> and <bp-asm.h>.
30353 (PARMS): Do not use macros from bp-asm.h.
30354 (__posix_fadvise64_l64): Do not use BP_SYM.
30355 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30356 (PARMS): Do not use macros from bp-asm.h.
30357 (NSOPS): Likewise.
30358 (semtimedop): Do not use BP_SYM.
30359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30360 and <bp-asm.h>.
30361
582a3cff
AM
303622013-02-21 Allan McRae <allan@archlinux.org>
30363
30364 * manual/message.texi (Charset conversion in gettext):
30365 Move @end statement to beginning of line.
30366
bab8a695
SP
303672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30368
80945231
SP
30369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30370 static.
30371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30372 Likewise.
30373
bab8a695
SP
30374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30375 (denorm): Likewise.
30376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30378
e21d7aa7
AK
303792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30380
30381 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30382 tail-call to the resolved function if pltexit isn't needed.
30383
4c7a4263
SP
303842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30385
30386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30387 or Y being zero as being unlikely.
30388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30389 Likewise.
30390
41f49342
CD
303912013-02-20 Carlos O'Donell <carlos@redhat.com>
30392
30393 * manual/nss.texi (System Databases and Name Service Switch):
30394 Remove frobnicate @pxref.
30395
50022a93
TS
303962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30397
30398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30399 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30400
08cbd996
PM
304012013-02-20 Petr Machata <pmachata@redhat.com>
30402
30403 * elf/elf.h (R_ARM_TARGET1): New macro.
30404 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30405 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30406 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30407 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30408 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30409 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30410 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30411 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30412 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30413 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30414 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30415 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30416 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30417 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30418 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30419 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30420 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30421 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30422 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30423 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30424 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30425 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30426 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30427 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30428 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30429 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30430 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30431 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30432 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30433 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30434 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30435 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30436 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30437 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30438 (R_ARM_THM_GOT_BREL12): Likewise.
30439 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30440 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30441 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30442 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30443 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30444 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30445 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30446 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30447 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30448
c7b275d6
TS
304492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30450
30451 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30452 __attribute_used__ to __attribute__ ((unused)).
30453
20cd7fb3
SP
304542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30455
30456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30457 powerpc mpa.c.
30458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30459 comment formatting.
30460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30461
92945b52
JM
304622013-02-19 Joseph Myers <joseph@codesourcery.com>
30463
30464 [BZ #13550]
30465 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30466 Remove macro.
30467 (ENTER): Remove both macro definitions.
30468 (LEAVE): Likewise.
30469 (CHECK_BOUNDS_LOW): Likewise.
30470 (CHECK_BOUNDS_HIGH): Likewise.
30471 (CHECK_BOUNDS_BOTH): Likewise.
30472 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30473 (RETURN_BOUNDED_POINTER): Likewise.
30474 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30475 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30476 (POP_ERRNO_LOCATION_RETURN): Likewise.
30477 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30479 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30480 macros.
30481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30482 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30483 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30484 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30485 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30486 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30487 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30488 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30489 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30490 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30491 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30492 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30493 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30494 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30495 removed macros.
30496 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30497 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30498 macros.
30499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30500 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30501 * sysdeps/i386/i586/memset.S (memset): Likewise.
30502 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30504 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30505 macros.
30506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30507 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30508 Change uses of L(2) to L(out).
30509 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30510 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30511 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30513 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30514 removed macros.
30515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30516 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30517 macros.
30518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30519 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30520 (RETURN): Do not use macro LEAVE.
30521 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30522 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30523 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30524 * sysdeps/i386/i686/memset.S (memset): Likewise.
30525 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30526 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30528 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30529 Likewise.
30530 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30531 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30532 L(1_2) and L(1_3) into L(1).
30533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30534 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30536 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30537 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30538 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30539 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30541 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30542 macros.
30543 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30545 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30546 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30547 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30548 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30549 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30550 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30551 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30552 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30553 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30554 * sysdeps/i386/strspn.S (strspn): Likewise.
30555 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30556 conditional code.
30557 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30558 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30560 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30561 L(1_3) into L(1_1).
30562 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30564 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30565 macros.
30566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30567
2389741a
JJ
305682013-02-19 Jakub Jelinek <jakub@redhat.com>
30569
30570 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30571 macro.
30572
2016b3cd
SP
305732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30574
e4f22324
SP
30575 * math/atest-exp.c (exp_mpn): Remove ROUND.
30576 * math/atest-exp2.c (exp_mpn): Likewise.
30577 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30578
2016b3cd
SP
30579 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30580 * stdlib/tst-tls-atexit-lib.c: Likewise.
30581 * stdlib/tst-tls-atexit.c: Likewise.
30582
4be9b544
MF
305832013-02-18 Mike Frysinger <vapier@gentoo.org>
30584
30585 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30586 and __attribute_alloc_size__.
30587
2f62b9ee
MF
305882013-02-18 Mike Frysinger <vapier@gentoo.org>
30589
30590 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30591 __attribute_alloc_size__.
30592 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30593 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30594
6ff444c4
MF
305952013-02-18 Mike Frysinger <vapier@gentoo.org>
30596
30597 * include/programs/xmalloc.h: New file.
30598 * catgets/gencat.c: Include it.
30599 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30600 * elf/pldd.c: Likewise.
30601 * iconv/iconv_charmap.c: Likewise.
30602 * iconv/iconvconfig.c: Likewise.
30603 * iconv/strtab.c: Likewise.
30604 * locale/programs/locale.c: Likewise.
30605 * locale/programs/localedef.h: Likewise.
30606 * locale/programs/simple-hash.c: Likewise.
30607 * nscd/nscd.h: Likewise.
30608 * nss/makedb.c: Likewise.
30609 * sysdeps/generic/ldconfig.h: Likewise.
30610
be179c8a
SP
306112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30612
ba384f6e
SP
30613 * Versions.def: Add GLIBC_2.18.
30614 * include/link.h (struct link_map): New member l_tls_dtor_count.
30615 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30616 (__call_tls_dtors): Likewise.
30617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30618 __cxa_thread_atexit_impl.
30619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30620 Likewise.
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30622 Likewise.
30623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30624 Likewise.
30625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30626 Likewise.
30627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30629 Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30631 Likewise.
30632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30634 Likewise.
30635 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30636 (tests): Add test case tst-tls-atexit.
30637 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30638 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30639 (GLIBC_PRIVATE): Add __call_tls_dtors.
30640 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30641 for libstdc++.
30642 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30643 * stdlib/tst-tls-atexit.c: New test case.
30644 * stdlib/tst-tls-atexit-lib.c: New test case.
30645
ffaa74cf 30646 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30647
be179c8a
SP
30648 * elf/Versions (ld): Add _dl_find_dso_for_object.
30649 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30650 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30651 (dl_open_worker): Use _dl_find_dso_for_object.
30652 * elf/dl-sym.c (do_sym): Likewise.
30653 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30654
f78b5caa
AK
306552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30656
30657 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30658 Syntactic changes only.
30659 (_dl_runtime_profile): Do a tail-call to the resolved function.
30660
29691210
JM
306612013-02-17 Joseph Myers <joseph@codesourcery.com>
30662
30663 [BZ #13550]
30664 * sysdeps/x86_64/bp-asm.h: Remove file.
30665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30666 <bp-sym.h> and <bp-asm.h>.
30667 (__clone): Do not use BP_SYM.
30668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30669 <bp-sym.h> and <bp-asm.h>.
30670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30671 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30672 "bp-asm.h".
30673 (_setjmp): Do not use BP_SYM.
30674 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30675 "bp-asm.h".
30676 (setjmp): Do not use BP_SYM.
30677 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30678 libc_hidden_def.
30679 (mempcpy): Do not use BP_SYM in weak_alias.
30680 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30681 "bp-asm.h".
30682 (strchr): Do not use BP_SYM.
30683 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30684 "bp-asm.h".
30685 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30686 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30687 (_start): Do not use BP_SYM.
30688 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30689 "bp-asm.h".
30690 (strcat): Do not use BP_SYM.
30691 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30692 "bp-asm.h".
30693 (STRCMP): Do not use BP_SYM.
30694 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30695 "bp-asm.h".
30696 (STRCPY): Do not use BP_SYM.
30697 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30698 "bp-asm.h".
30699 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30700 "bp-asm.h".
30701 (FUNCTION): Do not use BP_SYM.
30702 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30703 weak_alias.
30704 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30705
f238fd19
AJ
307062013-02-17 Andreas Jaeger <aj@suse.de>
30707
30708 * time/Versions: Sort entries.
30709 * string/Versions: Likewise.
30710 * resolv/Versions: Likewise.
30711 * posix/Versions: Likewise.
30712 * iconv/Versions: Likewise.
30713 * elf/Versions: Likewise.
30714 * wcsmbs/Versions: Likewise.
30715
bd07f23c 307162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30717
22af19f9
SP
30718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30719 loop termination condition.
30720
4709fe76
SP
30721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30722 variable to calculate EZ.
30723 (__sqr): Likewise.
2d0e0f29
SP
30724
30725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30726 the lower precision input.
30727
daaa7713
JM
307282013-02-15 Joseph Myers <joseph@codesourcery.com>
30729
30730 [BZ #13550]
30731 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30732 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30733 (run-via-rtld-prefix): Do not handle %-bp tests.
30734 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30735 (all-object-suffixes): Remove .ob.
30736 (bppfx): Remove variable.
30737 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30738 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30739 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30740 [$(build-bounded) = yes] (libtype.ob): Likewise.
30741 * Makerules (elide-routines.ob): Remove variable.
30742 (do-tests-clean): Do not handle *-bp.out.
30743 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30744 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30745 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30746 (tests): Do not include $(tests-bp.out).
30747 (xtests): Do not include $(xtests-bp.out).
30748 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30749 [$(build-bounded) = yes] ($(addprefix
30750 $(objpfx),$(binaries-bounded))): Remove rule.
30751 ($(objpfx)%-bp.out): Remove rule.
30752 * config.make.in (build-bounded): Remove variable.
30753 * crypt/Makefile [$(build-bounded) = yes]
30754 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30755 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30756 append to variable.
30757 [$(build-bounded) = yes] (install-lib): Likewise.
30758 [$(build-bounded) = yes] (generated): Likewise.
30759 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30760 Remove rule.
30761 * intl/Makefile [$(build-bounded) = yes]
30762 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30763 * math/Makefile [$(build-bounded) = yes]
30764 ($(tests:%=$(objpfx)%-bp): Likewise.
30765 * misc/Makefile [$(build-bounded) = yes]
30766 ($(objpfx)tst-tsearch-bp): Likewise.
30767 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30768 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30769 Remove dependency.
30770 * string/Makefile (o-objects.ob): Remove variable.
30771 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30772 (CFLAGS-.ob): Remove variable.
30773 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30775 both definitions of variable.
30776 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30777 (ASFLAGS-.ob): Remove variable.
30778
e97ed6dd
JM
307792013-02-14 Joseph Myers <joseph@codesourcery.com>
30780
2bdd4ca6
JM
30781 [BZ #13550]
30782 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30783 Remove __BOUNDED_POINTERS__ from condition.
30784 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30785 * string/bits/string2.h [!__NO_STRING_INLINES &&
30786 !__BOUNDED_POINTERS__]: Likewise.
30787 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30788 Likewise.
30789 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30790 Remove conditional code.
30791 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30792 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30793 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30794 condition.
30795
e97ed6dd
JM
30796 [BZ #13550]
30797 * csu/libc-start.c: Do not include <bp-sym.h>.
30798 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30799 * elf/dl-open.c: Do not include <bp-sym.h>.
30800 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30801 * math/fegetenv.c: Do not include <bp-sym.h>.
30802 (fegetenv): Do not use BP_SYM in versioned symbols.
30803 * nptl/sysdeps/pthread/bits/libc-lockP.h
30804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30805 <bp-sym.h>.
30806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30807 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30809 (__pthread_mutex_destroy): Likewise.
30810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30811 (__pthread_mutex_lock): Likewise.
30812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30813 (__pthread_mutex_trylock): Likewise.
30814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30815 (__pthread_mutex_unlock): Likewise.
30816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30817 (__pthread_mutexattr_init): Likewise.
30818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30819 (__pthread_mutexattr_destroy): Likewise.
30820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30821 (__pthread_mutexattr_settype): Likewise.
30822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30823 (__pthread_rwlock_init): Likewise.
30824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30825 (__pthread_rwlock_destroy): Likewise.
30826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30827 (__pthread_rwlock_rdlock): Likewise.
30828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30829 (__pthread_rwlock_tryrdlock): Likewise.
30830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30831 (__pthread_rwlock_wrlock): Likewise.
30832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30833 (__pthread_rwlock_trywrlock): Likewise.
30834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30835 (__pthread_rwlock_unlock): Likewise.
30836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30837 (__pthread_key_create): Likewise.
30838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30839 (__pthread_setspecific): Likewise.
30840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30841 (__pthread_getspecific): Likewise.
30842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30843 Likewise.
30844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30845 (_pthread_cleanup_push_defer): Likewise.
30846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30847 (_pthread_cleanup_pop_restore): Likewise.
30848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30849 (pthread_setcancelstate): Likewise.
30850 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30851 <bp-sym.h>.
30852 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30853 (memchr): Do not use BP_SYM in weak_alias.
30854 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30855 (fegetenv): Do not use BP_SYM in versioned symbols.
30856 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30857 (fesetenv): Do not use BP_SYM in versioned symbols.
30858 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30859 (feupdateenv): Do not use BP_SYM in versioned symbols.
30860 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30862 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30863 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30864 (open64): Do not use BP_SYM in weak_alias.
30865 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30866 (fegetenv): Do not use BP_SYM in versioned symbols.
30867 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30868 (fesetenv): Do not use BP_SYM in versioned symbols.
30869 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30870 (feupdateenv): Do not use BP_SYM in versioned symbols.
30871 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30872 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30873 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30874 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30875 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30876 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30878 <bp-sym.h>.
30879 (__libc_start_main): Do not use BP_SYM.
30880
d6752ccd
SP
308812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30882
cb57ce60
SP
30883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30884 redundant return line.
30885 (norm): Likewise.
30886 (denorm): Likewise.
30887 (dbl_mp): Likewise.
30888 (sub_magnitudes): Likewise.
30889 (__add): Likewise.
30890 (__sub): Likewise.
30891 (__mul): Likewise.
30892 (__inv): Likewise.
30893 (__dvd): Likewise.
30894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30895 (norm): Likewise.
30896 (denorm): Likewise.
30897 (dbl_mp): Likewise.
30898 (sub_magnitudes): Likewise.
30899 (__add): Likewise.
30900 (__sub): Likewise.
30901 (__mul): Likewise.
30902 (__inv): Likewise.
30903 (__dvd): Likewise.
30904
f414520d
SP
30905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30906 instead of __mul.
30907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30908 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30909 (cc32): Likewise.
30910
d6752ccd
SP
30911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30912 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30914 of __mul for squares.
30915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30916 function
30917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30918 Likewise.
30919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30921
70d9946a
JM
309222013-02-13 Joseph Myers <joseph@codesourcery.com>
30923
30924 [BZ #13550]
30925 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30926 code.
30927 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30928 prototype or function definition. Rename ubp_* variables and
30929 parameters. Remove argv definitions conditional on
30930 [__BOUNDED_POINTERS__].
30931 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30932 * elf/dl-runtime.c (_dl_fixup): Likewise.
30933 * include/set-hooks.h (RUN_HOOK): Likewise.
30934 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30935 definition.
30936 * string/strcpy.c (strcpy): Do not use __unbounded.
30937 * sysdeps/generic/frame.h (struct layout): Likewise.
30938 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30939 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30940 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30941 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30942 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30943 (__backtrace): Likewise.
30944 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30945 use __ptrvalue.
30946 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30948 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30949 Likewise.
30950 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30951 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30953 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30954 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30955 Do not use __unbounded.
30956 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30957 Rename __unboundedrlimits parameter to rlimits in prototype.
30958 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30959 Do not use __unbounded.
30960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30961 not use __ptrvalue.
30962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30963 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30966 __ptrvalue or __unbounded.
30967 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30968 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30969 use __unbounded.
30970 (__new_msgctl): Do not use __ptrvalue.
30971 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30972 __unbounded.
30973 (__libc_msgrcv): Do not use __ptrvalue.
30974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30975 startup_info): Do not use __unbounded.
30976 (__libc_start_main): Likewise. Rename ubp_* variables and
30977 parameters. Remove argv definitions conditional on
30978 [__BOUNDED_POINTERS__].
30979 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30980 __ptrvalue.
30981 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30982 use __unbounded.
30983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30984 or __ptrvalue.
30985 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30986 use __unbounded.
30987 (__new_shmctl): Do not use __ptrvalue.
30988 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30989 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30990 Likewise.
30991 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30993 (__libc_sigaction): Likewise.
30994 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30996 Likewise.
30997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30998
cc7834d6
OB
309992013-02-13 Ondřej Bílka <neleai@seznam.cz>
31000
ffb1ec7b 31001 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31002
31003 * string/mempcpy.c: Implement by calling memcpy.
31004
bdf02814
SP
310052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31006
c2af38aa
SP
31007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31008
4e92d59e
SP
31009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31010 evaluation.
31011
909279a5
SP
31012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31013 values in the mantissa.
31014
bdf02814
SP
31015 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31016 minimize writes to Z.
31017 (sub_magnitudes): Simplify code a bit.
31018
cd525923
RM
310192013-02-12 Roland McGrath <roland@hack.frob.com>
31020
31021 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31022 from the message. The linker prefixes all warnings with that already.
31023
7e2f0d2d
AS
310242013-02-12 Andreas Schwab <schwab@suse.de>
31025
a445af0b
AS
31026 [BZ #15078]
31027 * posix/regexec.c (extend_buffers): Add parameter min_len.
31028 (check_matching): Pass minimum needed length.
31029 (clean_state_log_if_needed): Likewise.
31030 (get_subexp): Likewise.
31031 * posix/Makefile (tests): Add bug-regex34.
31032 (bug-regex34-ENV): Define.
31033 * posix/bug-regex34.c: New file.
31034
7e2f0d2d
AS
31035 [BZ #11561]
31036 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31037 elements compare against the byte sequence of it, not its name.
31038 * posix/Makefile (tests): Add bug-regex35.
31039 (bug-regex35-ENV): Define.
31040 * posix/bug-regex35.c: New file.
31041
a175b684
TV
310422013-02-11 Tom de Vries <tom@codesourcery.com>
31043
31044 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31045 comment.
31046 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31047 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31048 (CHECK_EOL): Add undef.
31049
310998fe 310502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31051
31052 * bits/stdlib-bsearch.h: New file.
31053 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31054 * stdlib/stdlib.h: Likewise.
41eda41d 31055
8ded91fb
RM
310562013-02-11 Roland McGrath <roland@hack.frob.com>
31057
31058 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31059 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31060 declaration.
31061 * manual/search.texi (Array Search Function): Add missing const in
31062 lfind prototype.
31063 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31064 declaration to use rlim_t.
31065 (Basic Scheduling Functions): Remove erroneous const from
31066 sched_getparam prototype. Remove erroneous * from
31067 sched_get_priority_max and sched_get_priority_min prototypes.
31068 (Resource Usage): Fix summary @comment on vtimes to refer to
31069 sys/vtimes.h rather than vtimes.h.
31070 Add missing *s in vtimes prototype.
31071 (Limits on Resources): Fix ulimit prototype to return long int.
31072 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31073 prototypes to use long int rather than double.
31074 (BSD Random): Fix initstate and setstate to use char *, not void *.
31075 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31076 prototype to make second argument 'struct aiocb64 *const[]'.
31077 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31078 (Status of AIO Operations): Remove erroneous const in aio_return and
31079 aio_return64 prototypes.
31080 (Synchronizing I/O): Fix sync prototype to return void.
31081 * manual/startup.texi (Suboptions): Remove an erroneous const in
31082 getsubopt prototype.
31083 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31084 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31085 use size_t rather than int.
31086 (Scanning All Users): Likewise for getpwent_r.
31087 (Setting Groups): Add missing const to setgroups prototype.
31088 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31089 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31090 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31091 'const void *' rather than 'const char *'.
31092 (Host Address Functions): Likewise for inet_ntop.
31093 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31094 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31095 ssize_t for return value.
31096 (Sending Data): Likewise for send, sendto, sendmsg.
31097 (Socket Option Functions): Add a missing const in setsockopt prototype.
31098 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31099 use wchar_t for the argument.
31100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31102 take no arguments.
31103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31104 double/float/long double for second argument.
31105 Fix return types of significand, significandf, significandl.
31106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31107 argument in fchmod prototype.
31108 (File Owner): Use uid_t and gid_t in fchown prototype.
31109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31112 use 'const struct dirent **' as argument types to CMP function pointer
31113 argument.
31114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31115 (File Times): Fix summary magic @comment for struct utimbuf and utime
31116 to refer to utime.h, not time.h.
31117 * manual/string.texi (Argz Functions): Add missing const in
31118 argz_extract and argz_next prototypes.
31119 (Finding Tokens in a String): Likewise for basename.
31120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31121 (Copying and Concatenation): Fix typo in wmemmove prototype.
31122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31123 (Signal Stack): Remove erroneous const in sigstack prototype.
31124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31125 prototype.
31126 (Simple Calendar Time): Likewise for stime.
31127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31128 prototype.
31129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31130 say sys/sysctl.h instead.
31131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31132 and vsyslog prototypes.
31133
fe77fe6d
TV
311342013-02-11 Tom de Vries <tom@codesourcery.com>
31135
31136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31137 Remove.
31138
3a09b620
RM
311392013-02-11 Roland McGrath <roland@hack.frob.com>
31140
31141 * misc/sys/mman.h: Fix typo in mremap comment.
31142
550a0b89
RM
311432013-02-08 Roland McGrath <roland@hack.frob.com>
31144
31145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31146 the '\0' terminator.
31147
a2da1673
JM
311482013-02-08 Joseph Myers <joseph@codesourcery.com>
31149
31150 [BZ #13550]
31151 * debug/segfault.c: Don't include <bp-checks.h>.
31152 * sysdeps/generic/bp-checks.h: Remove file.
31153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31154 (__GETDENTS): Don't use CHECK_N.
31155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31157 (__getgroups): Don't use CHECK_N.
31158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31159 (setgroups): Don't use CHECK_N.
31160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31162 (__libc_msgrcv): Don't use CHECK_N.
31163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31164 (__libc_msgsnd): Don't use CHECK_N.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31166 <bp-checks.h>.
31167 (__libc_pread): Don't use CHECK_N.
31168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31169 include <bp-checks.h>.
31170 (__libc_pread64): Don't use CHECK_N.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31172 include <bp-checks.h>.
31173 (__libc_pwrite): Don't use CHECK_N.
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31175 include <bp-checks.h>.
31176 (__libc_pwrite64): Don't use CHECK_N.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31178 <bp-checks.h>.
31179 (__libc_pread): Don't use CHECK_N.
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31181 include <bp-checks.h>.
31182 (__libc_pread64): Don't use CHECK_N.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31184 include <bp-checks.h>.
31185 (__libc_pwrite): Don't use CHECK_N.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31187 include <bp-checks.h>.
31188 (__libc_pwrite64): Don't use CHECK_N.
31189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31190 (do_pread): Don't use CHECK_N.
31191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31192 (do_pread64): Don't use CHECK_N.
31193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31194 (do_pwrite): Don't use CHECK_N.
31195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31196 (do_pwrite64): Don't use CHECK_N.
31197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31198 (__libc_readv): Don't use CHECK_N.
31199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31200 (semop): Don't use CHECK_N.
31201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31202 <bp-checks.h>.
31203 (semtimedop): Don't use CHECK_N.
31204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31205 (__libc_pread): Don't use CHECK_N.
31206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31207 <bp-checks.h>.
31208 (__libc_pread64): Don't use CHECK_N.
31209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31210 <bp-checks.h>.
31211 (__libc_pwrite): Don't use CHECK_N.
31212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31213 <bp-checks.h>.
31214 (__libc_pwrite64): Don't use CHECK_N.
31215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31216 <bp-checks.h>.
31217 (__libc_msgrcv): Don't use CHECK_N.
31218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31221 (__libc_writev): Don't use CHECK_N.
31222
b84660a8
RM
312232013-02-08 Roland McGrath <roland@hack.frob.com>
31224
7f3e75f8
RM
31225 * string/strcpy.c: Removed unused variable.
31226
b84660a8
RM
31227 * Makeconfig (+sysdep-includes): Define with := rather than =.
31228 Use an existing include/ subdir of each sysdeps dir before it.
31229
471514d3
CD
312302013-02-08 Carlos O'Donell <carlos@redhat.com>
31231
31232 * nscd/connection.c (register_traced_file): Comment function.
31233 [HAVE_INOTIFY] (union __inev): Define.
31234 [HAVE_INOTIFY] (inotify_check_files): New function.
31235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31237 clear_db_cache.
31238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31239
b2d3c3be
CD
312402013-02-08 Carlos O'Donell <carlos@redhat.com>
31241
31242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31243 loaded if not already and that a failure is permanent.
31244
b39949d2
CD
312452013-02-08 Carlos O'Donell <carlos@redhat.com>
31246
ddacd1db 31247 [BZ #15006]
b39949d2
CD
31248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31250
b2c9eff4
JM
312512013-02-08 Joseph Myers <joseph@codesourcery.com>
31252
f3aae3f3
JM
31253 [BZ #13550]
31254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31255 (CHECK_1_NULL_OK): Likewise.
31256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31257 (__fxstat): Do not use CHECK_1.
31258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31259 <bp-checks.h>.
31260 (___fxstat64): Do not use CHECK_1.
31261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31262 <bp-checks.h>.
31263 (__fxstatat): Do not use CHECK_1.
31264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31265 <bp-checks.h>.
31266 (__fxstatat64): Do not use CHECK_1.
31267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31268 <bp-checks.h>.
31269 (__fxstat): Do not use CHECK_1.
31270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31271 <bp-checks.h>.
31272 (__fxstatat): Do not use CHECK_1.
31273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31274 <bp-checks.h>.
31275 (__getresgid): Do not use CHECK_1.
31276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31277 <bp-checks.h>.
31278 (__getresuid): Do not use CHECK_1.
31279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31280 <bp-checks.h>.
31281 (__lxstat): Do not use CHECK_1.
31282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31283 <bp-checks.h>.
31284 (__old_msgctl): Do not use CHECK_1.
31285 (__new_msgctl): Likewise.
31286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31287 <bp-checks.h>.
31288 (__new_setrlimit): Do not use CHECK_1.
31289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31290 <bp-checks.h>.
31291 (__old_shmctl): Do not use CHECK_1.
31292 (__new_shmctl): Likewise.
31293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31294 <bp-checks.h>.
31295 (__xstat): Do not use CHECK_1.
31296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31297 (__lxstat): Do not use CHECK_1.
31298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31299 <bp-checks.h>.
31300 (___lxstat64): Do not use CHECK_1.
31301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31302 (__old_msgctl): Do not use CHECK_1.
31303 (__new_msgctl): Likewise.
31304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31305 <bp-checks.h>.
31306 (__gettimeofday): Do not use CHECK_1.
31307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31310 <bp-checks.h>.
31311 (__gettimeofday): Do not use CHECK_1.
31312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31314 (__new_shmctl): Do not use CHECK_1.
31315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31316 <bp-checks.h>.
31317 (do_sigtimedwait): Do not use CHECK_1.
31318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31319 <bp-checks.h>.
31320 (do_sigwaitinfo): Do not use CHECK_1.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31322 <bp-checks.h>.
31323 (msgctl): Do not use CHECK_1.
31324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31325 <bp-checks.h>.
31326 (shmctl): Do not use CHECK_1.
31327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31328 (ustat): Do not use CHECK_1.
31329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31330 <bp-checks.h>.
31331 (__fxstat): Do not use CHECK_1.
31332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31333 <bp-checks.h>.
31334 (__fxstatat): Do not use CHECK_1.
31335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31336 <bp-checks.h>.
31337 (__lxstat): Do not use CHECK_1.
31338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31339 <bp-checks.h>.
31340 (__xstat): Do not use CHECK_1.
31341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31342 (__xstat): Do not use CHECK_1.
31343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31344 (___xstat64): Do not use CHECK_1.
31345
b2c9eff4
JM
31346 [BZ #13550]
31347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31348 definitions.
31349 (CHECK_BOUNDS_HIGH): Likewise.
31350 * string/strcpy.c: Do not include <bp-checks.h>.
31351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31352
f1d70dad
RM
313532013-02-07 Roland McGrath <roland@hack.frob.com>
31354
31355 * nscd/nscd-client.h (__nscd_drop_map_ref):
31356 Add __attribute__ ((unused)).
31357 * nis/nss-nisplus.h (niserr2nss): Likewise.
31358
31359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31361
31362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31363 Remove inline keyword.
31364 * include/rounding-mode.h (round_away): Likewise.
31365 * libio/wfileops.c (adjust_wide_data): Likewise.
31366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31367 (__m128i_strloadu_tolower): Likewise.
31368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31369 (__m128i_strloadu_tolower): Likewise.
31370 * time/mktime.c (ydhms_diff): Likewise.
31371 * locale/elem-hash.h (elem_hash): Likewise.
31372 * locale/setlocale.c (setdata): Likewise.
31373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31374 (re_string_wchar_at): Likewise.
31375 (bitset_not, bitset_merge, bitset_mask): Likewise.
31376 [!(__GNUC__ > 3)] (inline): Remove macro.
31377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31381 * string/memcmp.c (memcmp_bytes): Likewise.
31382 * locale/programs/locarchive.c (compute_hashval): Likewise.
31383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31386 * nss/getent.c (print_rpc, print_protocols): Likewise.
31387 (print_passwd, print_group, print_aliases): Likewise.
31388 * nis/nss-nisplus.h (niserr2nss): Likewise.
31389 * nscd/connections.c (restart_p): Likewise.
31390 Change return type to bool.
31391
eab55bfb
RM
313922013-02-05 Roland McGrath <roland@hack.frob.com>
31393
7bd642f5
RM
31394 * Makeconfig (all-Depend-files): Add existing
31395 $(sorted-subdirs:=/Depend) files.
31396 (all-subdirs): Remove nss.
31397 * sysdeps/unix/inet/Subdirs: Add it here instead.
31398 * hesiod/Depend: New file.
31399
573c29b2
RM
31400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31401 instead of calling alloca.
31402
b2e25af0
RM
31403 * io/lseek.c (__lseek): Rename to __libc_lseek.
31404 Define __lseek as an alias.
31405
eab55bfb
RM
31406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31407
9a0d1941
CD
314082013-02-04 Carlos O'Donell <carlos@redhat.com>
31409
31410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31411 else clause and remove check for non-standard endianness.
31412
b83bbec4
DM
314132013-02-04 David S. Miller <davem@davemloft.net>
31414
31415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31416
6277fdab
JM
314172013-02-04 Joseph Myers <joseph@codesourcery.com>
31418
31419 [BZ #13550]
31420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31421 (__ubp_memchr): Remove prototype.
31422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31427 Remove alias.
31428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31429 (__ubp_memchr): Likewise.
31430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31431 (__ubp_memchr): Likewise.
31432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31436 CHECK_STRING.
31437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31439 (__getcwd): Do not use CHECK_STRING.
31440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31441 <bp-checks.h>.
31442 (__real_chown): Do not use CHECK_STRING.
31443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31444 <bp-checks.h>.
31445 (fchownat): Do not use CHECK_STRING.
31446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31447 CHECK_STRING.
31448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31449 <bp-checks.h>.
31450 (__lchown): Do not use CHECK_STRING.
31451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31456 include <bp-checks.h>.
31457 (truncate64): Do not use CHECK_STRING.
31458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31459 <bp-checks.h>.
31460 (__real_chown): Do not use CHECK_STRING.
31461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31462 <bp-checks.h>.
31463 (__lchown): Do not use CHECK_STRING.
31464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31465 <bp-checks.h>.
31466 (__chown): Do not use CHECK_STRING.
31467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31468 <bp-checks.h>.
31469 (truncate64): Do not use CHECK_STRING.
31470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31471 Likewise.
31472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31473 (__xmknod): Do not use CHECK_STRING.
31474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31475 <bp-checks.h>.
31476 (__xmknodat): Do not use CHECK_STRING.
31477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31479
903ae060
AS
314802013-02-04 Andreas Schwab <schwab@suse.de>
31481
31482 [BZ #14142]
31483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31484 * include/netdb.h: Likewise for h_errno.
31485 * elf/tst-stackguard1.c: Include <tls.h>.
31486
542f9466
JK
314872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31488
31489 * elf/link.h (struct link_map): Extend the l_addr comment.
31490 * include/link.h (struct link_map): Likewise.
31491
e782a927
JM
314922013-02-01 Joseph Myers <joseph@codesourcery.com>
31493
31494 [BZ #13550]
31495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31496 (BOUNDED_1): Remove macro.
31497 * debug/backtrace.c: Don't include <bp-checks.h>.
31498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31499 (__backtrace): Likewise.
31500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31501 <bp-checks.h>.
31502 (__backtrace): Don't use BOUNDED_1.
31503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31504 <bp-checks.h>.
31505 (__backtrace): Don't use BOUNDED_1.
31506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31507 (__backtrace): Don't use BOUNDED_1.
31508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31509 (shmat): Don't use BOUNDED_N.
31510
8cf28c5e
JM
315112013-01-31 Joseph Myers <joseph@codesourcery.com>
31512
3a7ac8a0
JM
31513 [BZ #13550]
31514 * sysdeps/generic/bp-start.h: Remove file.
31515 * csu/libc-start.c: Don't include <bp-start.h>.
31516 (LIBC_START_MAIN): Set up __environ directly instead of using
31517 INIT_ARGV_and_ENVIRON.
31518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31519 <bp-start.h>.
31520
f3499f95
JM
31521 [BZ #13550]
31522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31523 definitions.
31524 (CHECK_FCNTL): Likewise.
31525 (CHECK_N_PAGES): Likewise.
31526
32a45bea
JM
31527 [BZ #13550]
31528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31529 definitions.
31530 (CHECK_SIGSET_NULL_OK): Likewise.
31531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31532 <bp-checks.h>.
31533 (sigpending): Don't use CHECK_SIGSET.
31534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31535 <bp-checks.h>.
31536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31538 <bp-checks.h>.
31539 (do_sigsuspend): Don't use CHECK_SIGSET.
31540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31541 use CHECK_SIGSET.
31542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31543 (do_sigwait): Don't use CHECK_SIGSET.
31544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31545 use CHECK_SIGSET.
31546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31547 include <bp-checks.h>.
31548 (sigpending): Don't use CHECK_SIGSET.
31549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31550 include <bp-checks.h>.
31551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31553 <bp-checks.h>.
31554 (sigpending): Don't use CHECK_SIGSET.
31555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31556 <bp-checks.h>.
31557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31558
2e8a5c8c
JM
31559 [BZ #13550]
31560 * sysdeps/generic/bp-semctl.h: Remove file.
31561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31562 <bp-checks.h> and <bp-semctl.h>.
31563 (__old_semctl): Don't use CHECK_SEMCTL.
31564 (__new_semctl): Likewise.
31565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31566 and <bp-semctl.h>.
31567 (__old_semctl): Don't use CHECK_SEMCTL.
31568 (__new_semctl): Likewise.
31569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31570 <bp-checks.h> and <bp-semctl.h>.
31571 (__old_semctl): Don't use CHECK_SEMCTL.
31572 (__new_semctl): Likewise.
31573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31574 <bp-checks.h> and <bp-semctl.h>.
31575 (semctl): Don't use CHECK_SEMCTL.
31576
c2d54929
JM
31577 [BZ #13550]
31578 * Makerules (elide-bp-thunks): Remove variable.
31579 (elide-routines.oS): Don't use $(elide-bp-thunks).
31580 (elide-routines.os): Likewise.
31581 (elide-routines.o): Likewise.
31582 (elide-routines.op): Likewise.
31583 (elide-routines.og): Likewise.
31584 (objects): Don't use $(bp-thunks).
31585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31586 include.
31587 (common-generated): Do not add s-proto-bp.d.
31588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31589 (int): Likewise.
31590 (typ): Likewise.
31591 Do not generate makefile rules for bounded-pointer thunks.
31592 * sysdeps/generic/bp-thunks.h: Remove file.
31593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31594 * sysdeps/unix/s-proto-bp.S: Likewise.
31595
8cf28c5e
JM
31596 [BZ #15062]
31597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31598 parts of result separately when argument is not close to line from
31599 -i to i and one part of argument is small.
31600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31602 * math/libm-test.inc (cacos_test): Add more tests.
31603 (casin_test): Likewise.
31604 (casinh_test): Likewise.
31605 * sysdeps/i386/fpu/libm-test-ulps: Update.
31606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31607
c4e33b8d
DM
316082013-01-31 David S. Miller <davem@davemloft.net>
31609
31610 * po/de.po: Update from translation team.
31611
3b60b421
MK
316122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31613
31614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31615
bb931195
TS
316162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31617
b5a5da23
TS
31618 * configure.in (_AC_PROG_CC_C89): New definition.
31619 * configure: Regenerate.
31620
bb931195
TS
31621 * configure.in (AC_PROG_CPP): New definition.
31622 * configure: Regenerate.
31623
8c53a12c
JM
316242013-01-23 Joseph Myers <joseph@codesourcery.com>
31625
31626 * debug/tst-backtrace.h: New file.
31627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31628 (ret): Remove variable.
31629 (x): Likewise.
31630 (FAIL): Remove macro.
31631 (NO_INLINE): Likewise.
31632 (fn1): Use match function instead of strstr.
31633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31634 (ret): Remove variable.
31635 (x): Likewise.
31636 (FAIL): Remove macro.
31637 (NO_INLINE): Likewise.
31638 (fn): Use match function instead of strstr.
31639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31640 (ret): Remove variable.
31641 (x): Likewise.
31642 (FAIL): Remove macro.
31643 (NO_INLINE): Likewise.
31644 (handle_signal): Use match function instead of strstr.
31645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31646 (ret): Remove variable.
31647 (x): Likewise.
31648 (FAIL): Remove macro.
31649 (NO_INLINE): Likewise.
31650 (handle_signal): Use match function instead of strstr.
31651
4858fa2a
RM
316522013-01-23 Roland McGrath <roland@hack.frob.com>
31653
31654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31655
bae8e7f5
DM
316562013-01-23 David S. Miller <davem@davemloft.net>
31657
31658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31660 argument of CAS if possible.
31661 * sysdeps/sparc/sparc64/bits/atomic.h
31662 (__arch_compare_and_exchange_val_32_acq): Likewise.
31663 (__arch_compare_and_exchange_val_64_acq): Likewise.
31664
9cbbc4ae
PT
316652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31666
31667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31668 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31669 Include <limits.h>.
67b3f58c 31670 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31671
5655a0b5
AC
316722013-01-23 Adam Conrad <adconrad@0c3.net>
31673
31674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31675 (LDFLAGS-tst-array5): Likewise.
31676
052aff95
JM
316772013-01-23 Joseph Myers <joseph@codesourcery.com>
31678
31679 [BZ #15036]
31680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31684
7c1e01aa
DM
316852013-01-21 David S. Miller <davem@davemloft.net>
31686
31687 * sysdeps/sparc/backtrace.c: New file.
31688 * sysdeps/sparc/sparc32/backtrace.h: New file.
31689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31690 * sysdeps/sparc/sparc64/backtrace.h: New file.
31691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31693 -funwind-tables.
31694
ab087e0a
AS
316952013-01-21 Andreas Schwab <schwab@suse.de>
31696
31697 [BZ #15020]
31698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31699 closed its stdout.
31700
ed689c2f
AS
317012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31702
31703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31704 "mpa2.h".
31705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31706
31d470ac
JM
317072013-01-18 Joseph Myers <joseph@codesourcery.com>
31708 Mark Mitchell <mark@codesourcery.com>
31709 Tom de Vries <tom@codesourcery.com>
31710 Paul Pluzhnikov <ppluzhnikov@google.com>
31711
31712 * debug/tst-backtrace2.c: New file.
31713 * debug/tst-backtrace3.c: Likewise.
31714 * debug/tst-backtrace4.c: Likewise.
31715 * debug/tst-backtrace5.c: Likewise.
31716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31717 (CFLAGS-tst-backtrace3.c): Likewise.
31718 (CFLAGS-tst-backtrace4.c): Likewise.
31719 (CFLAGS-tst-backtrace5.c): Likewise.
31720 (LDFLAGS-tst-backtrace2): Likewise.
31721 (LDFLAGS-tst-backtrace3): Likewise.
31722 (LDFLAGS-tst-backtrace4): Likewise.
31723 (LDFLAGS-tst-backtrace5): Likewise.
31724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31725 tst-backtrace4 and tst-backtrace5.
31726
90567f30 317272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31729
31730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31736 "+r" and remove output regs list as redundant. Add explicit inline
31737 asm to specify register of return val to work around compiler codegen
31738 bug. Remove (int) cast on return value. Add return type parameter to
31739 use in macro so that this macro does not truncate return value for
31740 64-bit values.
31741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31742 pass to INTERNAL_VSYSCALL_NCS.
31743 (INLINE_VSYSCALL): Add 'long int' as return type to
31744 INTERNAL_VSYSCALL_NCS macro invocation.
31745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31746 INTERNAL_VSYSCALL_NCS macro invocation.
31747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31748
d3b9ea61
SP
317492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31750
0b57daeb
SP
31751 [BZ #14496]
31752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31753 Fix application of SIMD FP exception mask.
31754
caa99d06
SP
31755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31756 mp_no from a power of two.
31757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31758 __mpexp_twomm1. Use __pow_mp.
31759
d3b9ea61
SP
31760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31761 multiplication.
31762
1dbaee3c
DM
317632013-01-17 David S. Miller <davem@davemloft.net>
31764
31765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31766
728d7b43
JM
317672013-01-17 Joseph Myers <joseph@codesourcery.com>
31768
31769 [BZ #15023]
31770 * include/complex.h: Condition contents on [!_COMPLEX_H].
31771 (__kernel_casinhf): New prototype.
31772 (__kernel_casinh): Likewise.
31773 (__kernel_casinhl): Likewise.
31774 * math/Makefile (libm_calls): Add k_casinh.
31775 * math/k_casinh.c: New file.
31776 * math/k_casinhf.c: Likewise.
31777 * math/k_casinhl.c: Likewise.
31778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31779 finite nonzero arguments.
31780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31781 finite nonzero arguments.
31782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31783 finite nonzero arguments.
31784 * math/s_casinh.c: Do not include <float.h>.
31785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31786 * math/s_casinhf.c: Do not include <float.h>.
31787 (__casinhf): Move code for finite nonzero arguments to
31788 k_casinhf.c.
31789 * math/s_casinhl.c: Do not include <float.h>.
31790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31791 redefine.
31792 (__casinhl): Move code for finite nonzero arguments to
31793 k_casinhl.c.
31794 * math/libm-test.inc (cacos_test): Add more tests.
31795 * sysdeps/i386/fpu/libm-test-ulps: Update.
31796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31797
2a26ef3a
PT
317982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31799
31800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31802 [!HAVE_MREMAP]: Remove [defined linux] case.
31803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31804
a897655d
SP
318052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31806
31807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31808
881ebe89 318092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31810
31811 * elf/elf.h (R_386_SIZE32): New relocation.
31812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31813 R_386_SIZE32.
31814 (elf_machine_rela): Likewise.
31815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31817
59981e9b
JM
318182013-01-17 Joseph Myers <joseph@codesourcery.com>
31819
31820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31821 (FP_FAST_FMA): Do not define.
31822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31826 !_SOFT_FLOAT]: Likewise.
31827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31829 value.
31830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31836 file.
31837
cfa8054f
AS
318382013-01-16 Andreas Schwab <schwab@suse.de>
31839
31840 [BZ #14327]
31841 * include/stdlib.h (__mktemp): Add declaration.
31842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31844
dd930cc5
SP
318452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31846
881ebe89
SP
31847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31848 definitions.
31849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31852 definitions here.
31853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31855 definitions.
31856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31857 and ONE.
31858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31861 definitions.
31862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31864 definitions.
31865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31866
dd930cc5
SP
31867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31868
c19a9f89
DM
318692013-01-15 David S. Miller <davem@davemloft.net>
31870
1aa61767
DM
31871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31872 trunc{,f} to libm-sysdep_routes.
31873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31875 file.
31876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31878 file.
31879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31880 file.
31881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31889
c42d5e98
DM
31890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31891 nearbyint{,f} to libm-sysdep_routes.
31892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31894 New file.
31895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31896 file.
31897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31898 New file.
31899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31900 file.
31901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31904 file.
31905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31907 file.
31908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31911
c19a9f89
DM
31912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31913 libc_feholdexcept and libc_fesetenv.
31914
357679d2
MF
319152013-01-15 Mike Frysinger <vapier@gentoo.org>
31916
31917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31918
65a82e3d
DM
319192013-01-14 David S. Miller <davem@davemloft.net>
31920
8b954ab9
DM
31921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31922 (SPARC_ASM_VIS2_IFUNC): Likewise.
31923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31925 use of 'siam' instruction.
31926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31927 Likewise.
31928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31929 Likewise.
31930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31931 Likewise.
31932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31937 file.
31938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31939 file.
31940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31941 file.
31942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31943 file.
31944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31949 new VIS2 routines.
31950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31953 Likewise.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31959 routines to libm-sysdep_routines.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31961
65a82e3d
DM
31962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31963 fdim/fdimf to libm-sysdep_routines.
31964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31965 file.
31966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31968 file.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31976
e34ab705
SP
319772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31978
2a91b573
SP
31979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31980 to optimize copies.
31981
1066a534
SP
31982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31985
e34ab705
SP
31986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31987 local variable MPTWO.
31988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31989 Likewise.
31990
aba5e596
MF
319912013-01-13 Mike Frysinger <vapier@gentoo.org>
31992
31993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31994 GLOB_NOESCAPE.
31995
e557e9e5
MF
319962013-01-13 Mike Frysinger <vapier@gentoo.org>
31997
31998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31999
0428cec9
MF
320002013-01-13 Mike Frysinger <vapier@gentoo.org>
32001
32002 * manual/pattern.texi (glob_t): Document gl_flags.
32003 (glob64_t): Likewise.
32004
8794a964
DM
320052013-01-11 David S. Miller <davem@davemloft.net>
32006
66438c3f
RM
32007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32020
4ae4244d
DM
32021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32022 sparc V9 rather than using V8 code.
32023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32025
8794a964
DM
32026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32027 Move to...
32028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32029 Here.
32030
6270516e
RM
320312013-01-11 Roland McGrath <roland@hack.frob.com>
32032
32033 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32034 not in the main loop.
32035 * configure: Regenerated.
32036
6a57d931
JM
320372013-01-11 Joseph Myers <joseph@codesourcery.com>
32038
32039 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32040 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32041 to just #else.
32042 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32043 [!__GLIBC_HAVE_LONG_LONG] case.
32044 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32045 condition to just #else.
32046 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32047 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32048 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32049 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32050 unconditional.
32051 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32052 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32053 #elif condition to just #else.
32054 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32055 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32056 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32057 #elif condition to just #else.
32058
0e8529e9
SE
320592013-01-11 Steve Ellcey <sellcey@mips.com>
32060
32061 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32062 (EF_MIPS_ARCH_64): Fix value.
32063 (EF_MIPS_ARCH_32R2): New.
32064 (EF_MIPS_ARCH_64R2): New.
32065
740b3dbe
L
320662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32067
32068 * Makeconfig (+link-pie-before-libc): New.
32069 (+link-pie-after-libc): Likewise.
32070 (+link-pie-tests): Likewise.
32071 (+link-pie): Rewritten.
32072 (link-before-libc): Remove $(config-LDFLAGS).
32073 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32074 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32075 (config-LDFLAGS): Renamed to ...
32076 (rtld-LDFLAGS): This.
32077 (rtld-tests-LDFLAGS): New macro.
32078 (link-libc-rpath-link): Likewise.
32079 (link-libc-tests-rpath-link): Likewise.
32080 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32081 (link-libc): Prepand $(link-libc-rpath-link).
32082 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32083 (test-program-prefix): New macro.
32084 (test-via-rtld-prefix): Likewise.
32085 (test-program-cmd): Likewise.
32086 (host-test-program-cmd): Likewise.
32087 * Makefile ($(common-objpfx)testrun.sh): Replace
32088 $(run-program-prefix) with $(test-program-prefix).
32089 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32090 $(rtld-LDFLAGS).
32091 ($(common-objpfx)shlib.lds): Likewise.
32092 (build-module-helper): Likewise.
32093 ($(common-objpfx)format.lds): Likewise.
32094 * Rules (binaries-pie-tests): New.
32095 (binaries-pie-notests): Likewise.
32096 (binaries-pie): Rewritten.
32097 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32098 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32099 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32100 (make-test-out): Replace $(host-built-program-cmd) with
32101 $(host-test-program-cmd).
32102 * config.make.in (build-hardcoded-path-in-tests): New variable.
32103 * configure.in (--enable-hardcoded-path-in-tests): New configure
32104 option.
32105 (hardcoded_path_in_tests): New AC_SUBST.
32106 * configure: Regenerated.
32107 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32108 $(built-program-cmd) with $(test-program-cmd).
32109 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32110 (test_program_cmd): This.
32111 * elf/Makefile ($(objpfx)order.out): Run test with
32112 $(test-program-prefix).
32113 ($(objpfx)order2.out): Likewise.
32114 ($(objpfx)tst-initorder.out): Likewise.
32115 ($(objpfx)tst-initorder2.out): Likewise.
32116 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32117 $(test-program-cmd).
32118 ($(objpfx)tst-array1-static.out): Likewise.
32119 ($(objpfx)tst-array2.out): Likewise.
32120 ($(objpfx)tst-array3.out): Likewise.
32121 ($(objpfx)tst-array4.out): Likewise.
32122 ($(objpfx)tst-array5.out): Likewise.
32123 ($(objpfx)tst-array5-static.out): Likewise.
32124 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32125 $(test-program-cmd).
32126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32127 $(run-program-prefix) with $(test-program-prefix).
32128 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32129 (test_program_prefix): This.
32130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32131 $(run-program-prefix) with $(test-program-prefix).
32132 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32133 (test_program_prefix): This.
32134 * iconvdata/tst-tables.sh: Likewise.
32135 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32136 $(run-program-prefix) with $(test-program-prefix).
32137 ($(objpfx)tst-translit.out): Likewise.
32138 ($(objpfx)tst-gettext2.out): Likewise.
32139 ($(objpfx)tst-gettext4.out): Likewise.
32140 ($(objpfx)tst-gettext6.out): Likewise.
32141 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32142 (test_program_prefix): This.
32143 * intl/tst-gettext2.sh: Likewise.
32144 * intl/tst-gettext4.sh Likewise.
32145 * intl/tst-gettext6.sh: Likewise.
32146 * intl/tst-translit.sh: Likewise.
32147 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32148 with $(test-program-cmd).
32149 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32150 $(run-program-prefix) with $(test-program-prefix).
32151 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32152 (test_program_prefix): This.
32153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32154 $(run-program-prefix) with $(test-program-prefix).
32155 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32156 (test_program_prefix): This.
32157 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32158 * posix/Makefile ($(objpfx)globtest.out): Replace
32159 $(run-via-rtld-prefix) and $(test-wrapper) with
32160 $(test-program-prefix) and $(test-via-rtld-prefix).
32161 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32162 $(test-program-prefix).
32163 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32164 $(host-test-program-cmd).
32165 (tst-spawn-ARGS): Likewise.
32166 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32167 $(test-program-prefix).
32168 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32169 (test_via_rtld_prefix): This.
32170 (test_wrapper): Renamed to ...
32171 (test_program_prefix): This.
32172 (run_program_prefix): Replaced by test_program_prefix.
32173 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32174 (test_program_prefix): This.
32175 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32176 with $(host-test-program-cmd).
32177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32178 $(run-program-prefix) with $(test-program-prefix).
32179 ($(objpfx)tst-printf.out): Likewise.
32180 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32181 $(test-program-cmd).
32182 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32183 (test_program_prefix): This.
32184 * stdio-common/tst-unbputc.sh: Likewise.
32185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32186 $(run-program-prefix) with $(test-program-prefix).
32187 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32188 (test_program_prefix): This.
32189 * string/Makefile ($(objpfx)tst-svc.out): Replace
32190 $(built-program-cmd) with $(test-program-cmd).
32191
c6fe55cf
AJ
321922013-01-11 Andreas Jaeger <aj@suse.de>
32193
32194 [BZ #15003]
32195 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32196 value. Sync with Linux 3.7.
32197
9e6919c8
DM
321982013-01-10 David S. Miller <davem@davemloft.net>
32199
32200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32201 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32202 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32203
1c9f1a02
RM
322042013-01-10 Roland McGrath <roland@hack.frob.com>
32205
32206 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32207 never set.
32208 * configure: Regenerated.
32209
b9de2dde
DM
322102013-01-10 David S. Miller <davem@davemloft.net>
32211
32212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32213 sparc V9 rather than using V8 code.
32214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32216
e7f68ef4
RM
322172013-01-10 Roland McGrath <roland@hack.frob.com>
32218
32219 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32220 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32221 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32222 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32223 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32224 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32225 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32226 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32227 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32228 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32229 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32230 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32231 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32232 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32233 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32234 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32235 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32236 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32237 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32238 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32239 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32240 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32241 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32242 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32243 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32244 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32245 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32246
5a47cc9c
DM
322472013-01-10 David S. Miller <davem@davemloft.net>
32248
32249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32250
4cf8f209
L
322512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32252
32253 * posix/Makefile (tests-static): New variable.
32254 (tests): Add $(tests-static).
32255 (tst-exec-static-ARGS): New variable.
32256 (tst-spawn-static-ARGS): Likewise.
32257 * posix/tst-exec-static.c: New file.
32258 * posix/tst-spawn-static.c: Likewise.
32259 * posix/tst-exec.c: Support run directly.
32260 * posix/tst-spawn.c: Likewise.
32261
fed0faa1
JM
322622013-01-10 Joseph Myers <joseph@codesourcery.com>
32263
828beb13
JM
32264 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32265 long.
32266 * math/bits/mathcalls.h (llrint): Likewise.
32267 (llround): Likewise.
32268 * stdlib/stdlib.h (struct drand48_data): Likewise.
32269 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32270 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32271 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32272 Likewise.
32273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32274 Likewise.
32275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32276 (elf_greg_t): Likewise.
32277 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32278 (__jmp_buf): Likewise.
32279 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32280 definitions.
32281 (llrint): Likewise, for all definitions.
32282 (llrintl): Likewise.
32283
fed0faa1
JM
32284 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32285 Remove [__GNUC__] condition.
32286 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32287 condition to just [__USE_ISOC99].
32288 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32289
1a20cb20
L
322902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32291
32292 [BZ #14200]
32293 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32294 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32295 defined.
32296 (_POSIX_V6_ILP32_OFF32): Likewise.
32297 (_XBS5_ILP32_OFF32): Likewise.
32298 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32299 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32300
751b85f7
SP
323012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32302
7490eb81
SP
32303 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32304
751b85f7
SP
32305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32306 doubles __mpexp_twomm1. Adjust usage.
32307 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32308 Remove.
32309
988197f0
AS
323102013-01-10 Andreas Schwab <schwab@suse.de>
32311
32312 [BZ #14964]
32313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32314 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32315
e83d7298
DM
323162013-01-09 David S. Miller <davem@davemloft.net>
32317
034ed64b 32318 [BZ #15003]
57f41c40
AS
32319 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32320 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32321 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32322 (TCP_FASTOPEN): Define.
e83d7298
DM
32323 (tcp_repair_opt): New structure.
32324 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32325 enum values.
57f41c40
AS
32326 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32327 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32328 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32329 (tcp_cookie_transactions): New structure.
32330
d5e0b9bd
AB
323312013-01-09 Anton Blanchard <anton@samba.org>
32332
32333 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32337
0c07e3ea
JM
323382013-01-09 Joseph Myers <joseph@codesourcery.com>
32339
32340 * include/features.h (__USE_ANSI): Remove.
32341
232f7002
RM
323422013-01-09 Roland McGrath <roland@hack.frob.com>
32343
ad98e30c
RM
32344 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32345
232f7002
RM
32346 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32347
950c99ca
SP
323482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32349
b5792741
SP
32350 * sysdeps/s390/fpu/libm-test-ulps: Update.
32351
47cf2278
SP
32352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32353
950c99ca
SP
32354 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32355 (__acr): Likewise.
32356 (__cpy): Likewise.
32357 (norm): Likewise.
32358 (denorm): Likewise.
32359 (__mp_dbl): Likewise.
32360 (__dbl_mp): Likewise.
32361 (add_magnitudes): Likewise.
32362 (sub_magnitudes): Likewise.
32363 (__add): Likewise.
32364 (__sub): Likewise.
32365 (__mul): Likewise.
32366 (__inv): Likewise.
32367 (__dvd): Likewise.
32368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32369 (__acr): Likewise.
32370 (__cpy): Likewise.
32371 (norm): Likewise.
32372 (denorm): Likewise.
32373 (__mp_dbl): Likewise.
32374 (__dbl_mp): Likewise.
32375 (add_magnitudes): Likewise.
32376 (sub_magnitudes): Likewise.
32377 (__add): Likewise.
32378 (__sub): Likewise.
32379 (__mul): Likewise.
32380 (__inv): Likewise.
32381 (__dvd): Likewise.
32382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32383 (__acr): Likewise.
32384 (__cpy): Likewise.
32385 (norm): Likewise.
32386 (denorm): Likewise.
32387 (__mp_dbl): Likewise.
32388 (__dbl_mp): Likewise.
32389 (add_magnitudes): Likewise.
32390 (sub_magnitudes): Likewise.
32391 (__add): Likewise.
32392 (__sub): Likewise.
32393 (__mul): Likewise.
32394 (__inv): Likewise.
32395 (__dvd): Likewise.
32396
eede9df9
JM
323972013-01-08 Joseph Myers <joseph@codesourcery.com>
32398
32399 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32400 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32401 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32402 2 && __USE_EXTERN_INLINES]: Likewise.
32403
c40ea3d9
AJ
324042013-01-08 Andreas Jaeger <aj@suse.de>
32405
32406 [BZ# 14985]
32407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32408 Remove.
32409 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32411
2ccdea26
AB
324122013-01-07 Anton Blanchard <anton@samba.org>
32413
32414 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32415 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32416 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32418 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32420 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32421 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32437 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32438 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32457
a9708fed
JM
324582013-01-07 Joseph Myers <joseph@codesourcery.com>
32459
375607b9
JM
32460 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32461 (__MALLOC_PMT): Likewise.
32462 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32463 [__GNUC__], only on [_LIBC].
32464 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32465 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32466 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32467 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32468 forward declaration.
32469 (realloc_hook_ini): Likewise.
32470 (memalign_hook_ini): Likewise.
32471 (__libc_memalign): Do not use __MALLOC_PMT in variable
32472 declaration.
32473 (__libc_valloc): Likewise.
32474 (__libc_pvalloc): Likewise.
32475 (__libc_calloc): Likewise.
32476 (__posix_memalign): Likewise.
32477
a9708fed
JM
32478 [BZ #14996]
32479 * math/s_casinh.c: Include <float.h>.
32480 (__casinh): Do not do computation with squaring and square root
32481 for large arguments.
32482 * math/s_casinhf.c: Include <float.h>.
32483 (__casinhf): Do not do computation with squaring and square root
32484 for large arguments.
32485 * math/s_casinhl.c: Include <float.h>.
32486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32487 (__casinhl): Do not do computation with squaring and square root
32488 for large arguments.
32489 * math/libm-test.inc (casin_test): Add more tests.
32490 (casinh_test): Likewise.
32491 * sysdeps/i386/fpu/libm-test-ulps: Update.
32492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32493
afec409a
L
324942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32495
32496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32497 (__x86_64_raw_data_cache_size): Likewise.
32498 (__x86_64_data_cache_size_half): Likewise.
32499 (__x86_64_raw_data_cache_size_half): Likewise.
32500 (__x86_64_shared_cache_size): Likewise.
32501 (__x86_64_raw_shared_cache_size): Likewise.
32502 (__x86_64_shared_cache_size_half): Likewise.
32503 (__x86_64_raw_shared_cache_size_half): Likewise.
32504 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32505 to ...
32506 (__x86_data_cache_size): This.
32507 (__x86_64_raw_data_cache_size): Renamed to ...
32508 (__x86_raw_data_cache_size): This.
32509 (__x86_64_data_cache_size_half): Renamed to ...
32510 (__x86_data_cache_size_half): This.
32511 (__x86_64_raw_data_cache_size_half): Renamed to ...
32512 (__x86_raw_data_cache_size_half): This.
32513 (__x86_64_shared_cache_size): Renamed to ...
32514 (__x86_shared_cache_size): This.
32515 (__x86_64_raw_shared_cache_size): Renamed to ...
32516 (__x86_raw_shared_cache_size): This.
32517 (__x86_64_shared_cache_size_half): Renamed to ...
32518 (__x86_shared_cache_size_half): This.
32519 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32520 (__x86_raw_shared_cache_size_half): This.
32521 * sysdeps/x86_64/memcpy.S: Updated.
32522 * sysdeps/x86_64/memset.S: Likewise.
32523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32526
0b3986d0
DM
325272013-01-04 David S. Miller <davem@davemloft.net>
32528
32529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32530
e47686e9
AS
325312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32532
d643bac1
AS
32533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32534 1 to avoid redefinition warning.
32535 (__USE_GNU): Don't define.
32536 (init_signaling_nan): Protoize.
32537
e47686e9
AS
32538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32539
b18decba
SP
325402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32541
fffb407f
SP
32542 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32544 (__cpymn): Likewise.
32545 (norm): Remove commented code.
32546 (denorm): Likewise.
32547 (__mp_dbl): Likewise.
32548 (__inv): Likewise.
32549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32550 (__cpymn): Likewise.
32551 (norm): Remove commented code.
32552 (denorm): Likewise.
32553 (__mp_dbl): Likewise.
32554 (__inv): Likewise.
32555
b18decba
SP
32556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32557 mp_no value for 1.0 and 2.0.
32558 (norm): Use RADIXI instead of radixi.d.
32559 (denorm): Likewise.
32560 (__mul): Use 0.0 instead of zero.d.
32561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32562 mp_no value for 1.0 and 2.0.
32563 (norm): Use RADIXI instead of radixi.d.
32564 (denorm): Likewise.
32565 (__mul): Use 0.0 instead of zero.d.
32566
cdc1c96f
JM
325672013-01-04 Joseph Myers <joseph@codesourcery.com>
32568
32569 [BZ #14994]
32570 * math/s_casinh.c (__casinh): Reduce finite argument to first
32571 quadrant then set signs of results at the end.
32572 * math/s_casinhf.c (__casinhf): Likewise.
32573 * math/s_casinhl.c (__casinhl): Likewise.
32574 * math/libm-test.inc (casin_test): Add more tests.
32575 (casinh_test): Likewise.
32576 * sysdeps/i386/fpu/libm-test-ulps: Update.
32577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32578
302913e1
SP
325792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32580
6420d207
SP
32581 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32582
a9e48ab4
SP
32583 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32584
b7837264
SP
32585 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32586 declarations.
32587 (denorm): Likewise.
32588 (__mp_dbl): Likewise.
32589 (__inv): Likewise.
32590
f8af25d2
SP
32591 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32592 and adjust the header comment.
32593
302913e1
SP
32594 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32595 variable name from declaration.
32596
5d7dd1ca
L
325972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32600 Initialize COMMON_CPUID_INDEX_7 element.
32601 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32602 (CPUID_RTM): Likewise.
32603 (HAS_RTM): Likewise.
32604 (COMMON_CPUID_INDEX_7): New enum.
32605
2f5f40f4
AS
326062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32607
32608 [BZ #14981]
32609 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32610 size is zero, record memory as freed.
32611
4056f4a0
AJ
326122013-01-03 Andreas Jaeger <aj@suse.de>
32613
32614 * po/ia.po: Add new Interlingua translation.
32615
ab15736f 326162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32617
32618 * locale/programs/localedef.c: Fix description of '--posix' flag.
32619
568035b7
JM
326202013-01-02 Joseph Myers <joseph@codesourcery.com>
32621
e6898b8d
JM
32622 * NEWS: Update dates in second copyright notice.
32623 * README: Update copyright dates in example.
32624 * manual/libc.texinfo: Update copyright dates.
32625 * scripts/test-installation.pl: Update copyright date in --version
32626 output.
32627
0e2f9562
JM
32628 * hurd/ctty-input.c: Fix copyright notice formatting.
32629 * hurd/ctty-output.c: Likewise.
32630 * hurd/dtable.c: Likewise.
32631 * hurd/hurd-raise.c: Likewise.
32632 * hurd/hurdprio.c: Likewise.
32633 * hurd/msgportdemux.c: Likewise.
32634 * misc/sys/file.h: Likewise.
32635 * misc/sys/ioctl.h: Likewise.
32636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32637 * sysdeps/mach/hurd/chdir.c: Likewise.
32638 * sysdeps/mach/hurd/fchdir.c: Likewise.
32639 * sysdeps/mach/hurd/rename.c: Likewise.
32640 * sysdeps/mach/hurd/rmdir.c: Likewise.
32641 * sysdeps/mach/hurd/seekdir.c: Likewise.
32642 * sysdeps/mach/hurd/setsid.c: Likewise.
32643 * sysdeps/posix/wait3.c: Likewise.
32644
568035b7
JM
32645 * All files with FSF copyright notices: Update copyright dates
32646 using scripts/update-copyrights.
32647 * intl/plural.c: Regenerated.
32648 * locale/programs/charmap-kw.h: Likewise.
32649 * locale/programs/locfile-kw.h: Likewise.
32650
da08f647
SP
326512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32652
0f5477af
SP
32653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32654 four values.
32655
44e0d4c2
SP
32656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32657 calculation loop and add branch prediction.
32658
4d55b4e5
SP
32659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32660 check access beyond bounds of m1np.
32661
da08f647
SP
32662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32663 MPTWO.
32664 (__inv): Remove local variable MPTWO to use the global
32665 constant.
32666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32668 variable MPTWO.
32669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32670 MP3HALFS static const.
32671
8e051029
DM
326722013-01-01 David S. Miller <davem@davemloft.net>
32673
32674 * po/ca.po: Update from translation team.
32675
f4cf5f2d
JM
326762013-01-01 Joseph Myers <joseph@codesourcery.com>
32677
32678 * scripts/update-copyrights: New file.
32679 * Makeconfig: Reformat copyright notice.
32680 * ctype/ctype.h: Likewise.
32681 * debug/swprintf_chk.c: Likewise.
32682 * elf/dl-cache.c: Likewise.
32683 * elf/dl-debug.c: Likewise.
32684 * elf/dl-object.c: Likewise.
32685 * grp/initgroups.c: Likewise.
32686 * hurd/Makefile: Likewise.
32687 * hurd/hurd/signal.h: Likewise.
32688 * hurd/hurdfault.c: Likewise.
32689 * hurd/hurdioctl.c: Likewise.
32690 * hurd/hurdlookup.c: Likewise.
32691 * hurd/intr-msg.c: Likewise.
32692 * iconv/gconv_open.c: Likewise.
32693 * libio/swprintf.c: Likewise.
32694 * locale/lc-ctype.c: Likewise.
32695 * locale/nl_langinfo.c: Likewise.
32696 * mach/Machrules: Likewise.
32697 * mach/Makefile: Likewise.
32698 * malloc/obstack.h: Likewise.
32699 * manual/Makefile: Likewise.
32700 * manual/tsort.awk: Likewise.
32701 * misc/bits/stab.def: Likewise.
32702 * nis/nis_print_group_entry.c: Likewise.
32703 * nis/nis_table.c: Likewise.
32704 * nis/nss_compat/compat-pwd.c: Likewise.
32705 * nis/nss_compat/compat-spwd.c: Likewise.
32706 * po/Makefile: Likewise.
32707 * posix/fnmatch.c: Likewise.
32708 * posix/regex.h: Likewise.
32709 * resolv/Makefile: Likewise.
32710 * resolv/nss_dns/dns-network.c: Likewise.
32711 * resolv/res_hconf.c: Likewise.
32712 * scripts/gen-sorted.awk: Likewise.
32713 * soft-fp/soft-fp.h: Likewise.
32714 * stdio-common/printf.h: Likewise.
32715 * stdlib/monetary.h: Likewise.
32716 * stdlib/random.c: Likewise.
32717 * stdlib/random_r.c: Likewise.
32718 * sysdeps/generic/Makefile: Likewise.
32719 * sysdeps/gnu/Makefile: Likewise.
32720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32734 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32748 * sysdeps/mach/hurd/errnos.awk: Likewise.
32749 * sysdeps/mach/hurd/fork.c: Likewise.
32750 * sysdeps/mach/hurd/getcwd.c: Likewise.
32751 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32752 * sysdeps/mach/hurd/mmap.c: Likewise.
32753 * sysdeps/mach/hurd/utimes.c: Likewise.
32754 * sysdeps/mach/hurd/xmknod.c: Likewise.
32755 * sysdeps/posix/profil.c: Likewise.
32756 * sysdeps/posix/readdir_r.c: Likewise.
32757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32758 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32760 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32768 * sysdeps/pthread/lio_listio.c: Likewise.
32769 * sysdeps/sparc/dl-procinfo.h: Likewise.
32770 * sysdeps/unix/i386/sysdep.S: Likewise.
32771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32772 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32773 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32774 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32776 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32778 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32779 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32780 * sysdeps/wordsize-32/divdi3.c: Likewise.
32781 * time/sys/time.h: Likewise.
32782 * wcsmbs/Makefile: Likewise.
32783
0549fbba
DM
327842013-01-01 David S. Miller <davem@davemloft.net>
32785
a141f1a7
DM
32786 * po/fr.po: Update from translation team.
32787
0549fbba
DM
32788 * catgets/gencat.c: Update copyright year.
32789 * csu/version.c: Likewise.
32790 * debug/catchsegv.sh: Likewise.
32791 * debug/pcprofiledump.c: Likewise.
32792 * debug/xtrace.sh: Likewise.
32793 * elf/ldconfig.c: Likewise.
32794 * elf/ldd.bash.in: Likewise.
32795 * elf/pldd.c: Likewise.
32796 * elf/sotruss.ksh: Likewise.
32797 * elf/sprof.c: Likewise.
32798 * iconv/iconv_prog.c: Likewise.
32799 * iconv/iconvconfig.c: Likewise.
32800 * locale/programs/locale.c: Likewise.
32801 * locale/programs/localedef.c: Likewise.
32802 * login/programs/pt_chown.c: Likewise.
32803 * malloc/memusage.sh: Likewise.
32804 * malloc/memusagestat.c: Likewise.
32805 * malloc/mtrace.pl: Likewise.
32806 * nscd/nscd.c: Likewise.
32807 * nss/getent.c: Likewise.
32808 * nss/makedb.c: Likewise.
32809 * posix/getconf.c: Likewise.
32810
18ea052c
SP
328112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32812
32813 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32814 numbers.
32815
9c89fca6
MF
328162012-12-30 Mike Frysinger <vapier@gentoo.org>
32817
32818 * math/bits/mathcalls.h (modf): Use __nonnull.
32819
085ec079
SP
328202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32821
32822 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32823 (split): Use macro CN instead of the bare value.
32824 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32825 could be used.
32826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32827 instead of the bare value.
32828 (power1): Likewise.
32829
6d9f97e1
SP
328302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32831
d63f73be
SP
32832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32833 __ATAN_TWOM.
32834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32835
6d9f97e1
SP
32836 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32837 their values.
32838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32840 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32842
4c4febf5
AJ
328432012-12-28 Andreas Jaeger <aj@suse.de>
32844
af5843ef
AJ
32845 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32846 values are from Linux 3.7.
32847
4c4febf5
AJ
32848 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32849 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32850
99136f82
SP
328512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32852
2f216c3c 32853 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32854 TRUE case.
32855
99136f82
SP
32856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32857 (norm): Likewise.
32858 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32859 variables with preprocessor constants.
32860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32861 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32863
7fffbdff
BH
328642012-12-27 Bruno Haible <bruno@clisp.org>
32865
32866 [BZ #14317]
32867 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32868 only if needed.
32869
b76eb5f0
SP
328702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32871
31a7fe5c
SP
32872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32873 and use variable directly.
32874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32875
b76eb5f0
SP
32876 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32877 MPONE.
32878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32880 variable MPONE.
32881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32883 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32884 include directive. Remove local variable MPONE.
32885 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32888
2c8bfe7d
DM
328892012-12-25 David S. Miller <davem@davemloft.net>
32890
32891 * version.h (RELEASE): Set to "development".
32892 (VERSION): Set to "2.17.90".
32893 * NEWS: Add 2.18 section.
32894
147d03b0
DM
328952012-12-21 David S. Miller <davem@davemloft.net>
32896
32897 * po/hr.po: Update from translation team.
32898
a8ebb2b9
AK
328992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32900
32901 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32902
95b4f1b6
SE
329032012-12-19 Steve Ellcey <sellcey@mips.com>
32904
b2d94007 32905 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32906
cedb2a90
MS
329072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32908
32909 * manual/contrib.texi (Contributors): Spelling correction.
32910
bbf527d6
DM
329112012-12-15 David S. Miller <davem@davemloft.net>
32912
32913 * po/ru.po: Update from translation team.
32914
bc38c906
DM
329152012-12-13 David S. Miller <davem@davemloft.net>
32916
85429b1a
DM
32917 * NEWS: Mention IFUNC testsuite enhancements.
32918
d283e353
DM
32919 * po/pl.po: Update from translation team.
32920 * po/bg.po: Likewise.
32921
bc38c906
DM
32922 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32923 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32924
a181b0d7
DM
329252012-12-11 David S. Miller <davem@davemloft.net>
32926
4641d57e
DM
32927 * po/sv.po: Update from translation team.
32928
f7bc6495
DM
32929 * po/vi.po: Update from translation team.
32930
6fc9048f
DM
32931 * po/cs.po: Update from translation team.
32932
a181b0d7
DM
32933 * po/de.po: Update from translation team.
32934 * po/eo.po: Likewise.
32935 * po/nl.po: Likewise.
32936
f70bfe80
SP
329372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32938
3c8b4190
SP
32939 [BZ #14246]
32940 * manual/argp.texi (Argp Helper Functions): Move node to follow
32941 Argp Parsing State.
32942
f70bfe80
SP
32943 [BZ #14872]
32944 * manual/conf.texi (Limits on File System Capacity): Mention if
32945 terminating null is included in the max size.
32946
188f0adf
AJ
329472012-12-10 Andreas Jaeger <aj@suse.de>
32948
32949 * po/cs.po: Update from translation team.
32950
56e7d3ad
SP
329512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32952
32953 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32954 void pointer and cast to uintptr_t.
32955 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32956 path.
32957 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32958 * sysdeps/s390/s390-64/memset.S: Likewise.
32959
76f2d2ea 329602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32961
32962 [BZ #14833]
32963 * menual/message.texi (Message Translation): Fix typos.
32964 (Helper programs for gettext): Likewise.
32965
67cbf9a2
AS
329662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32967
32968 [BZ #14898]
32969 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32970 Change to -1.
32971
682d0e9a
DM
329722012-12-07 David S. Miller <davem@davemloft.net>
32973
32974 * po/libc.pot: Update.
32975
573cd484
RH
329762012-12-07 Richard Henderson <rth@redhat.com>
32977
7e9da188 32978 [BZ #10114]
573cd484
RH
32979 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32980 normal/normal case to before the switch.
32981 (_FP_DIV): Likewise.
32982
e933a943
MF
329832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32984 Mike Frysinger <vapier@gentoo.org>
32985
32986 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32987 check for __NR_fadvise64_64.
32988
82123268
CM
329892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32990
32991 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32992 0, not just to plain "0" as a statement.
32993 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32994 with cw.
32995
d9814526
JM
329962012-12-06 Joseph Myers <joseph@codesourcery.com>
32997
32998 * NEWS: Use sourceware.org in Bugzilla URL.
32999
7728c574
SP
330002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33001
f16946dd
SP
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33004
5704bbcb
SP
33005 * stdio-common/tst-put-error.c (do_test): Add newline to the
33006 padded test to ensure flush.
33007
17aa0516
JL
330082012-12-05 Jeff Law <law@redhat.com>
33009
33010 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33011
363313b5
JM
330122012-12-05 Joseph Myers <joseph@codesourcery.com>
33013
effbd42a
JM
33014 * README: Don't refer to ports add-on as distributed separately.
33015 Mention AArch64 in list of systems supported in the ports add-on.
33016
87600365
JM
33017 * LICENSES: Add more non-FSF copyright and license notices.
33018
a0d7066a
JM
33019 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33020 ((unused)).
33021
66ca5a5b
JM
33022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33023
363313b5
JM
33024 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33025 10000 as width of padded output.
33026
b37984ad
JM
330272012-12-04 Joseph Myers <joseph@codesourcery.com>
33028
9003570a
JM
33029 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33030
b37984ad
JM
33031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33032 variable LX with __attribute__ ((unused)).
33033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33034 Likewise.
33035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33038 with __attribute__ ((unused)).
33039
c8df52ec
DM
330402012-12-04 David S. Miller <davem@abraco.davemloft.net>
33041
33042 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33043
b3b099af
JM
330442012-12-04 Joseph Myers <joseph@codesourcery.com>
33045
c33aa6e3
JM
33046 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33047 (CFLAGS-nldbl-acos.c): New variable.
33048 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33049 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33050 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33051 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33052 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33053 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33054 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33055 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33056 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33057 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33058 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33059 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33060 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33061 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33062 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33063 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33064 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33065 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33066 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33067 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33068 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33069 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33070 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33071 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33072 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33073 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33074 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33075 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33076 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33077 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33078 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33079 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33080 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33081 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33082 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33083 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33084 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33085 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33086 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33087 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33088 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33089 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33090 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33091 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33092 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33093 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33094 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33095 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33096 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33097 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33098 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33099 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33100 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33101 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33102 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33103 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33104 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33105 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33106 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33107 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33108 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33109 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33110 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33111 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33112 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33113 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33114 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33115 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33116 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33117 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33118 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33119 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33120 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33121 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33122 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33123 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33124 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33125 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33126 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33127 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33128 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33129 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33130 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33131 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33132 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33133 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33134 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33135 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33136 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33137 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33138 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33139 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33140 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33141 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33142 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33143 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33144 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33145
20f0018d
JM
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33148
b3b099af
JM
33149 [BZ #14914]
33150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33151 whole low double instead of just low 47 bits when splitting values
33152 into two parts.
33153
029264d1
AM
331542012-12-03 Allan McRae <allan@archlinux.org>
33155
33156 * manual/stdio.texi (Predefined Printf Handlers): Remove
33157 @hsep and @vsep usage.
33158
c9d6789e
MF
331592012-12-03 Mike Frysinger <vapier@gentoo.org>
33160
33161 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33162 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33163
4b7634a5
JL
331642012-12-03 Jeff Law <law@redhat.com>
33165
33166 * time/sys/time.h (settimeofday): Do not mark TV argument
33167 as __nonnull.
33168
eb6cbd24
MF
331692012-12-01 Mike Frysinger <vapier@gentoo.org>
33170
33171 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33172 when currently writing and seek to current position when not.
33173 * libio/Makefile (tests): Remove bug-fclose1.
33174 * libio/bug-fclose1.c: Delete.
33175
f638872a
JM
331762012-12-01 Joseph Myers <joseph@codesourcery.com>
33177
33178 * manual/arith.texi (feenableexcept): Fix typo.
33179 (fedisableexcept): Likewise.
33180
48085d14
RM
331812012-11-30 Roland McGrath <roland@hack.frob.com>
33182
33183 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33184 second, differently-typed declaration, rather than a cast.
33185
1a538b9f
SP
331862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33187
33188 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33189 * include/rpc/svc.h: ... here.
33190
d07f2ff1 331912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33192
33193 [BZ #13013]
33194 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33195 depending n and resplen2 to catch cases where answer
33196 equals answerp2.
33197
c93ec1f0
CD
331982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33199
33200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33201 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33202
37db69de
MF
332032012-11-29 Mike Frysinger <vapier@gentoo.org>
33204
33205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33206
e10c4e4f
RM
332072012-11-29 Roland McGrath <roland@hack.frob.com>
33208
33209 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33210
2af1b328
JL
332112012-11-28 Jeff Law <law@redhat.com>
33212
33213 [BZ #13761]
33214 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33215 dataset_temporary. Track alloca usage into alloca_used.
33216 If dataset is large allocate and release it via malloc/free.
33217
111db5b1
FW
332182012-06-04 Florian Weimer <fweimer@redhat.com>
33219
f06cc227 33220 [BZ #14197]
111db5b1
FW
33221 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33222
dd694abd
DM
332232012-11-28 David S. Miller <davem@davemloft.net>
33224
33225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33226
9984dd01
JM
332272012-11-28 Joseph Myers <joseph@codesourcery.com>
33228
33229 [BZ #14803]
33230 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33231 of pi/2 rounded to nearest to 64 bits.
33232 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33233 nearest to 64 bits.
33234 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33235 bits.
33236
14bc93a9
JL
332372012-11-28 Jeff Law <law@redhat.com>
33238 Martin Osvald <mosvald@redhat.com>
33239
33240 [BZ #14889]
33241 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33242 * sunrpc/svc.c: Include time.h.
33243 (__svc_accept_failed): New function.
33244 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33245 any reason other than EINTR, call __svc_accept_failed.
33246 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33247 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33248
e3c6aa3a
AS
332492012-11-28 Andreas Schwab <schwab@suse.de>
33250
33251 * scripts/abilist.awk: Also handle indirect functions in .opd
33252 section.
33253
1bead169
JM
332542012-11-28 Joseph Myers <joseph@codesourcery.com>
33255
33256 [BZ #13881]
33257 * sysdeps/x86/fpu/powl_helper.c: New file.
33258 * sysdeps/x86/fpu/Makefile: Likewise.
33259 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33260 (p3): New object.
33261 (__ieee754_powl): Use __powl_helper for finite arguments except
33262 integer exponents below 8.
33263 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33264 (p3): New object.
33265 (__ieee754_powl): Use __powl_helper for finite arguments except
33266 integer exponents below 8.
33267 * math/libm-test.inc (pow_test): Add more tests and enable some
33268 previously disabled tests.
33269 * sysdeps/i386/fpu/libm-test-ulps: Update.
33270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33271
0817d63d
SP
332722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33273 Carlos O'Donell <carlos_odonell@mentor.com>
33274
33275 * nss/makedb.c (is_prime): Assert that input is odd and greater
33276 than 4. Note that fact in a comment too.
33277 (next_prime): Add 4 to input.
33278
de2fd463
SP
332792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33280
33281 [BZ #11741]
33282 * libio/Makefile (tests): Add test case tst-fwrite-error.
33283 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33284 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33285 * libio/tst-fwrite-error.c: New test case.
33286
c515fb51
L
332872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33288
33289 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33290 before casting to void *.
33291 * include/libc-internal.h (__pointer_type): New macro.
33292 (__integer_if_pointer_type_sub): Likewise.
33293 (__integer_if_pointer_type): Likewise.
33294 (cast_to_integer): Likewise.
33295 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33296 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33297 before casting to atomic64_t.
33298 (atomic_exchange_acq): Likewise.
33299 (__arch_exchange_and_add_body): Likewise.
33300 (__arch_add_body): Likewise.
33301 (atomic_add_negative): Likewise.
33302 (atomic_add_zero): Likewise.
33303
4cf77aa9
JM
333042012-11-26 Joseph Myers <joseph@codesourcery.com>
33305
33306 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33307 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33308 (add_fdes): Likewise.
33309 (linear_search_fdes): Likewise.
33310 (binary_search_unencoded_fdes): Likewise.
33311
d260b3b4
AS
333122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33313
33314 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33315
67060746
AC
333162012-11-24 Adam Conrad <adconrad@0c3.net>
33317
33318 * configure.in: Autodetect C++ header directories.
33319 * configure: Regenerated.
33320
800938a1
MF
333212012-11-23 Mike Frysinger <vapier@gentoo.org>
33322
33323 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33324
4e6e34e6
AS
333252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33326
33327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33328
7c7feb47
JM
333292012-11-22 Joseph Myers <joseph@codesourcery.com>
33330
7184dcdf
JM
33331 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33332 LDBL_MANT_DIG == 106]: Disable some tests.
33333 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33334 Likewise.
33335 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33336 Likewise.
33337
0a42601f
JM
33338 [BZ #14871]
33339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33340 input for small inputs. Return +/- pi/2 for large inputs.
33341 * math/libm-test.inc (atan_test): Add more tests.
33342
79c9b9fe
JM
33343 * sysdeps/generic/unwind-dw2-fde-glibc.c
33344 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33345 __attribute__ ((unused)).
33346
c60d3bf2
JM
33347 [BZ #14645]
33348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33349 x * y if x and y are nonzero and z is zero.
33350
ef1e0867
JM
33351 [BZ #14811]
33352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33353 nonzero exponents with absolute value below 0x1p-117 to +/-
33354 0x1p-117.
33355
1468ded3
JM
33356 [BZ #14869]
33357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33358 up arguments below 2**-450, not just those below 2**-500.
33359 * math/libm-test.inc (hypot_test): Add another test.
33360
8e27e3cc
JM
33361 [BZ #14868]
33362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33363 Return a+b for ratio over 2**120, not 2**60.
33364 * math/libm-test.inc (hypot_test): Add another test.
33365
c9c0279b
JM
33366 * math/libm-test.inc (clog_test): Use
33367 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33368 (clog10_test): Likewise.
33369
7c7feb47
JM
33370 [BZ #6778]
33371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33372
fff1530e
AS
333732012-11-22 Andreas Schwab <schwab@suse.de>
33374
33375 * sysdeps/i386/fpu/libm-test-ulps: Update.
33376
94558d30
PT
333772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33378
33379 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33380 printf output with newline.
33381
7e1be741
L
333822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33383
6bfea974
L
33384 [BZ #14865]
33385 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33386 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33387 -z nodlopen, -z initfirst and -z execstack support.
33388 * configure: Regenerated.
33389
7e1be741
L
33390 * elf/elf.h (DF_1_NODIRECT): New macro.
33391 (DF_1_IGNMULDEF): Likewise.
33392 (DF_1_NOKSYMS): Likewise.
33393 (DF_1_NOHDR): Likewise.
33394 (DF_1_EDITED): Likewise.
33395 (DF_1_NORELOC): Likewise.
33396 (DF_1_SYMINTPOSE): Likewise.
33397 (DF_1_GLOBAUDIT): Likewise.
33398 (DF_1_SINGLETON): Likewise.
33399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33400 DT_1_SUPPORTED_MASK bits.
33401 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33402
105ce2ce
CD
334032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33404
33405 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33406
123be9de
TS
334072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33408
d072f3f7
TS
33409 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33410 macro.
33411
123be9de
TS
33412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33413 (sendmmsg): Move declarations...
33414 * socket/sys/socket.h: ... here.
33415 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33416 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33417 include it from...
33418 * socket/recvmmsg.c: ... this new file.
33419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33420 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33421 definition of __sendmmsg hidden.
33422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33423 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33424 Move ENOSYS stub into and include it from...
33425 * socket/sendmmsg.c: ... this new file.
33426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33427 (sysdep_routines): Move recvmmsg and sendmmsg...
33428 * socket/Makefile (routines): ... here.
33429 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33430 (GLIBC_PRIVATE): Add __sendmmsg.
33431 * include/sys/socket.h (__sendmmsg): Add declarations.
33432 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33433 sendmmsg.
33434
cf9a5d18
JM
334352012-11-20 Joseph Myers <joseph@codesourcery.com>
33436
33437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33438 variable I1 with __attribute__ ((unused)).
33439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33440
ecd4caf9
JM
334412012-11-19 Joseph Myers <joseph@codesourcery.com>
33442
be14d48f
JM
33443 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33444 DUMMY variables with __attribute__ ((unused)).
33445
ecd4caf9
JM
33446 * bits/byteswap.h: Include <bits/types.h>.
33447 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33448
986cab95
PT
334492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33450
33451 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33452 string_t. Do not manually set errno.
33453 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33454 length with __strnlen. Make sure to both set errno and return it on
33455 failure.
33456
6d33cc9d
DM
334572012-11-19 David S. Miller <davem@davemloft.net>
33458
33459 With help from Joseph Myers.
33460 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33461 very large arguments properly.
33462 * math/libm-test.inc (atan_test): New tests.
33463 (atan2_test): New tests.
33464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33466
ee663277
JM
334672012-11-19 Joseph Myers <joseph@codesourcery.com>
33468
877f2d8e
JM
33469 [BZ #14856]
33470 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33471 Define to 3.
33472
116fc08a
JM
33473 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33474 [POSIX] (EADDRNOTAVAIL): Likewise.
33475 [POSIX] (EAFNOSUPPORT): Likewise.
33476 [POSIX] (EALREADY): Likewise.
33477 [POSIX] (ECONNABORTED): Likewise.
33478 [POSIX] (ECONNREFUSED): Likewise.
33479 [POSIX] (ECONNRESET): Likewise.
33480 [POSIX] (EDESTADDRREQ): Likewise.
33481 [POSIX] (EDQUOT): Likewise.
33482 [POSIX] (EHOSTUNREACH): Likewise.
33483 [POSIX] (EIDRM): Likewise.
33484 [POSIX] (EISCONN): Likewise.
33485 [POSIX] (ELOOP): Likewise.
33486 [POSIX] (EMULTIHOP): Likewise.
33487 [POSIX] (ENETDOWN): Likewise.
33488 [POSIX] (ENETUNREACH): Likewise.
33489 [POSIX] (ENOBUFS): Likewise.
33490 [POSIX] (ENODATA): Likewise.
33491 [POSIX] (ENOLINK): Likewise.
33492 [POSIX] (ENOMSG): Likewise.
33493 [POSIX] (ENOPROTOOPT): Likewise.
33494 [POSIX] (ENOSR): Likewise.
33495 [POSIX] (ENOSTR): Likewise.
33496 [POSIX] (ENOTCONN): Likewise.
33497 [POSIX] (ENOTSOCK): Likewise.
33498 [POSIX] (EOPNOTSUPP): Likewise.
33499 [POSIX] (EOVERFLOW): Likewise.
33500 [POSIX] (EPROTO): Likewise.
33501 [POSIX] (EPROTONOSUPPORT): Likewise.
33502 [POSIX] (EPROTOTYPE): Likewise.
33503 [POSIX] (ESTALE): Likewise.
33504 [POSIX] (ETIME): Likewise.
33505 [POSIX] (ETXTBSY): Likewise.
33506 [POSIX] (EWOULDBLOCK): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33508 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33509 [POSIX] (SEEK_CUR): Likewise.
33510 [POSIX] (SEEK_END): Likewise.
33511 [POSIX || UNIX98] (mode_t): Do not require.
33512 [POSIX] (off_t): Likewise.
33513 [POSIX] (pid_t): Likewise.
33514 [POSIX] (sys/stat.h): Do not allow header.
33515 [POSIX] (unistd.h): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33517 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33519 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33520 require.
33521 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33522 sigevent): Specify elements.
33523 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33524 entry.
33525 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33526 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33527
a483863f
JM
33528 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33529 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33530 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33531 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33532 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33533 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33534 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33535 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33538 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33540 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33542 Likewise.
33543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33544 Likewise.
33545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33546 Likewise.
33547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33548 Likewise.
33549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33553 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33554 Specify lower bound on value.
33555 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33556 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33557 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33558 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33559 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33561 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33562 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33563 value.
33564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33565 as optional.
33566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33567 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33568 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33569 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33570 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33571 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33572 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33574 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33577 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33578 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33579 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33580 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33582 entry.
33583 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33584 optional.
33585 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33588 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33589 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33591 Likewise.
33592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33594 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33595 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33596 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33597 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33599 as optional.
33600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33603 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33604 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33605 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33606 specify as optional.
33607 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33608 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33611 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33612 [XPG3] (NL_LANGMAX): Likewise.
33613 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33614 [POSIX || XPG3] (NL_NMAX): Likewise.
33615 [POSIX || XPG3] (NL_SETMAX): Likewise.
33616 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33617 [XPG3] (NZERO): Likewise.
33618 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33619 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33620 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33621 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33622 (REG_ERANGE): Expect.
33623 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33624 optional-constant.
33625 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33626 Use (void) in prototype.
33627 [POSIX] (*_t): Allow.
33628 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33629 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33630 (WRDE_BADVAL): Expect.
33631
5ba924e3
JM
33632 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33633 expect.
33634 [XPG3 || XPG4] (O_RSYNC): Likewise.
33635 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33636 Likewise.
33637 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33638 [XPG3 || XPG4] (sigqueue): Likewise.
33639 [XPG3 || XPG4] (sigtimedwait): Likewise.
33640 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33641 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33642 [XPG3 || XPG4] (vsnprintf): Likewise.
33643 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33644 Likewise.
33645 [XPG3 || XPG4] (blksize_t): Likewise.
33646 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33647 Likewise.
33648 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33649 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33650 [XPG3 || XPG4] (struct itimerspec): Likewise.
33651 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33652 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33653 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33654 [XPG3 || XPG4] (clockid_t): Likewise.
33655 [XPG3 || XPG4] (timer_t): Likewise.
33656 [XPG3 || XPG4] (clock_getres): Likewise.
33657 [XPG3 || XPG4] (clock_gettime): Likewise.
33658 [XPG3 || XPG4] (clock_settime): Likewise.
33659 [XPG3 || XPG4] (nanosleep): Likewise.
33660 [XPG3 || XPG4] (timer_create): Likewise.
33661 [XPG3 || XPG4] (timer_delete): Likewise.
33662 [XPG3 || XPG4] (timer_gettime): Likewise.
33663 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33664 [XPG3 || XPG4] (timer_settime): Likewise.
33665 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33666 [XPG3 || XPG4] (getlogin_r): Likewise.
33667 [XPG3 || XPG4] (pread): Likewise.
33668 [XPG3 || XPG4] (pthread_atfork): Likewise.
33669 [XPG3 || XPG4] (pwrite): Likewise.
33670
ee663277
JM
33671 [BZ #14835]
33672 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33673 <bits/siginfo.h>.
33674
942caa16
PT
336752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33676
e19af380
PT
33677 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33678 finalizing MALLSTREAM.
33679
942caa16
PT
33680 * sysdeps/mach/hurd/syncfs.c: New file.
33681
cfde9b46
SP
336822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33683
33684 [BZ #14719]
33685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33686 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33688 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33689 (_nss_dns_gethostbyname4_r): Likewise.
33690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33691 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33692
f6da27e5
PH
336932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33694
33695 [BZ #13763]
33696 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33697
6665d4a2
SM
336982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33699
1f51ee92
SM
33700 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33701 * elf/cache.c (print_entry): Print ",AArch64" for
33702 FLAG_AARCH64_LIB64
33703
6665d4a2
SM
33704 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33705 * elf/cache.c (print_entry): Print ",hard-float" for
33706 FLAG_ARM_LIBHF.
33707
05b227bd
DM
337082012-11-18 David S. Miller <davem@davemloft.net>
33709
33710 With help from Joseph Myers.
33711 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33712 cutoff to 2**-13.
33713 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33714 cutoff to 2**-25.
33715 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33716 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33717 small.
33718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33719 * math/libm-test.inc (y0_test): New tests.
33720 (y1_test): New tests.
33721 * sysdeps/i386/fpu/libm-test-ulps: Update.
33722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33724
786b0b67
AS
337252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33726
33727 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33728 64-bit targets.
33729 * configure: Regenerated.
33730
8e18b86d
DM
337312012-11-17 David S. Miller <davem@davemloft.net>
33732
33733 [BZ #14811]
33734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33735 nonzero exponents with absolute value below 0x1p-128 to +/-
33736 0x1p-128.
33737
531f1ae0
JM
337382012-11-17 Joseph Myers <joseph@codesourcery.com>
33739
12df29e2
JM
33740 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33741
150dc1a0
JM
33742 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33743
531f1ae0
JM
33744 * posix/getconf-speclist.c: New file.
33745 * posix/posix-envs.def: Likewise.
33746 * posix/confstr.c (START_ENV_GROUP): New macro.
33747 (END_ENV_GROUP): Likewise.
33748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33749 (KNOWN_PRESENT_ENV_STRING): Likewise.
33750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33751 (UNKNOWN_ENVIRONMENT): Likewise.
33752 (confstr): Include posix-envs.def instead of handling
33753 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33754 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33755 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33756 (END_ENV_GROUP): Likewise.
33757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33759 (UNKNOWN_ENVIRONMENT): Likewise.
33760 (__sysconf): Include posix-envs.def instead of handling associated
33761 cases directly here.
33762 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33763 preprocessing getconf-speclist.c rather than running getconf or
33764 generating empty file.
33765
a93f9cbc
PT
337662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33767
33768 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33769
d64d9f87
AL
337702012-11-16 Andrej Lajovic <natrij@gmail.com>
33771
33772 [BZ #14672]
33773 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33774
447885eb
DM
337752012-11-16 David S. Miller <davem@davemloft.net>
33776
33777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33778 smaller than LDBL_EPSILON/2.0L, just return xm1.
33779
bcbf9830
L
337802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33781
33782 * elf/tst-array1.c (init): Set constructor priority to 1000.
33783 (fini): Set destructor priority to 1000.
33784 * elf/tst-array2dep.c: Likewise.
33785
2b766585
SP
337862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33787
33788 [BZ #11741]
33789 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33790 (_IO_new_file_xsputn): Also return EOF if none of the input
33791 data was written when overflow failed.
33792 * libio/iopadn.c (_IO_padn): Likewise.
33793 * libio/iowpadn.c (_IO_wpadn): Likewise.
33794 * stdio-common/tst-put-error.c: Add copyright notice.
33795 (do_test): Add case for printing padded string.
33796 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33797 _IO_padn returned error.
33798 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33799 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33800 return EOF.
33801
b1848fde
SP
338022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33803
33804 * libio/libioP.h: Add comment note that the references to C++
33805 bits are now obsolete.
33806
2fd89785
MS
338072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33808
33809 * math/libm-test.inc (check_complex): Use asprintf.
33810
e3ea5409
JM
338112012-11-14 Joseph Myers <joseph@codesourcery.com>
33812
33813 * debug/pcprofiledump.c (print_version): Update copyright year.
33814 * malloc/memusagestat.c (print_version): Likewise.
33815
2e64d265
L
338162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33817
33818 [BZ #14831]
33819 * elf/Makefile (tests): Add tst-audit8.
33820 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33821 ($(objpfx)tst-audit8.out): New target.
33822 (tst-audit8-ENV): New variable.
33823 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33824 audit if l_reloc_result is NULL.
33825 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33826 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33827 * elf/tst-audit8.c: New file.
33828
c485e4d2
MS
338292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33830
33831 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33832 * misc/Makefile (CFLAGS-select.c): Define.
33833 * posix/Makefile (CFLAGS-pause.c): Define.
33834
3a0d900a
DM
338352012-11-13 David S. Miller <davem@davemloft.net>
33836
33837 * crypt/Makefile: Move test targets after toplevel Rules
33838 inclusion. Grab any necessary sysdep routines when linking.
33839 * crypt/md5.c (md5_process_block): Remove define, we will always
33840 name it __md5_process_block.
33841 (md5_finish_ctx): Update md5_process_block call.
33842 (md5_stream): Likewise.
33843 (md5_process_bytes): Likewise.
33844 (md5_process_block): Rename to __md5_process_block and move to ...
33845 * crypt/md5-block.c: ... here.
33846 * crypt/sha256.c (sha256_process_block): Move to ...
33847 * crypt/sha256-block.c: ... here.
33848 * crypt/sha512.c (sha512_process_block): Move to ...
33849 * crypt/sha512-block.c: ... here.
33850 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33851 path.
33852 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33853 * sysdeps/sparc/sparc64/multiarch/Makefile
33854 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33855 crypt subdir.
33856 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33858 multiarch changes.
33859 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33860 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33861 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33862 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33863 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33864 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33865 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33868 file.
33869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33871 file.
33872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33873
8ca89318
JM
338742012-11-13 Joseph Myers <joseph@codesourcery.com>
33875
e27d476a
JM
33876 * timezone/tzselect.ksh: Update from tzcode git revision
33877 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33878 * timezone/zdump.c: Likewise.
33879 * timezone/zic.c: Likewise.
33880 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33881 in TZVERSION setting, not $(PKGVERSION).
33882 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33883 REPORT_BUGS_TO settings.
33884
8ca89318
JM
33885 [BZ #14838]
33886 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33887 macro.
33888
47594329
MS
338892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33890
33891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33892 detection to immediately after _FP_ROUND().
33893 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33894 bits are 0.
33895
640ac3f1
DM
338962012-11-11 David S. Miller <davem@davemloft.net>
33897
33898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33899 inttypes.h
33900 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33901 __close rather than their public counterparts.
33902
3d2577bb
JM
339032012-11-10 Joseph Myers <joseph@codesourcery.com>
33904
33905 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33906 file.
33907 [UNIX98] (sem_timedwait): Do not expect.
33908 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33909 [XPG4 || UNIX98] (sockatmark): Do not expect.
33910 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33911 (clock_getcpuclockid): Do not expect.
33912 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33913 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33914 Do not expect.
33915 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33916 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33917 [UNIX98] (vwscanf): Likewise.
33918 [UNIX98] (vswscanf): Likewise.
33919
fb1ae1ee
JM
339202012-11-09 Joseph Myers <joseph@codesourcery.com>
33921
9ec6f8bd
JM
33922 * timezone/version.h: Remove file.
33923 * timezone/README: Do not refer to version.h.
33924 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33925 $(objpfx)version.h.
33926 ($(objpfx)zdump.o): Likewise.
c3f81911 33927 ($(objpfx)version.h): New target.
9ec6f8bd 33928
0aa8f8a1
JM
33929 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33930 2012i.
33931 * timezone/README: Don't mention modification to tzselect.ksh.
33932 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33933 work on unmodified tzselect.ksh. Substitute version numbers in
33934 tzselect.ksh.
33935
4e87147f
JM
33936 * Makefile (format-me): Remove.
33937 (INSTALL): Adjust indentation. Use commands directly instead of
33938 using $(format-me).
33939
8b748aed
JM
33940 * aclocal.m4 (ACX_PKGVERSION): New macro.
33941 (ACX_BUGURL): Likewise.
33942 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33943 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33944 (REPORT_BUGS_TO): Likewise.
33945 * configure: Regenerated.
33946 * config.h.in (PKGVERSION): New macro.
33947 (REPORT_BUGS_TO): Likewise.
33948 * config.make.in (PKGVERSION): New variable.
33949 (PKGVERSION_TEXI): Likewise.
33950 (REPORT_BUGS_TO): Likewise.
33951 (REPORT_BUGS_TEXI): Likewise.
33952 * Makefile (format-me): Use -I$(common-objpfx)manual.
33953 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33954 ($(common-objpfx)manual/%): New target.
33955 (manual/%): Remove target.
33956 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33957 (print_version): Use PKGVERSION.
33958 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33959 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33960 and REPORT_BUGS_TO.
33961 ($(objpfx)xtrace): Likewise.
33962 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33963 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33964 (print_version): Use PKGVERSION.
33965 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33966 (do_version): Use PKGVERSION.
33967 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33968 REPORT_BUGS_TO.
33969 (common-ldd-rewrite): Likewise.
33970 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33971 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33972 (print_version): Use PKGVERSION.
33973 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33974 * elf/pldd.c (argp_program_bug_address): Remove variable.
33975 (more_help): New function.
33976 (argp): Use more_help.
33977 (print_version): Use PKGVERSION.
33978 * elf/sln.c (main): Use PKGVERSION.
33979 (usage): Use REPORT_BUGS_TO.
33980 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33981 (top level): Use PKGVERSION.
33982 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33983 (print_version): Use PKGVERSION.
33984 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33985 (print_version): Use PKGVERSION.
33986 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33987 (print_version): Use PKGVERSION.
33988 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33989 (print_version): Use PKGVERSION.
33990 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33991 (print_version): Use PKGVERSION.
33992 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33993 (print_version): Use PKGVERSION.
33994 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33995 and BUGURL.
33996 ($(objpfx)memusage): Likewise.
33997 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33998 (do_version): Use PKGVERSION.
33999 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34000 (print_version): Use PKGVERSION.
34001 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34002 ($PKGVERSION): New variable.
34003 ($REPORT_BUGS_TO): Likewise.
34004 (usage): Use $REPORT_BUGS_TO.
34005 (top level): Use $PKGVERSION.
34006 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34007 ($(objpfx)pkgvers.texi): New rule.
34008 ($(objpfx)stamp-pkgvers): Likewise.
34009 * manual/install.texi: Include pkgvers.texi.
34010 (--with-pkgversion): Document new configure option.
34011 (--with-bugurl): Likewise.
34012 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34013 than necessarily for this particular distribution. Use
34014 REPORT_BUGS_TO for where to report bugs.
34015 * INSTALL: Regenerated.
34016 * manual/libc.texinfo: Include pkgvers.texi.
34017 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34018 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34019 (print_version): Use PKGVERSION.
34020 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34021 (print_version): Use PKGVERSION.
34022 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34023 (print_version): Use PKGVERSION.
34024 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34025 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34026 macro.
34027 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34028 (print_version): Use PKGVERSION.
34029 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34030 (print_version): Use PKGVERSION.
34031 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34032 and PKGVERSION.
34033
92e4b6a9
JM
34034 * timezone/checktab.awk: Update from tzcode 2012i.
34035 * timezone/ialloc.c: Likewise.
34036 * timezone/private.h: Likewise.
34037 * timezone/scheck.c: Likewise.
34038 * timezone/tzfile.h: Likewise.
34039 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34040 (TZVERSION): Hardcode tzcode version number.
34041 * timezone/zdump.c: Update from tzcode 2012i.
34042 * timezone/zic.c: Likewise.
34043 * timezone/version.h: New file.
34044 * timezone/README: Describe version.h. Update upstream location.
34045
9bde902c
JM
34046 [BZ #14824]
34047 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34048 (mktemp): Enable declaration.
34049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34053 Likewise.
34054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34055 Likewise.
34056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34057 Likewise.
34058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34059 Likewise.
34060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34061 Likewise.
34062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34063 Likewise.
34064
fb1ae1ee
JM
34065 [BZ #14821]
34066 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34067 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34068 for copies of such integer values.
34069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34071
2c1adbcb
AJ
340722012-11-09 Andreas Jaeger <aj@suse.de>
34073
34074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34075 definitions and declarations that are provided by
34076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34077
d0f8457e
AK
340782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34079
3a235abb 34080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34081 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34082 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34083 definition.
34084
57241e26
MS
340852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34086
34087 * elf/elf.h: Update comment before AArch64 relocations.
34088
60e8270d
DM
340892012-11-07 David S. Miller <davem@davemloft.net>
34090
34091 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34092 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34093 (__start_context): Declare.
34094 (__makecontext_ret): Delete.
34095 (__makecontext): Hook up __start_context instead of
34096 __makecontext_ret.
34097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34098 (sysdep_routines): Add __start_context when in stdlib.
34099
0fbb0fbc
JM
341002012-11-07 Joseph Myers <joseph@codesourcery.com>
34101
34102 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34103 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34104 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34105 hardcoded "nm".
34106 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34107 (READELF): New variable. Use it instead of hardcoded "readelf".
34108
eb48db7e
L
341092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34110
34111 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34112 * sysdeps/x86/Makefile: Here.
34113 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34114 * sysdeps/x86/tst-xmmymm.sh: This.
34115
05bcf62a
JM
341162012-11-07 Joseph Myers <joseph@codesourcery.com>
34117
c4b6cf53
JM
34118 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34119 expectations.
34120 [UNIX98] (pthread_barrier_t): Do not expect.
34121 [UNIX98] (pthread_barrierattr_t): Likewise.
34122 [UNIX98] (pthread_spinlock_t): Likewise.
34123 [UNIX98] (pthread_barrier_destroy): Likewise.
34124 [UNIX98] (pthread_barrier_init): Likewise.
34125 [UNIX98] (pthread_barrier_wait): Likewise.
34126 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34127 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34128 [UNIX98] (pthread_barrierattr_init): Likewise.
34129 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34130 [UNIX98] (pthread_getcpuclockid): Likewise.
34131 [UNIX98] (pthread_mutex_timedlock): Likewise.
34132 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34133 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34134 [UNIX98] (pthread_sigmask): Likewise.
34135 [UNIX98] (pthread_spin_destroy): Likewise.
34136 [UNIX98] (pthread_spin_init): Likewise.
34137 [UNIX98] (pthread_spin_lock): Likewise.
34138 [UNIX98] (pthread_spin_trylock): Likewise.
34139 [UNIX98] (pthread_spin_unlock): Likewise.
34140 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34141 Do not expect.
34142 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34144 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34145 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34146 [XPG3 || XPG4] (pthread_key_t): Likewise.
34147 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34148 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34149 [XPG3 || XPG4] (pthread_once_t): Likewise.
34150 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34151 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34153 [XPG3 || XPG4] (pthread_t): Likewise.
34154
cbe6e120
JM
34155 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34156 not expect.
34157 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34158
1b126443
JM
34159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34160 Change function return type to int.
34161
b961a573
JM
34162 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34163 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34164 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34165 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34166 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34167 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34168 [!POSIX] (posix_madvise): Likewise.
34169 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34170 && !UNIX98].
34171 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34172 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34173 (mode_t): Likewise.
34174 (posix_mem_offset): Likewise.
34175 (posix_typed_mem_get_info): Likewise.
34176 (posix_typed_mem_open): Likewise.
34177
9e188909
JM
34178 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34179 Change condition to [XOPEN2K8].
34180
05bcf62a
JM
34181 * conform/conformtest.pl: Preprocess allow-header data with -x c
34182 instead of from stdin.
34183 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34184 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34185 [C99-based standards] (cerfc): Likewise.
34186 [C99-based standards] (cexp2): Likewise.
34187 [C99-based standards] (cexpm1): Likewise.
34188 [C99-based standards] (clog10): Likewise.
34189 [C99-based standards] (clog1p): Likewise.
34190 [C99-based standards] (clog2): Likewise.
34191 [C99-based standards] (clgamma): Likewise.
34192 [C99-based standards] (ctgamma): Likewise.
34193 [C99-based standards] (cerff): Likewise.
34194 [C99-based standards] (cerfcf): Likewise.
34195 [C99-based standards] (cexp2f): Likewise.
34196 [C99-based standards] (cexpm1f): Likewise.
34197 [C99-based standards] (clog10f): Likewise.
34198 [C99-based standards] (clog1pf): Likewise.
34199 [C99-based standards] (clog2f): Likewise.
34200 [C99-based standards] (clgammaf): Likewise.
34201 [C99-based standards] (ctgammaf): Likewise.
34202 [C99-based standards] (cerfl): Likewise.
34203 [C99-based standards] (cerfcl): Likewise.
34204 [C99-based standards] (cexp2l): Likewise.
34205 [C99-based standards] (cexpm1l): Likewise.
34206 [C99-based standards] (clog10l): Likewise.
34207 [C99-based standards] (clog1pl): Likewise.
34208 [C99-based standards] (clog2l): Likewise.
34209 [C99-based standards] (clgammal): Likewise.
34210 [C99-based standards] (ctgammal): Likewise.
34211 * conform/data/inttypes.h-data [C99-based standards]: Include
34212 stdint.h-data. Remove all expectations for stdint.h contents.
34213 [C99-based standards] (PRI*): Do not allow.
34214 [C99-based standards] (SCN*): Likewise.
34215 [C99-based standards] (*_t): Likewise.
34216 [C99-based-standards] (PRId8): Expect macro.
34217 [C99-based-standards] (PRIi8): Likewise.
34218 [C99-based-standards] (PRIo8): Likewise.
34219 [C99-based-standards] (PRIu8): Likewise.
34220 [C99-based-standards] (PRIx8): Likewise.
34221 [C99-based-standards] (PRIX8): Likewise.
34222 [C99-based-standards] (SCNd8): Likewise.
34223 [C99-based-standards] (SCNi8): Likewise.
34224 [C99-based-standards] (SCNo8): Likewise.
34225 [C99-based-standards] (SCNu8): Likewise.
34226 [C99-based-standards] (SCNx8): Likewise.
34227 [C99-based-standards] (PRIdLEAST8): Likewise.
34228 [C99-based-standards] (PRIiLEAST8): Likewise.
34229 [C99-based-standards] (PRIoLEAST8): Likewise.
34230 [C99-based-standards] (PRIuLEAST8): Likewise.
34231 [C99-based-standards] (PRIxLEAST8): Likewise.
34232 [C99-based-standards] (PRIXLEAST8): Likewise.
34233 [C99-based-standards] (SCNdLEAST8): Likewise.
34234 [C99-based-standards] (SCNiLEAST8): Likewise.
34235 [C99-based-standards] (SCNoLEAST8): Likewise.
34236 [C99-based-standards] (SCNuLEAST8): Likewise.
34237 [C99-based-standards] (SCNxLEAST8): Likewise.
34238 [C99-based-standards] (PRIdFAST8): Likewise.
34239 [C99-based-standards] (PRIiFAST8): Likewise.
34240 [C99-based-standards] (PRIoFAST8): Likewise.
34241 [C99-based-standards] (PRIuFAST8): Likewise.
34242 [C99-based-standards] (PRIxFAST8): Likewise.
34243 [C99-based-standards] (PRIXFAST8): Likewise.
34244 [C99-based-standards] (SCNdFAST8): Likewise.
34245 [C99-based-standards] (SCNiFAST8): Likewise.
34246 [C99-based-standards] (SCNoFAST8): Likewise.
34247 [C99-based-standards] (SCNuFAST8): Likewise.
34248 [C99-based-standards] (SCNxFAST8): Likewise.
34249 [C99-based-standards] (PRId16): Likewise.
34250 [C99-based-standards] (PRIi16): Likewise.
34251 [C99-based-standards] (PRIo16): Likewise.
34252 [C99-based-standards] (PRIu16): Likewise.
34253 [C99-based-standards] (PRIx16): Likewise.
34254 [C99-based-standards] (PRIX16): Likewise.
34255 [C99-based-standards] (SCNd16): Likewise.
34256 [C99-based-standards] (SCNi16): Likewise.
34257 [C99-based-standards] (SCNo16): Likewise.
34258 [C99-based-standards] (SCNu16): Likewise.
34259 [C99-based-standards] (SCNx16): Likewise.
34260 [C99-based-standards] (PRIdLEAST16): Likewise.
34261 [C99-based-standards] (PRIiLEAST16): Likewise.
34262 [C99-based-standards] (PRIoLEAST16): Likewise.
34263 [C99-based-standards] (PRIuLEAST16): Likewise.
34264 [C99-based-standards] (PRIxLEAST16): Likewise.
34265 [C99-based-standards] (PRIXLEAST16): Likewise.
34266 [C99-based-standards] (SCNdLEAST16): Likewise.
34267 [C99-based-standards] (SCNiLEAST16): Likewise.
34268 [C99-based-standards] (SCNoLEAST16): Likewise.
34269 [C99-based-standards] (SCNuLEAST16): Likewise.
34270 [C99-based-standards] (SCNxLEAST16): Likewise.
34271 [C99-based-standards] (PRIdFAST16): Likewise.
34272 [C99-based-standards] (PRIiFAST16): Likewise.
34273 [C99-based-standards] (PRIoFAST16): Likewise.
34274 [C99-based-standards] (PRIuFAST16): Likewise.
34275 [C99-based-standards] (PRIxFAST16): Likewise.
34276 [C99-based-standards] (PRIXFAST16): Likewise.
34277 [C99-based-standards] (SCNdFAST16): Likewise.
34278 [C99-based-standards] (SCNiFAST16): Likewise.
34279 [C99-based-standards] (SCNoFAST16): Likewise.
34280 [C99-based-standards] (SCNuFAST16): Likewise.
34281 [C99-based-standards] (SCNxFAST16): Likewise.
34282 [C99-based-standards] (PRId32): Likewise.
34283 [C99-based-standards] (PRIi32): Likewise.
34284 [C99-based-standards] (PRIo32): Likewise.
34285 [C99-based-standards] (PRIu32): Likewise.
34286 [C99-based-standards] (PRIx32): Likewise.
34287 [C99-based-standards] (PRIX32): Likewise.
34288 [C99-based-standards] (SCNd32): Likewise.
34289 [C99-based-standards] (SCNi32): Likewise.
34290 [C99-based-standards] (SCNo32): Likewise.
34291 [C99-based-standards] (SCNu32): Likewise.
34292 [C99-based-standards] (SCNx32): Likewise.
34293 [C99-based-standards] (PRIdLEAST32): Likewise.
34294 [C99-based-standards] (PRIiLEAST32): Likewise.
34295 [C99-based-standards] (PRIoLEAST32): Likewise.
34296 [C99-based-standards] (PRIuLEAST32): Likewise.
34297 [C99-based-standards] (PRIxLEAST32): Likewise.
34298 [C99-based-standards] (PRIXLEAST32): Likewise.
34299 [C99-based-standards] (SCNdLEAST32): Likewise.
34300 [C99-based-standards] (SCNiLEAST32): Likewise.
34301 [C99-based-standards] (SCNoLEAST32): Likewise.
34302 [C99-based-standards] (SCNuLEAST32): Likewise.
34303 [C99-based-standards] (SCNxLEAST32): Likewise.
34304 [C99-based-standards] (PRIdFAST32): Likewise.
34305 [C99-based-standards] (PRIiFAST32): Likewise.
34306 [C99-based-standards] (PRIoFAST32): Likewise.
34307 [C99-based-standards] (PRIuFAST32): Likewise.
34308 [C99-based-standards] (PRIxFAST32): Likewise.
34309 [C99-based-standards] (PRIXFAST32): Likewise.
34310 [C99-based-standards] (SCNdFAST32): Likewise.
34311 [C99-based-standards] (SCNiFAST32): Likewise.
34312 [C99-based-standards] (SCNoFAST32): Likewise.
34313 [C99-based-standards] (SCNuFAST32): Likewise.
34314 [C99-based-standards] (SCNxFAST32): Likewise.
34315 [C99-based-standards] (PRId64): Likewise.
34316 [C99-based-standards] (PRIi64): Likewise.
34317 [C99-based-standards] (PRIo64): Likewise.
34318 [C99-based-standards] (PRIu64): Likewise.
34319 [C99-based-standards] (PRIx64): Likewise.
34320 [C99-based-standards] (PRIX64): Likewise.
34321 [C99-based-standards] (SCNd64): Likewise.
34322 [C99-based-standards] (SCNi64): Likewise.
34323 [C99-based-standards] (SCNo64): Likewise.
34324 [C99-based-standards] (SCNu64): Likewise.
34325 [C99-based-standards] (SCNx64): Likewise.
34326 [C99-based-standards] (PRIdLEAST64): Likewise.
34327 [C99-based-standards] (PRIiLEAST64): Likewise.
34328 [C99-based-standards] (PRIoLEAST64): Likewise.
34329 [C99-based-standards] (PRIuLEAST64): Likewise.
34330 [C99-based-standards] (PRIxLEAST64): Likewise.
34331 [C99-based-standards] (PRIXLEAST64): Likewise.
34332 [C99-based-standards] (SCNdLEAST64): Likewise.
34333 [C99-based-standards] (SCNiLEAST64): Likewise.
34334 [C99-based-standards] (SCNoLEAST64): Likewise.
34335 [C99-based-standards] (SCNuLEAST64): Likewise.
34336 [C99-based-standards] (SCNxLEAST64): Likewise.
34337 [C99-based-standards] (PRIdFAST64): Likewise.
34338 [C99-based-standards] (PRIiFAST64): Likewise.
34339 [C99-based-standards] (PRIoFAST64): Likewise.
34340 [C99-based-standards] (PRIuFAST64): Likewise.
34341 [C99-based-standards] (PRIxFAST64): Likewise.
34342 [C99-based-standards] (PRIXFAST64): Likewise.
34343 [C99-based-standards] (SCNdFAST64): Likewise.
34344 [C99-based-standards] (SCNiFAST64): Likewise.
34345 [C99-based-standards] (SCNoFAST64): Likewise.
34346 [C99-based-standards] (SCNuFAST64): Likewise.
34347 [C99-based-standards] (SCNxFAST64): Likewise.
34348 [C99-based-standards] (PRIdMAX): Likewise.
34349 [C99-based-standards] (PRIiMAX): Likewise.
34350 [C99-based-standards] (PRIoMAX): Likewise.
34351 [C99-based-standards] (PRIuMAX): Likewise.
34352 [C99-based-standards] (PRIxMAX): Likewise.
34353 [C99-based-standards] (PRIXMAX): Likewise.
34354 [C99-based-standards] (SCNdMAX): Likewise.
34355 [C99-based-standards] (SCNiMAX): Likewise.
34356 [C99-based-standards] (SCNoMAX): Likewise.
34357 [C99-based-standards] (SCNuMAX): Likewise.
34358 [C99-based-standards] (SCNxMAX): Likewise.
34359 [C99-based-standards] (PRIdPTR): Likewise.
34360 [C99-based-standards] (PRIiPTR): Likewise.
34361 [C99-based-standards] (PRIoPTR): Likewise.
34362 [C99-based-standards] (PRIuPTR): Likewise.
34363 [C99-based-standards] (PRIxPTR): Likewise.
34364 [C99-based-standards] (PRIXPTR): Likewise.
34365 [C99-based-standards] (SCNdPTR): Likewise.
34366 [C99-based-standards] (SCNiPTR): Likewise.
34367 [C99-based-standards] (SCNoPTR): Likewise.
34368 [C99-based-standards] (SCNuPTR): Likewise.
34369 [C99-based-standards] (SCNxPTR): Likewise.
34370 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34371 allow.
34372 * conform/data/stdint.h-data: Update comments to clarify
34373 requirements.
34374 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34375 type.
34376 [C99-based standards] (INT8_MAX): Likewise.
34377 [C99-based standards] (INT16_MIN): Likewise.
34378 [C99-based standards] (INT16_MAX): Likewise.
34379 [C99-based standards] (INT32_MIN): Likewise.
34380 [C99-based standards] (INT32_MAX): Likewise.
34381 [C99-based standards] (INT64_MIN): Likewise.
34382 [C99-based standards] (INT64_MAX): Likewise.
34383 [C99-based standards] (UINT8_MAX): Likewise.
34384 [C99-based standards] (UINT16_MAX): Likewise.
34385 [C99-based standards] (UINT32_MAX): Likewise.
34386 [C99-based standards] (UINT64_MAX): Likewise.
34387 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34388 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34389 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34390 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34391 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34392 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34393 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34394 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34395 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34396 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34397 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34398 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34399 [C99-based standards] (INT_FAST8_MIN): Likewise.
34400 [C99-based standards] (INT_FAST8_MAX): Likewise.
34401 [C99-based standards] (INT_FAST16_MIN): Likewise.
34402 [C99-based standards] (INT_FAST16_MAX): Likewise.
34403 [C99-based standards] (INT_FAST32_MIN): Likewise.
34404 [C99-based standards] (INT_FAST32_MAX): Likewise.
34405 [C99-based standards] (INT_FAST64_MIN): Likewise.
34406 [C99-based standards] (INT_FAST64_MAX): Likewise.
34407 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34408 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34409 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34410 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34411 [C99-based standards] (INTPTR_MIN): Likewise.
34412 [C99-based standards] (INTPTR_MAX): Likewise.
34413 [C99-based standards] (UINTPTR_MAX): Likewise.
34414 [C99-based standards] (INTMAX_MIN): Likewise.
34415 [C99-based standards] (INTMAX_MAX): Likewise.
34416 [C99-based standards] (UINTMAX_MAX): Likewise.
34417 [C99-based standards] (PTRDIFF_MIN): Likewise.
34418 [C99-based standards] (PTRDIFF_MAX): Likewise.
34419 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34420 [C99-based standards] (SIZE_MAX): Likewise.
34421 [C99-based standards] (WCHAR_MAX): Likewise.
34422 [C99-based standards] (WINT_MAX): Likewise.
34423 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34424 constraint on value.
34425 [C99-based standards] (WCHAR_MIN): Likewise.
34426 [C99-based standards] (WINT_MIN): Likewise.
34427 [C99-based standards] (*_t): Allow.
34428 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34429 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34430 Include math.h-data and complex.h-data. Remove all expectations
34431 of math.h and complex.h contents.
34432 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34433 at end of line.
34434 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34435 (struct tm): Expect tag.
34436 [C99-based-standards] (wcstof): Expect function.
34437 [C99-based-standards] (wcstold): Likewise.
34438 [C99-based-standards] (wcstoll): Likewise.
34439 [C99-based-standards] (wcstoull): Likewise.
34440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34441 macro-int-constant. Specify type.
34442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34443 constraint on value.
34444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34445 Specify type.
34446 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34447 Specify value.
34448 [ISO C standards]: Do not allow headers.
34449 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34450 wcs[abcdefghijklmnopqrstuvwxyz]*.
34451 [ISO C standards] (*_t): Do not allow.
34452 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34453 Expect function.
34454 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34456 Specify type.
34457 [ISO C standards]: Do not allow headers.
34458 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34459 is[abcdefghijklmnopqrstuvwxyz]*.
34460 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34461 to[abcdefghijklmnopqrstuvwxyz]*.
34462 [ISO C standards] (*_t): Do not allow.
34463 * conform/data/stdalign.h-data: New file.
34464 * conform/data/stdbool.h-data: Likewise.
34465 * conform/data/stdnoreturn.h-data: Likewise.
34466
7514feb8
RM
344672012-11-07 Roland McGrath <roland@hack.frob.com>
34468
34469 [BZ #14815]
34470 * manual/filesys.texi (Directory Entries): Typo fix.
34471 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34472
19b2ecfc
MS
344732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34474
34475 * elf/elf.h (EM_AARCH64): New macro.
34476 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34477 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34478 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34479 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34480 (R_AARCH64_TLSDESC): Likewise.
34481 (NT_ARM_TLS): Likewise.
34482 (NT_ARM_HW_BREAK): Likewise.
34483 (NT_ARM_HW_WATCH): Likewise.
34484
60e235ee
JM
344852012-11-07 Joseph Myers <joseph@codesourcery.com>
34486
34487 [BZ #14811]
34488 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34489 (__ieee754_powl): Saturate nonzero exponents with absolute value
34490 below 0x1p-79 to +/- 0x1p-79.
34491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34492 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34494 nonzero exponents with absolute value below 0x1p-32 to +/-
34495 0x1p-32.
34496 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34497 (__ieee754_powl): Saturate nonzero exponents with absolute value
34498 below 0x1p-79 to +/- 0x1p-79.
34499 * math/libm-test.inc (pow_test): Add more tests.
34500
0ab234b7
AK
345012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34502
34503 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34504 _dl_s390_cap_flags with kernel. Increase string length.
34505 (_dl_s390_platforms): Add z196 and zEC12.
34506
45832f74
JM
345072012-11-07 Joseph Myers <joseph@codesourcery.com>
34508
34509 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34510 Change XOPEN21K to XOPEN2K.
34511
19218757
MK
345122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34513
34514 * string/memmove.c: Use memcpy when possible.
34515
c5f45721
AJ
345162012-11-06 Andreas Jaeger <aj@suse.de>
34517
34518 * po/eo.po: Update from translation team.
34519
82477c28
JM
345202012-11-06 Joseph Myers <joseph@codesourcery.com>
34521
34522 [BZ #14793]
34523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34524 exponent and small x and y exponents, scale x or y up. Increase
34525 by 2 the exponent used in scaling up.
34526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34528 * math/libm-test.inc (fma_test): Add more tests.
34529 (fma_test_towardzero): Likewise.
34530 (fma_test_downward): Likewise.
34531 (fma_test_upward): Likewise.
34532
99252c8c
JM
345332012-11-05 Joseph Myers <joseph@codesourcery.com>
34534
acfa885f
JM
34535 [BZ #14805]
34536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34537 fenv_t *.
34538
99252c8c
JM
34539 [BZ #14801]
34540 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34541 namespace for names of struct fields.
34542 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34543 fenv_t fields.
34544 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34545 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34546
d6d98dea
ST
345472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34548
34549 [BZ #3665]
34550 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34551
e10bb107
TS
345522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34553
34554 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34555 PTR_DEMANGLE.
34556
34557 [BZ #5246]
34558 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34559 PTR_DEMANGLE.
34560
a0c2940d
JM
345612012-11-04 Joseph Myers <joseph@codesourcery.com>
34562
34563 [BZ #14797]
34564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34565 definitely overflow as x * y not x * y + z.
34566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34568 * math/libm-test.inc (fma_test): Add more tests.
34569 (fma_test_towardzero): Likewise.
34570 (fma_test_downward): Likewise.
34571 (fma_test_upward): Likewise.
34572
b830319d
TS
345732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34574
34575 [BZ #157]
34576
34577 * include/stub-tag.h: Remove file.
34578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34579 '#include' of it.
34580 * manual/maint.texi (Porting): Don't reference it.
34581 * Makerules ($(objpfx)stubs): Likewise.
34582 * dirent/closedir.c: Don't include <stub-tag.h>.
34583 * dirent/dirfd.c: Likewise.
34584 * dirent/fdopendir.c: Likewise.
34585 * dirent/getdents.c: Likewise.
34586 * dirent/getdents64.c: Likewise.
34587 * dirent/opendir.c: Likewise.
34588 * dirent/readdir.c: Likewise.
34589 * dirent/readdir64.c: Likewise.
34590 * dirent/readdir64_r.c: Likewise.
34591 * dirent/readdir_r.c: Likewise.
34592 * dirent/rewinddir.c: Likewise.
34593 * dirent/seekdir.c: Likewise.
34594 * dirent/telldir.c: Likewise.
34595 * gmon/profil.c: Likewise.
34596 * grp/setgroups.c: Likewise.
34597 * inet/if_index.c: Likewise.
34598 * io/access.c: Likewise.
34599 * io/chdir.c: Likewise.
34600 * io/chmod.c: Likewise.
34601 * io/chown.c: Likewise.
34602 * io/close.c: Likewise.
34603 * io/dup.c: Likewise.
34604 * io/dup2.c: Likewise.
34605 * io/dup3.c: Likewise.
34606 * io/euidaccess.c: Likewise.
34607 * io/faccessat.c: Likewise.
34608 * io/fchdir.c: Likewise.
34609 * io/fchmod.c: Likewise.
34610 * io/fchmodat.c: Likewise.
34611 * io/fchown.c: Likewise.
34612 * io/fchownat.c: Likewise.
34613 * io/fcntl.c: Likewise.
34614 * io/flock.c: Likewise.
34615 * io/fstatfs.c: Likewise.
34616 * io/fstatfs64.c: Likewise.
34617 * io/fstatvfs.c: Likewise.
34618 * io/fstatvfs64.c: Likewise.
34619 * io/futimens.c: Likewise.
34620 * io/fxstat.c: Likewise.
34621 * io/fxstat64.c: Likewise.
34622 * io/fxstatat.c: Likewise.
34623 * io/fxstatat64.c: Likewise.
34624 * io/getcwd.c: Likewise.
34625 * io/isatty.c: Likewise.
34626 * io/lchmod.c: Likewise.
34627 * io/lchown.c: Likewise.
34628 * io/link.c: Likewise.
34629 * io/linkat.c: Likewise.
34630 * io/lseek.c: Likewise.
34631 * io/lseek64.c: Likewise.
34632 * io/lxstat64.c: Likewise.
34633 * io/mkdir.c: Likewise.
34634 * io/mkdirat.c: Likewise.
34635 * io/mkfifo.c: Likewise.
34636 * io/mkfifoat.c: Likewise.
34637 * io/open.c: Likewise.
34638 * io/open64.c: Likewise.
34639 * io/openat.c: Likewise.
34640 * io/openat64.c: Likewise.
34641 * io/pipe.c: Likewise.
34642 * io/pipe2.c: Likewise.
34643 * io/poll.c: Likewise.
34644 * io/posix_fadvise.c: Likewise.
34645 * io/posix_fadvise64.c: Likewise.
34646 * io/posix_fallocate.c: Likewise.
34647 * io/posix_fallocate64.c: Likewise.
34648 * io/read.c: Likewise.
34649 * io/readlink.c: Likewise.
34650 * io/readlinkat.c: Likewise.
34651 * io/rmdir.c: Likewise.
34652 * io/sendfile.c: Likewise.
34653 * io/sendfile64.c: Likewise.
34654 * io/statfs.c: Likewise.
34655 * io/statfs64.c: Likewise.
34656 * io/statvfs.c: Likewise.
34657 * io/statvfs64.c: Likewise.
34658 * io/symlink.c: Likewise.
34659 * io/symlinkat.c: Likewise.
34660 * io/ttyname.c: Likewise.
34661 * io/ttyname_r.c: Likewise.
34662 * io/umask.c: Likewise.
34663 * io/unlink.c: Likewise.
34664 * io/unlinkat.c: Likewise.
34665 * io/utime.c: Likewise.
34666 * io/utimensat.c: Likewise.
34667 * io/write.c: Likewise.
34668 * io/xmknod.c: Likewise.
34669 * io/xmknodat.c: Likewise.
34670 * io/xstat.c: Likewise.
34671 * io/xstat64.c: Likewise.
34672 * login/getpt.c: Likewise.
34673 * login/grantpt.c: Likewise.
34674 * login/unlockpt.c: Likewise.
34675 * math/e_acoshl.c: Likewise.
34676 * math/e_acosl.c: Likewise.
34677 * math/e_asinl.c: Likewise.
34678 * math/e_atan2l.c: Likewise.
34679 * math/e_atanhl.c: Likewise.
34680 * math/e_coshl.c: Likewise.
34681 * math/e_expl.c: Likewise.
34682 * math/e_fmodl.c: Likewise.
34683 * math/e_gammal_r.c: Likewise.
34684 * math/e_hypotl.c: Likewise.
34685 * math/e_j0l.c: Likewise.
34686 * math/e_j1l.c: Likewise.
34687 * math/e_jnl.c: Likewise.
34688 * math/e_lgammal_r.c: Likewise.
34689 * math/e_log10l.c: Likewise.
34690 * math/e_log2l.c: Likewise.
34691 * math/e_logl.c: Likewise.
34692 * math/e_powl.c: Likewise.
34693 * math/e_rem_pio2l.c: Likewise.
34694 * math/e_sinhl.c: Likewise.
34695 * math/e_sqrtl.c: Likewise.
34696 * math/fclrexcpt.c: Likewise.
34697 * math/fedisblxcpt.c: Likewise.
34698 * math/feenablxcpt.c: Likewise.
34699 * math/fegetenv.c: Likewise.
34700 * math/fegetexcept.c: Likewise.
34701 * math/fegetround.c: Likewise.
34702 * math/feholdexcpt.c: Likewise.
34703 * math/fesetenv.c: Likewise.
34704 * math/fesetround.c: Likewise.
34705 * math/feupdateenv.c: Likewise.
34706 * math/fgetexcptflg.c: Likewise.
34707 * math/fraiseexcpt.c: Likewise.
34708 * math/fsetexcptflg.c: Likewise.
34709 * math/ftestexcept.c: Likewise.
34710 * math/k_cosl.c: Likewise.
34711 * math/k_rem_pio2l.c: Likewise.
34712 * math/k_sinl.c: Likewise.
34713 * math/k_tanl.c: Likewise.
34714 * math/s_asinhl.c: Likewise.
34715 * math/s_atanl.c: Likewise.
34716 * math/s_cbrtl.c: Likewise.
34717 * math/s_erfl.c: Likewise.
34718 * math/s_expm1l.c: Likewise.
34719 * math/s_log1pl.c: Likewise.
34720 * math/s_tanhl.c: Likewise.
34721 * misc/acct.c: Likewise.
34722 * misc/brk.c: Likewise.
34723 * misc/chflags.c: Likewise.
34724 * misc/chroot.c: Likewise.
34725 * misc/fchflags.c: Likewise.
34726 * misc/fgetxattr.c: Likewise.
34727 * misc/flistxattr.c: Likewise.
34728 * misc/fremovexattr.c: Likewise.
34729 * misc/fsetxattr.c: Likewise.
34730 * misc/fsync.c: Likewise.
34731 * misc/ftruncate.c: Likewise.
34732 * misc/futimes.c: Likewise.
34733 * misc/futimesat.c: Likewise.
34734 * misc/getdomain.c: Likewise.
34735 * misc/getdtsz.c: Likewise.
34736 * misc/gethostid.c: Likewise.
34737 * misc/gethostname.c: Likewise.
34738 * misc/getloadavg.c: Likewise.
34739 * misc/getpagesize.c: Likewise.
34740 * misc/getsysstats.c: Likewise.
34741 * misc/getxattr.c: Likewise.
34742 * misc/gtty.c: Likewise.
34743 * misc/ioctl.c: Likewise.
34744 * misc/lgetxattr.c: Likewise.
34745 * misc/listxattr.c: Likewise.
34746 * misc/llistxattr.c: Likewise.
34747 * misc/lremovexattr.c: Likewise.
34748 * misc/lsetxattr.c: Likewise.
34749 * misc/lutimes.c: Likewise.
34750 * misc/madvise.c: Likewise.
34751 * misc/mincore.c: Likewise.
34752 * misc/mlock.c: Likewise.
34753 * misc/mlockall.c: Likewise.
34754 * misc/mmap.c: Likewise.
34755 * misc/mprotect.c: Likewise.
34756 * misc/msync.c: Likewise.
34757 * misc/munlock.c: Likewise.
34758 * misc/munlockall.c: Likewise.
34759 * misc/munmap.c: Likewise.
34760 * misc/preadv.c: Likewise.
34761 * misc/preadv64.c: Likewise.
34762 * misc/ptrace.c: Likewise.
34763 * misc/pwritev.c: Likewise.
34764 * misc/pwritev64.c: Likewise.
34765 * misc/readv.c: Likewise.
34766 * misc/reboot.c: Likewise.
34767 * misc/remap_file_pages.c: Likewise.
34768 * misc/removexattr.c: Likewise.
34769 * misc/revoke.c: Likewise.
34770 * misc/select.c: Likewise.
34771 * misc/setdomain.c: Likewise.
34772 * misc/setegid.c: Likewise.
34773 * misc/seteuid.c: Likewise.
34774 * misc/sethostid.c: Likewise.
34775 * misc/sethostname.c: Likewise.
34776 * misc/setregid.c: Likewise.
34777 * misc/setreuid.c: Likewise.
34778 * misc/setxattr.c: Likewise.
34779 * misc/sstk.c: Likewise.
34780 * misc/stty.c: Likewise.
34781 * misc/swapoff.c: Likewise.
34782 * misc/swapon.c: Likewise.
34783 * misc/sync.c: Likewise.
34784 * misc/syncfs.c: Likewise.
34785 * misc/syscall.c: Likewise.
34786 * misc/truncate.c: Likewise.
34787 * misc/ualarm.c: Likewise.
34788 * misc/usleep.c: Likewise.
34789 * misc/ustat.c: Likewise.
34790 * misc/utimes.c: Likewise.
34791 * misc/vhangup.c: Likewise.
34792 * misc/writev.c: Likewise.
34793 * posix/_exit.c: Likewise.
34794 * posix/alarm.c: Likewise.
34795 * posix/execve.c: Likewise.
34796 * posix/fexecve.c: Likewise.
34797 * posix/fork.c: Likewise.
34798 * posix/fpathconf.c: Likewise.
34799 * posix/getaddrinfo.c: Likewise.
34800 * posix/getegid.c: Likewise.
34801 * posix/geteuid.c: Likewise.
34802 * posix/getgid.c: Likewise.
34803 * posix/getgroups.c: Likewise.
34804 * posix/getlogin.c: Likewise.
34805 * posix/getlogin_r.c: Likewise.
34806 * posix/getpgid.c: Likewise.
34807 * posix/getpid.c: Likewise.
34808 * posix/getppid.c: Likewise.
34809 * posix/getresgid.c: Likewise.
34810 * posix/getresuid.c: Likewise.
34811 * posix/getsid.c: Likewise.
34812 * posix/getuid.c: Likewise.
34813 * posix/glob64.c: Likewise.
34814 * posix/nanosleep.c: Likewise.
34815 * posix/pathconf.c: Likewise.
34816 * posix/pause.c: Likewise.
34817 * posix/posix_madvise.c: Likewise.
34818 * posix/pread.c: Likewise.
34819 * posix/pread64.c: Likewise.
34820 * posix/pwrite.c: Likewise.
34821 * posix/pwrite64.c: Likewise.
34822 * posix/sched_getaffinity.c: Likewise.
34823 * posix/sched_getp.c: Likewise.
34824 * posix/sched_gets.c: Likewise.
34825 * posix/sched_primax.c: Likewise.
34826 * posix/sched_primin.c: Likewise.
34827 * posix/sched_rr_gi.c: Likewise.
34828 * posix/sched_setaffinity.c: Likewise.
34829 * posix/sched_setp.c: Likewise.
34830 * posix/sched_sets.c: Likewise.
34831 * posix/sched_yield.c: Likewise.
34832 * posix/setgid.c: Likewise.
34833 * posix/setlogin.c: Likewise.
34834 * posix/setpgid.c: Likewise.
34835 * posix/setresgid.c: Likewise.
34836 * posix/setresuid.c: Likewise.
34837 * posix/setsid.c: Likewise.
34838 * posix/setuid.c: Likewise.
34839 * posix/sleep.c: Likewise.
34840 * posix/spawni.c: Likewise.
34841 * posix/sysconf.c: Likewise.
34842 * posix/times.c: Likewise.
34843 * posix/wait.c: Likewise.
34844 * posix/wait3.c: Likewise.
34845 * posix/wait4.c: Likewise.
34846 * posix/waitpid.c: Likewise.
34847 * resolv/gai_sigqueue.c: Likewise.
34848 * resource/getpriority.c: Likewise.
34849 * resource/getrlimit.c: Likewise.
34850 * resource/getrusage.c: Likewise.
34851 * resource/nice.c: Likewise.
34852 * resource/setpriority.c: Likewise.
34853 * resource/setrlimit.c: Likewise.
34854 * resource/ulimit.c: Likewise.
34855 * rt/aio_cancel.c: Likewise.
34856 * rt/aio_fsync.c: Likewise.
34857 * rt/aio_read.c: Likewise.
34858 * rt/aio_sigqueue.c: Likewise.
34859 * rt/aio_suspend.c: Likewise.
34860 * rt/aio_write.c: Likewise.
34861 * rt/clock_getres.c: Likewise.
34862 * rt/clock_gettime.c: Likewise.
34863 * rt/clock_nanosleep.c: Likewise.
34864 * rt/clock_settime.c: Likewise.
34865 * rt/lio_listio.c: Likewise.
34866 * rt/mq_close.c: Likewise.
34867 * rt/mq_getattr.c: Likewise.
34868 * rt/mq_notify.c: Likewise.
34869 * rt/mq_open.c: Likewise.
34870 * rt/mq_receive.c: Likewise.
34871 * rt/mq_send.c: Likewise.
34872 * rt/mq_setattr.c: Likewise.
34873 * rt/mq_timedreceive.c: Likewise.
34874 * rt/mq_timedsend.c: Likewise.
34875 * rt/mq_unlink.c: Likewise.
34876 * rt/shm_open.c: Likewise.
34877 * rt/shm_unlink.c: Likewise.
34878 * rt/timer_create.c: Likewise.
34879 * rt/timer_delete.c: Likewise.
34880 * rt/timer_getoverr.c: Likewise.
34881 * rt/timer_gettime.c: Likewise.
34882 * rt/timer_settime.c: Likewise.
34883 * setjmp/__longjmp.c: Likewise.
34884 * setjmp/setjmp.c: Likewise.
34885 * signal/kill.c: Likewise.
34886 * signal/killpg.c: Likewise.
34887 * signal/raise.c: Likewise.
34888 * signal/sigaction.c: Likewise.
34889 * signal/sigaltstack.c: Likewise.
34890 * signal/sigblock.c: Likewise.
34891 * signal/sigignore.c: Likewise.
34892 * signal/sigintr.c: Likewise.
34893 * signal/signal.c: Likewise.
34894 * signal/sigpause.c: Likewise.
34895 * signal/sigpending.c: Likewise.
34896 * signal/sigqueue.c: Likewise.
34897 * signal/sigreturn.c: Likewise.
34898 * signal/sigset.c: Likewise.
34899 * signal/sigsetmask.c: Likewise.
34900 * signal/sigstack.c: Likewise.
34901 * signal/sigsuspend.c: Likewise.
34902 * signal/sigtimedwait.c: Likewise.
34903 * signal/sigvec.c: Likewise.
34904 * signal/sigwait.c: Likewise.
34905 * signal/sigwaitinfo.c: Likewise.
34906 * signal/sysv_signal.c: Likewise.
34907 * socket/accept.c: Likewise.
34908 * socket/accept4.c: Likewise.
34909 * socket/bind.c: Likewise.
34910 * socket/connect.c: Likewise.
34911 * socket/getpeername.c: Likewise.
34912 * socket/getsockname.c: Likewise.
34913 * socket/getsockopt.c: Likewise.
34914 * socket/isfdtype.c: Likewise.
34915 * socket/listen.c: Likewise.
34916 * socket/recv.c: Likewise.
34917 * socket/recvfrom.c: Likewise.
34918 * socket/recvmsg.c: Likewise.
34919 * socket/send.c: Likewise.
34920 * socket/sendmsg.c: Likewise.
34921 * socket/sendto.c: Likewise.
34922 * socket/setsockopt.c: Likewise.
34923 * socket/shutdown.c: Likewise.
34924 * socket/sockatmark.c: Likewise.
34925 * socket/socket.c: Likewise.
34926 * socket/socketpair.c: Likewise.
34927 * stdio-common/ctermid.c: Likewise.
34928 * stdio-common/cuserid.c: Likewise.
34929 * stdio-common/remove.c: Likewise.
34930 * stdio-common/rename.c: Likewise.
34931 * stdio-common/renameat.c: Likewise.
34932 * stdio-common/tempname.c: Likewise.
34933 * stdlib/getcontext.c: Likewise.
34934 * stdlib/makecontext.c: Likewise.
34935 * stdlib/setcontext.c: Likewise.
34936 * stdlib/swapcontext.c: Likewise.
34937 * stdlib/system.c: Likewise.
34938 * streams/fattach.c: Likewise.
34939 * streams/fdetach.c: Likewise.
34940 * streams/getmsg.c: Likewise.
34941 * streams/getpmsg.c: Likewise.
34942 * streams/putmsg.c: Likewise.
34943 * streams/putpmsg.c: Likewise.
34944 * sysdeps/unix/bsd/getpt.c: Likewise.
34945 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34946 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34949 Likewise.
34950 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34952 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34953 * sysvipc/msgctl.c: Likewise.
34954 * sysvipc/msgget.c: Likewise.
34955 * sysvipc/msgrcv.c: Likewise.
34956 * sysvipc/msgsnd.c: Likewise.
34957 * sysvipc/semctl.c: Likewise.
34958 * sysvipc/semget.c: Likewise.
34959 * sysvipc/semop.c: Likewise.
34960 * sysvipc/semtimedop.c: Likewise.
34961 * sysvipc/shmat.c: Likewise.
34962 * sysvipc/shmctl.c: Likewise.
34963 * sysvipc/shmdt.c: Likewise.
34964 * sysvipc/shmget.c: Likewise.
34965 * termios/tcdrain.c: Likewise.
34966 * termios/tcflow.c: Likewise.
34967 * termios/tcflush.c: Likewise.
34968 * termios/tcgetattr.c: Likewise.
34969 * termios/tcgetpgrp.c: Likewise.
34970 * termios/tcsendbrk.c: Likewise.
34971 * termios/tcsetattr.c: Likewise.
34972 * termios/tcsetpgrp.c: Likewise.
34973 * time/adjtime.c: Likewise.
34974 * time/clock.c: Likewise.
34975 * time/getitimer.c: Likewise.
34976 * time/gettimeofday.c: Likewise.
34977 * time/setitimer.c: Likewise.
34978 * time/settimeofday.c: Likewise.
34979 * time/stime.c: Likewise.
34980 * time/time.c: Likewise.
34981
349822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34983
a20492cf
PT
34984 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34985 /usr/old/bin.
34986
72e182e3
PT
34987 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34988 instead of spaces.
34989 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34990
fbeafede
JM
349912012-11-03 Joseph Myers <joseph@codesourcery.com>
34992
5b5b04d6
JM
34993 [BZ #14796]
34994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34995 FE_TONEAREST before applying Dekker multiplication and Knuth
34996 addition. Clear inexact exceptions and check for exact zero
34997 results afterwards.
34998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34999 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35001 * math/libm-test.inc (fma_test): Add more tests.
35002 (fma_test_towardzero): Likewise.
35003 (fma_test_downward): Likewise.
35004 (fma_test_upward): Likewise.
35005 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35006 function.
35007 (libc_fesetround): New macro.
35008 (libc_fesetroundf): Likewise.
35009 (libc_fesetroundl): Likewise.
35010 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35011 function.
35012 (libc_fesetround_387): Likewise.
35013 (libc_fesetroundf): New macro.
35014 (libc_fesetround): Likewise.
35015 (libc_fesetroundl): Likewise.
35016 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35017 function.
35018 (libc_fesetroundf): New macro.
35019 (libc_fesetround): Likewise.
35020 (libc_fesetroundl): Likewise.
35021 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35022 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35023 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35024 libm_hidden_ver.
35025 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35026 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35027 libm_hidden_def.
35028 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35029 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35030 libm_hidden_ver.
35031 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35032 libm_hidden_def.
35033
fbeafede
JM
35034 [BZ #3439]
35035 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35036 integer constant usable in #if and use that to give value to enum
35037 constant.
35038 (FE_DIVBYZERO): Likewise.
35039 (FE_UNDERFLOW): Likewise.
35040 (FE_OVERFLOW): Likewise.
35041 (FE_INVALID): Likewise.
35042 (FE_INVALID_SNAN): Likewise.
35043 (FE_INVALID_ISI): Likewise.
35044 (FE_INVALID_IDI): Likewise.
35045 (FE_INVALID_ZDZ): Likewise.
35046 (FE_INVALID_IMZ): Likewise.
35047 (FE_INVALID_COMPARE): Likewise.
35048 (FE_INVALID_SOFTWARE): Likewise.
35049 (FE_INVALID_SQRT): Likewise.
35050 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35051 (FE_TONEAREST): Likewise.
35052 (FE_TOWARDZERO): Likewise.
35053 (FE_UPWARD): Likewise.
35054 (FE_DOWNWARD): Likewise.
35055 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35056 (FE_DIVBYZERO): Likewise.
35057 (FE_OVERFLOW): Likewise.
35058 (FE_UNDERFLOW): Likewise.
35059 (FE_INEXACT): Likewise.
35060 (FE_TONEAREST): Likewise.
35061 (FE_DOWNWARD): Likewise.
35062 (FE_UPWARD): Likewise.
35063 (FE_TOWARDZERO): Likewise.
35064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35065 (FE_UNDERFLOW): Likewise.
35066 (FE_OVERFLOW): Likewise.
35067 (FE_DIVBYZERO): Likewise.
35068 (FE_INVALID): Likewise.
35069 (FE_TONEAREST): Likewise.
35070 (FE_TOWARDZERO): Likewise.
35071 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35072 (FE_OVERFLOW): Likewise.
35073 (FE_UNDERFLOW): Likewise.
35074 (FE_DIVBYZERO): Likewise.
35075 (FE_INEXACT): Likewise.
35076 (FE_TONEAREST): Likewise.
35077 (FE_TOWARDZERO): Likewise.
35078 (FE_UPWARD): Likewise.
35079 (FE_DOWNWARD): Likewise.
35080 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35081 (FE_DIVBYZERO): Likewise.
35082 (FE_OVERFLOW): Likewise.
35083 (FE_UNDERFLOW): Likewise.
35084 (FE_INEXACT): Likewise.
35085 (FE_TONEAREST): Likewise.
35086 (FE_DOWNWARD): Likewise.
35087 (FE_UPWARD): Likewise.
35088 (FE_TOWARDZERO): Likewise.
35089
105ca950
CM
350902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35091
35092 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35093
a542b389
AS
350942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35095
35096 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35097 commands. Quote $PWD.
35098 (blacklist_exports): Don't use remove_newlines. Replace "declare
35099 -x" by "export".
35100 (remove_newlines): Remove.
35101
f62c8abc
L
351022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35103
35104 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35105 * stdlib/stdlib.h (atof): Moved to ...
35106 * include/bits/stdlib-float.h: Here. New file.
35107 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35108 * stdlib/bits/stdlib-float.h: New file.
35109 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35110 -mno-sse -mno-mmx.
35111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35112 <xmmintrin.h>.
35113
0155d5b2
JM
351142012-11-02 Joseph Myers <joseph@codesourcery.com>
35115
a68d0680
JM
35116 * conform/conformtest.pl (@headers): Add fenv.h.
35117 * conform/data/fenv.h-data: New file.
35118 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35119 include of <math/fenv.h>.
35120
caf7f573
JM
35121 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35122 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35123 && !UNIX98]. Enables tests for XOPEN2K8.
35124 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35125 POSIX2008]: Likewise.
35126
6c073ad6
JM
35127 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35128 (struct rusage): Do not expect type or its members.
35129
0155d5b2
JM
35130 [BZ #3439]
35131 * math/math.h (FP_NAN): Define macro to integer constant usable in
35132 #if and use that to give value to enum constant.
35133 (FP_INFINITE): Likewise.
35134 (FP_ZERO): Likewise.
35135 (FP_SUBNORMAL): Likewise.
35136 (FP_NORMAL): Likewise.
35137
b5dcacb4
AS
351382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35139
35140 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35141 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35142 arguments.
35143
f7934be8
RM
351442012-11-02 Roland McGrath <roland@hack.frob.com>
35145
35146 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35147 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35148 autoconf-time if not.
35149 * configure.in: Remove AC_PREREQ.
35150
d7d08bde
TMQMF
351512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35152
35153 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35154 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35155 of the internal implementation.
35156
dcdae19a
JM
351572012-11-02 Joseph Myers <joseph@codesourcery.com>
35158
35159 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35160 except include of <misc/sys/syslog.h>.
35161
d6cffd3e
AS
351622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35163
35164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35165 function returns with a NULL context exit with zero.
35166
b3563932
TMQMF
351672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35168
35169 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35170
b288a93d
L
351712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35172
35173 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35174 (run_program_cmd): This.
35175 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35176 (tst_langinfo): New variable. Use it.
35177
a2421a68
SAS
351782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35179
35180 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35181 floating point opcodes.
35182
6f796e1b
TS
351832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35184
7402596b
TS
35185 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35186 variable.
35187
d0d4f868
TS
35188 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35189
6f796e1b
TS
35190 * sysdeps/mach/hurd/powerpc: Remove directory.
35191 * sysdeps/mach/powerpc: Likewise.
35192
4da224a2
AS
351932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35194
35195 * scripts/check-local-headers.sh: Ignore c++ headers.
35196
341dd673
TS
351972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35198
35199 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35200 __libc_cleanup_region_start argument.
35201
473611b2
JM
352022012-11-01 Joseph Myers <joseph@codesourcery.com>
35203
35204 [BZ #14784]
35205 [BZ #14785]
35206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35207 x * y using scaling, not as x * y + z.
35208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35210 * math/libm-test.inc (fma_test): Add more tests.
35211 (fma_test_towardzero): Likewise.
35212 (fma_test_downward): Likewise.
35213 (fma_test_upward): Likewise.
35214
4078da3d
TS
352152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35216
35217 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35218
903252aa
JM
352192012-10-31 Joseph Myers <joseph@codesourcery.com>
35220
35221 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35222 New variable.
35223
cbc818d0
TS
352242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35225
35226 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35227
5a03cb1e
AS
352282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35229
35230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35231 Fix sort order.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35233 Likewise.
35234
90aff2ff
TMQMF
352352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35236
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35238 Fix the order of the list for glibc 2.17.
35239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35240 Likewise.
35241
1818fcb7
AS
352422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35243
35244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35245
ef82f4da
JM
352462012-10-31 Joseph Myers <joseph@codesourcery.com>
35247
16a0e2ec
JM
35248 [BZ #14610]
35249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35250 for low part of x being zero before using __atanl (y).
35251 * math/libm-test.inc (atan2_test): Add another test.
35252
0eb69512
JM
35253 * manual/install.texi (Configuring and compiling): Document
35254 general use of test-wrapper and test-wrapper-env.
35255 * INSTALL: Regenerated.
35256
ef82f4da
JM
35257 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35258 (__fma): Do not extract and scale down low bits on after-rounding
35259 systems when result rounded to normal precision would have normal
35260 exponent.
35261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35262 (__fmal): Do not extract and scale down low bits on after-rounding
35263 systems when result rounded to normal precision would have normal
35264 exponent.
35265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35266 (__fmal): Do not extract and scale down low bits on after-rounding
35267 systems when result rounded to normal precision would have normal
35268 exponent.
35269 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35270 macro.
35271 (fma_test): Add more tests.
35272 (fma_test_towardzero): Likewise.
35273 (fma_test_downward): Likewise.
35274 (fma_test_upward): Likewise.
35275
954ef0d9
L
352762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35277
35278 * sysdeps/i386/tininess.h: Renamed to ...
35279 * sysdeps/x86/tininess.h: This.
35280 * sysdeps/x86_64/tininess.h: Removed.
35281
df61ffb2
JM
352822012-10-30 Joseph Myers <joseph@codesourcery.com>
35283
35284 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35285 input. Use $(build-program-cmd).
35286 ($(objpfx)tst-array1-static.out): Likewise.
35287 ($(objpfx)tst-array2.out): Likewise.
35288 ($(objpfx)tst-array3.out): Likewise.
35289 ($(objpfx)tst-array4.out): Likewise.
35290 ($(objpfx)tst-array5.out): Likewise.
35291 ($(objpfx)tst-array5-static.out): Likewise.
35292
01767843
CM
352932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35294
47cc1490
CM
35295 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35296 if defined.
35297
01767843
CM
35298 * nss/nsswitch.h (nss_interface_function): Provide new
35299 macro for use with NSS functions.
35300 * grp/initgroups.c: Use new macro.
35301 * nss/getXXbyYY.c: Likewise.
35302 * nss/getXXbyYY_r.c: Likewise.
35303 * nss/getXXent.c: Likewise.
35304 * nss/getXXent_r.c: Likewise.
35305 * sysdeps/posix/getaddrinfo.c: Likewise.
35306
8321aa97
AJ
353072012-10-30 Andreas Jaeger <aj@suse.de>
35308
35309 * po/ru.po: Update Russion translation from translation project.
35310
2a27fd6d
JM
353112012-10-30 Joseph Myers <joseph@codesourcery.com>
35312
8627a232
JM
35313 [BZ #14152]
35314 [BZ #14783]
35315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35316 result and shift together with sticky bit instead of replicating
35317 round-to-nearest rounding.
35318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35320 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35321 missing underflow exceptions.
35322 (fma_test_towardzero): Add more tests.
35323 (fma_test_downward): Likewise.
35324 (fma_test_upward): Likewise.
35325
2a27fd6d
JM
35326 [BZ #14047]
35327 * sysdeps/generic/tininess.h: New file.
35328 * sysdeps/i386/tininess.h: Likewise.
35329 * sysdeps/sh/tininess.h: Likewise.
35330 * sysdeps/x86_64/tininess.h: Likewise.
35331 * stdlib/tst-strtod-underflow.c: Likewise.
35332 * stdlib/tst-tininess.c: Likewise.
35333 * stdlib/strtod_l.c: Include <tininess.h>.
35334 (round_and_return): Do not set errno for exact underflow cases.
35335 Force an underflow exception when setting errno for underflow.
35336 Determine underflow based on rounding to normal precision if
35337 TININESS_AFTER_ROUNDING.
35338 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35339 ERANGE for exact underflow cases.
35340 * stdlib/Makefile (tests): Add tst-tininess and
35341 tst-strtod-underflow.
35342 ($(objpfx)tst-tininess): Use $(link-libm).
35343 ($(objpfx)tst-strtod-underflow): Likewise.
35344
e7170363
AJ
353452012-10-30 Andreas Jaeger <aj@suse.de>
35346
e5088dc6
AJ
35347 [BZ#14767]
35348 * elf/Makefile (tests): Remove conditional for have-initfini-array
35349 since this is now always required and the variable does not exist
35350 anymore.
35351 (tests-static): Likewise.
35352 (modules-names): Likewise.
35353
e7170363 35354 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35355
35356 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35357 merged with constructor/destructor.
35358 (init_array): Likewise.
35359 * elf/tst-array2dep.c (fini_array): Likewise.
35360 (init_array): Likewise.
35361
60457d8a
MF
353622012-10-29 Mike Frysinger <vapier@gentoo.org>
35363
35364 * manual/message.texi: Delete @cartouche tags.
35365
8bece752
PT
353662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35367
94ce799f
PT
35368 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35369 EOPNOTSUPP.
35370 * sysdeps/mach/hurd/fsync.c: Likewise.
35371
8bece752
PT
35372 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35373 [_POSIX_REALTIME_SIGNALS]: Change condition to
35374 [_POSIX_REALTIME_SIGNALS > 0].
35375
86ebe6b1
AJ
353762012-10-27 Andreas Jaeger <aj@suse.de>
35377
35378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35379 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35381 [__WORDSIZE != 64]: Likewise.
35382
54399c08
L
353832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35384
35385 * iconvdata/tst-table.sh: Remove ${SHELL}.
35386 * iconvdata/tst-tables.sh: Likewise.
35387
e2211bed
DM
353882012-10-25 David S. Miller <davem@davemloft.net>
35389
35390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35391 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35392 of strtoull.
35393
f303f97c
DM
35394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35395 ifunc-impl-list.c
35396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35398 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35399 file.
35400
1e9d84cd
RM
354012012-10-25 Roland McGrath <roland@hack.frob.com>
35402
35403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35404 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35405 __getdirentries.
35406
df381762
JM
354072012-10-25 Joseph Myers <joseph@codesourcery.com>
35408 Jim Blandy <jimb@codesourcery.com>
35409
35410 * scripts/cross-test-ssh.sh: New file.
35411 * manual/install.texi (Configuring and compiling): Document use of
35412 cross-test-ssh.sh.
35413 * INSTALL: Regenerated.
35414
bff64913
PT
354152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35416
35417 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35418 EOPNOTSUPP.
35419
25fe8932
JM
354202012-10-25 Joseph Myers <joseph@codesourcery.com>
35421
35422 * Makeconfig (run-program-prefix): Fix comment.
35423
cc1290d0
JM
354242012-10-24 Joseph Myers <joseph@codesourcery.com>
35425 Jim Blandy <jimb@codesourcery.com>
35426
35427 * Makeconfig (test-wrapper): New variable,
35428 (test-wrapper-env): Likewise.
35429 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35430 (run-built-tests): Define to yes.
35431 (run-program-prefix): Use $(test-wrapper).
35432 (built-program-cmd): Likewise.
35433 * Rules (make-test-out): Use $(test-wrapper-env) and
35434 $(host-built-program-cmd).
35435 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35436 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35437 tst-pathopt.sh.
35438 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35439 $(test-wrapper-env) to tst-rtld-load-self.sh.
35440 ($(objpfx)order2.out): Use $(test-wrapper).
35441 ($(objpfx)tst-initorder.out): Likewise.
35442 ($(objpfx)tst-initorder2.out): Likewise.
35443 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35444 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35445 (test_wrapper_env): New variable. Use it to run ld.so.
35446 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35447 Use it to run ld.so.
35448 (test_wrapper_env): Likewise.
35449 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35450 $(test-wrapper) to run-iconv-test.sh.
35451 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35452 (ICONV): Use $test_wrapper.
35453 * posix/Makefile ($(objpfx)globtest.out): Pass
35454 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35455 globtest.sh, not $(run-program-prefix).
35456 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35457 (test_wrapper): Likewise.
35458 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35459 set together with run_via_rtld_prefix.
35460 (run_program_prefix): Define in terms of test_wrapper and
35461 run_via_rtld_prefix.
35462
6e6249d0
RM
354632012-10-24 Roland McGrath <roland@hack.frob.com>
35464
35465 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35466 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35467 Targets removed.
35468
35469 [BZ #14743]
35470 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35471 Declare __clock_getres, __clock_gettime, __clock_settime,
35472 __clock_nanosleep, and __clock_getcpuclockid.
35473 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35474 Remove librt_hidden_def (clock_gettime).
35475 * sysdeps/unix/clock_gettime.c: Likewise.
35476 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35478 * rt/clock_getres.c: Define __clock_getres as an alias.
35479 * sysdeps/posix/clock_getres.c: Likewise.
35480 * rt/clock_settime.c: Define __clock_settime as an alias.
35481 * sysdeps/unix/clock_settime.c: Likewise.
35482 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35483 * sysdeps/unix/clock_nanosleep.c: Likewise.
35484 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35485 * rt/clock-compat.c: New file.
35486 * rt/Makefile (librt-routines): Add clock-compat and move
35487 $(clock-routines) to ...
35488 (routines): ... here, new variable.
35489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35490 Don't add get_clockfreq here.
35491 * rt/Versions (libc: GLIBC_2.17): New version set.
35492 Add clock_* symbols here.
35493 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35495 (GLIBC_2.17): Add clock_* symbols.
35496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35500 Likewise.
35501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35502 Likewise.
35503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35507 * NEWS: Mention the move.
35508
35509 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35510 Use __open, __read, __close rather than their public counterparts.
35511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35512 (__get_clockfreq_via_cpuinfo): Likewise.
35513 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35514 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35515
35516 * config.h.in (HAVE_IFUNC): New #undef.
35517 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35518 was successful.
35519 * configure: Regenerated.
35520
0cae3f4b
MF
355212012-10-24 Mike Frysinger <vapier@gentoo.org>
35522
35523 * configure.in: Move READELF check to start of file.
35524 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35525 libc_cv_asm_gnu_indirect_function in the process.
35526 * configure: Regenerated.
35527
8175a253
MF
355282012-10-24 Mike Frysinger <vapier@gentoo.org>
35529
35530 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35531 send the output to /dev/null.
35532 (libc_cv_cc_with_libunwind): Likewise.
35533 (libc_cv_as_noexecstack): Likewise.
35534 * configure: Regenerate.
35535
0708a7d1
JM
355362012-10-24 Joseph Myers <joseph@codesourcery.com>
35537
10b40d85
JM
35538 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35539
0708a7d1
JM
35540 * posix/globtest.sh (TMPDIR): Do not set.
35541 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35542 (testout): Likewise.
35543
9fddec1a
AJ
355442012-10-24 Andreas Jaeger <aj@suse.de>
35545
3a8db22f
AJ
35546 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35547 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35548 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35549 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35550 posix_fadvise64, posix_fallocate64.
35551
9fddec1a
AJ
35552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35553 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35554 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35555 Likewise.
35556 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35557 Likewise.
35558 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35559
35560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35561 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35562 <bits/fcntl-linux.h>.
35563 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35564
35565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35566 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35567 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35568 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35569 [__WORDSIZE != 64]: Likewise.
35570
ebfd1bbd
JM
355712012-10-23 Joseph Myers <joseph@codesourcery.com>
35572
03ac099f
JM
35573 * Makeconfig (run-built-tests): New variable.
35574 * Rules [$(cross-compiling) = yes]: Change condition to
35575 [$(run-built-tests) = no].
35576 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35577 to [$(run-built-tests) = yes].
35578 * elf/Makefile [$(cross-compiling) = no]: Likewise
35579 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35580 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35581 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35582 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35583 * io/Makefile [$(cross-compiling) = no]: Likewise.
35584 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35585 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35586 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35587 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35588 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35589 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35590 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35591 * string/Makefile [$(cross-compiling) = no]: Likewise.
35592
ebfd1bbd
JM
35593 * posix/Makefile ($(objpfx)globtest.out): Pass
35594 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35595 $(rtld-installed-name).
35596 * posix/globtest.sh (elf_objpfx): Remove variable.
35597 (rtld_installed_name): Likewise.
35598 (library_path): Likewise.
35599 (run_program_prefix): New variable. Use for running globtest
35600 binary.
35601
166bca24
JB
356022012-10-23 Jim Blandy <jimb@codesourcery.com>
35603 Joseph Myers <joseph@codesourcery.com>
35604
35605 * Makeconfig (host-built-program-cmd): New variable.
35606 * elf/Makefile (tst-stackguard1-ARGS): Use
35607 $(host-built-program-cmd).
35608 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35609 (tst-spawn-ARGS): Likewise.
35610 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35611
88866099
JM
356122012-10-23 Joseph Myers <joseph@codesourcery.com>
35613 Jim Blandy <jimb@codesourcery.com>
35614
35615 * Makeconfig (run-via-rtld-prefix): New variable.
35616 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35617 (built-program-cmd): Likewise.
35618
b4b4c296
AJ
356192012-10-22 Andreas Jaeger <aj@suse.de>
35620
35621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35622 __O_RSYNC if it exists, otherwise to O_SYNC.
35623
6fb54a22
JB
356242012-10-22 Jim Blandy <jimb@codesourcery.com>
35625 Joseph Myers <joseph@codesourcery.com>
35626
35627 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35628 /dev/null.
35629 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35630 from /dev/null
35631 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35632 /dev/null.
35633
481b90b9
AJ
356342012-10-22 Andreas Jaeger <aj@suse.de>
35635
2a0e2669
AJ
35636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35637 Define always.
35638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35639
76e38f9a
AJ
35640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35641 bits/fcntl-linux.h.
35642
7cd37b43
AJ
35643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35644 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35645
481b90b9
AJ
35646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35647 to __O_LARGEFILE.
35648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35649 to __O_LARGEFILE.
35650
aba75984
JB
356512012-10-21 Jim Blandy <jimb@codesourcery.com>
35652 Joseph Myers <joseph@codesourcery.com>
35653
35654 * config.make.in (NM): New variable.
35655
88d4247f
AJ
356562012-10-21 Andreas Jaeger <aj@suse.de>
35657
35658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35659 definitions and declarations that are provided by
35660 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35661
f2eed205
L
356622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35663
35664 [BZ #14683]
35665 * elf/Makefile (tests-static): Add tst-leaks1-static.
35666 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35667 ($(objpfx)tst-leaks1-static): New rule.
35668 ($(objpfx)tst-leaks1-static-mem): Likewise.
35669 (tst-leaks1-static-ENV): New macro.
35670 * elf/dl-open.c (dl_open_worker): Check the main application
35671 only if SHARED is defined.
35672 * elf/tst-leaks1-static.c: New file.
35673
335e6931
AJ
356742012-10-20 Andreas Jaeger <aj@suse.de>
35675
35676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35677 generic values for Linux.
35678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35679 and declarations that are provided by <bits/fcntl-linux.h> and
35680 include <bits/fcntl-linux.h>.
35681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35683
ac5c94d3
RM
356842012-10-20 Roland McGrath <roland@hack.frob.com>
35685
35686 * io/fcntl.h: Move include of <bits/types.h> to the top and
35687 include it unconditionally.
35688
de54b33a
L
356892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35690
228cfb01
L
35691 * wcsmbs/Makefile (tests-ifunc): New variable.
35692 (tests): Add $(tests-ifunc).
35693 * wcsmbs/test-wcschr-ifunc.c: New file.
35694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35699
69f07e5f
L
35700 * string/Makefile (tests-ifunc): New variable.
35701 (tests): Add $(tests-ifunc).
35702 * string/test-memccpy.c (TEST_NAME): New macro.
35703 * string/test-memchr.c (TEST_NAME): Likewise.
35704 * string/test-memcmp.c (TEST_NAME): Likewise.
35705 * string/test-memcpy.c (TEST_NAME): Likewise.
35706 * string/test-memmem.c (TEST_NAME): Likewise.
35707 * string/test-memmove.c (TEST_NAME): Likewise.
35708 * string/test-memset.c (TEST_NAME): Likewise.
35709 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35710 * string/test-stpcpy.c (TEST_NAME): Likewise.
35711 * string/test-stpncpy.c (TEST_NAME): Likewise.
35712 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35713 * string/test-strcasestr.c (TEST_NAME): Likewise.
35714 * string/test-strcat.c (TEST_NAME): Likewise.
35715 * string/test-strchr.c (TEST_NAME): Likewise.
35716 * string/test-strcmp.c(TEST_NAME): Likewise.
35717 * string/test-strcpy.c (TEST_NAME): Likewise.
35718 * string/test-strcspn.c (TEST_NAME): Likewise.
35719 * string/test-strlen.c (TEST_NAME): Likewise.
35720 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35721 * string/test-strncmp.c (TEST_NAME): Likewise.
35722 * string/test-strncpy.c (TEST_NAME): Likewise.
35723 * string/test-strnlen.c (TEST_NAME): Likewise.
35724 * string/test-strpbrk.c (TEST_NAME): Likewise.
35725 * string/test-strrchr.c (TEST_NAME): Likewise.
35726 * string/test-strspn.c (TEST_NAME): Likewise.
35727 * string/test-strstr.c (TEST_NAME): Likewise.
35728 * string/test-bcopy-ifunc.c: New file.
35729 * string/test-bzero-ifunc.c: Likewise.
35730 * string/test-memccpy-ifunc.c: Likewise.
35731 * string/test-memchr-ifunc.c: Likewise.
35732 * string/test-memcmp-ifunc.c: Likewise.
35733 * string/test-memcpy-ifunc.c: Likewise.
35734 * string/test-memmem-ifunc.c: Likewise.
35735 * string/test-memmove-ifunc.c: Likewise.
35736 * string/test-mempcpy-ifunc.c: Likewise.
35737 * string/test-memset-ifunc.c: Likewise.
35738 * string/test-rawmemchr-ifunc.c: Likewise.
35739 * string/test-stpcpy-ifunc.c: Likewise.
35740 * string/test-stpncpy-ifunc.c: Likewise.
35741 * string/test-strcasecmp-ifunc.c: Likewise.
35742 * string/test-strcasestr-ifunc.c: Likewise.
35743 * string/test-strcat-ifunc.c: Likewise.
35744 * string/test-strchr-ifunc.c: Likewise.
35745 * string/test-strchrnul-ifunc.c: Likewise.
35746 * string/test-strcmp-ifunc.c: Likewise.
35747 * string/test-strcpy-ifunc.c: Likewise.
35748 * string/test-strcspn-ifunc.c: Likewise.
35749 * string/test-strlen-ifunc.c: Likewise.
35750 * string/test-strncasecmp-ifunc.c: Likewise.
35751 * string/test-strncat-ifunc.c: Likewise.
35752 * string/test-strncmp-ifunc.c: Likewise.
35753 * string/test-strncpy-ifunc.c: Likewise.
35754 * string/test-strnlen-ifunc.c: Likewise.
35755 * string/test-strpbrk-ifunc.c: Likewise.
35756 * string/test-strrchr-ifunc.c: Likewise.
35757 * string/test-strspn-ifunc.c: Likewise.
35758 * string/test-strstr-ifunc.c: Likewise.
35759
de54b33a
L
35760 * debug/Makefile (tests-ifunc): New variable.
35761 (tests): Add $(tests-ifunc).
35762 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35763 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35764 * debug/test-stpcpy_chk-ifunc.c: New file.
35765 * debug/test-strcpy_chk-ifunc.c: Likewise.
35766
88481c16
SP
357672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35768
35769 [BZ #13601]
35770 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35771 header is not read in.
35772
135948bd
JM
357732012-10-19 Joseph Myers <joseph@codesourcery.com>
35774
89f1c388
JM
35775 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35776 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35777 directly. Pass built executable to script as
35778 $(built-program-cmd).
35779 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35780 $testprogram without using LD_LIBRARY_PATH and $ldso.
35781
e40a0d21
JM
35782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35783 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35784 $(rtld-installed-name).
35785 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35786 (rtld_installed_name): Likewise.
35787 (library_path): Likewise.
35788 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35789 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35790 $(run-program-prefix) to tst-tables.sh.
35791 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35792 it to run tst-table-from and tst-table-to.
35793 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35794 Pass it to tst-table.sh.
35795 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35796 $(run-program-prefix) to tst-gettext.sh.
35797 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35798 tst-translit.sh.
35799 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35800 tst-gettext2.sh.
35801 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35802 to run tst-gettext.
35803 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35804 to run tst-gettext2.
35805 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35806 to run tst-translit.
35807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35808 $(run-program-prefix) to tst-mtrace.sh.
35809 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35810 to run tst-mtrace.
35811 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35812 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35813 $(rtld-installed-name).
35814 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35815 (rtld_installed_name): Likewise.
35816 (run_program_prefix): New variable. Use it to run wordexp-test.
35817
728e272a
JM
35818 * Makeconfig (ARCH): Remove all definitions.
35819 (machine): Likewise.
35820 [ARCH]: Remove conditional code.
35821 [!objdir]: Give error.
35822 [!objdir] (objpfx): Remove.
35823 [!objdir] (common-objpfx): Likewise.
35824 [!objdir] (common-objdir): Likewise.
35825 * configure.in (config_makefile): Remove. Hardcode Makefile in
35826 AC_CONFIG_FILES call.
35827 * configure: Regenerated.
35828
d528cdcf
JM
35829 [BZ #13888]
35830 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35831 or TMPDIR.
35832 (testout): Likewise.
35833
135948bd
JM
35834 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35835 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35836 $(rtld-installed-name).
35837 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35838 (rtld_installed_name): Likwise.
35839 (runit): Remove function.
35840 (run_getconf): New variable, Use it for running getconf binary.
35841
38c78296
L
358422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35843
35844 [BZ #14716]
35845 * string/test-memmem.c (check_result): New function.
35846 (do_one_test): Use it.
35847 (check1): New function.
35848 (test_main): Use it.
35849
d077f65f
MT
358502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35851
35852 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35853
ced52c71
JM
358542012-10-18 Joseph Myers <joseph@codesourcery.com>
35855
35856 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35857 (_G_LSEEK64): Likewise.
35858 (_G_MMAP64): Likewise.
35859 (_G_FSTAT64): Likewise.
35860 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35861 (_G_LSEEK64): Likewise.
35862 (_G_MMAP64): Likewise.
35863 (_G_FSTAT64): Likewise.
35864 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35865 unconditional. Call __mmap64 directly.
35866 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35867 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35868 __lseek64 directly.
35869 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35870 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35871 __mmap64 directly.
35872 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35873 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35874 __lseek64 directly.
35875 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35876 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35877 __lseek64 directly.
35878 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35879 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35880 __lseek64 directly.
35881 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35882 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35883 __fxstat64 directly.
35884 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35885 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35886 unconditional.
35887 (freopen64) [!_G_OPEN64]: Remove conditional code.
35888 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35889 unconditional.
35890 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35891 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35892 unconditional.
35893 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35894 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35895 unconditional.
35896 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35897 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35898 unconditional.
35899 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35900 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35901 unconditional.
35902 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35903 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35904 unconditional.
35905 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35906 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35907 unconditional.
35908 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35909
b741de23
SP
359102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35911
35912 [BZ #12140]
35913 * manual/memory.texi (Malloc Tunable Parameters): Add note
35914 about free list pointers overwriting some perturb bytes.
35915 Wording suggested by Roland McGrath.
35916
f9b9d9c9
JM
359172012-10-17 Joseph Myers <joseph@codesourcery.com>
35918
35919 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35920 (lgamma_test): Likewise.
35921 (tgamma_test): Likewise.
35922
172a631a
FW
359232012-10-16 Florian Weimer <fweimer@redhat.com>
35924
35925 [BZ #14700]
35926 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35927 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35928
e9f37252
MK
359292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35930
35931 * NEWS: Mention BZ #14716.
35932 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35933 when removing AVAILABLE1_USES_J macro.
35934
d394eb74
L
359352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35938 (__bswap_64): __uint64_t for unsigned 64-bit int.
35939
ca38dc17
AS
359402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35941
35942 * include/string.h (memmem): Declare libc hidden alias.
35943 * string/memmem.c (memmem): Define libc hidden alias.
35944 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35945 __read, __close instead of open, read, close.
35946
9a387d1f
L
359472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35948
ac49ecaf
L
35949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35950 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35951 global and hidden.
35952 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35953 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35954 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35955 Likewise.
35956 (__rawmemchr_sse2): Likewise.
35957 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35959 (__strchr_sse2): Likewise.
35960 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35961 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35962 (__strcasecmp_sse2): Likewise.
35963 (__strncasecmp_sse2): Likewise.
35964 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35965 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35966 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35967 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35968 (__strrchr_sse2): Likewise.
35969 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35970 ifunc-impl-list.c.
35971 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35972 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35973 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35979 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35980 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35981 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35982 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35984 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35985 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35987 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35988 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35989 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35990 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35991 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35992 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35993 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35994 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35995 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35999 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36000 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36001
b090e8ea
L
36002 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36003 global and hidden.
36004 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36005 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36006 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36007 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36008 Likewise.
36009 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36010 Likewise.
36011 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36012 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36013 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36014 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36015 ifunc-impl-list.c.
36016 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36017 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36029 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36030 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36033 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36034 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36035 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36041 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36042 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36043 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36044 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36046 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36049 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36057
11dd4af6
L
36058 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36059 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36060 * include/ifunc-impl-list.h: New file.
36061 * misc/ifunc-impl-list.c: Likewise.
36062 * misc/Makefile (routines): Add ifunc-impl-list.
36063 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36064 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36065 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36066 TEST_NAME]: New variables.
11dd4af6
L
36067 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36068 are defined.
36069 (test_init): Call __libc_ifunc_impl_list to initialize
36070 func_list if TEST_IFUNC and TEST_NAME are defined.
36071
9a387d1f
L
36072 * string/Makefile (strop-tests): Add bcopy and bzero.
36073 * string/test-bcopy.c: New file.
36074 * string/test-bzero.c: Likewise.
36075 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36076 defined.
36077 * string/test-memset.c: Support bzero test if TEST_BZERO is
36078 defined.
36079 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36080 __libc_memmove.
36081 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36082 __libc_memset.
36083 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36084 of memset.
36085
472371b9
JM
360862012-10-10 Joseph Myers <joseph@codesourcery.com>
36087
1e4a9536
JM
36088 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36089 * configure: Regenerated.
36090
d173d12e
JM
36091 * Makeconfig (+link-static-before-libc): Don't include
36092 $(link-static-libc).
36093
472371b9
JM
36094 * libio/libio.h (_IO_pos_t): Remove.
36095
89a3ad0b
AO
360962012-10-10 Alexandre Oliva <aoliva@redhat.com>
36097
36098 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36099 McGrath.
36100
e7451425
AO
361012012-10-10 Alexandre Oliva <aoliva@redhat.com>
36102
36103 * crypt/crypt-entry.c: Include fips-private.h.
36104 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36105 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36106 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36107 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36108
4ba74a35
AO
361092012-10-10 Alexandre Oliva <aoliva@redhat.com>
36110
36111 * crypt/crypt-private.h: Include stdbool.h.
36112 (_ufc_setup_salt_r): Return bool.
36113 * crypt/crypt-entry.c: Include errno.h.
36114 (__crypt_r): Return NULL with EINVAL for bad salt.
36115 * crypt/crypt_util.c (bad_for_salt): New.
36116 (_ufc_setup_salt_r): Check that salt is long enough and within
36117 the specified alphabet.
36118 * crypt/badsalttest.c: New file.
36119 * crypt/Makefile (tests): Add it.
36120 ($(objpfx)badsalttest): New.
36121
f96f1242
MK
361222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36123
36124 * NEWS: Add entry for BZ #14602.
36125
0e8e0c1c
JM
361262012-10-09 Joseph Myers <joseph@codesourcery.com>
36127
36128 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36129 type-generic.
36130 * math/libm-test.inc: Update comment listing what functions and
36131 macros are tested.
36132 (isgreater_test): New function.
36133 (isgreaterequal_test): Likewise.
36134 (isless_test): Likewise.
36135 (islessequal_test): Likewise.
36136 (islessgreater_test): Likewise.
36137 (isunordered_test): Likewise.
36138 (main): Call the new functions.
36139
273edc5e
RM
361402012-10-09 Roland McGrath <roland@hack.frob.com>
36141
b8493de0
RM
36142 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36143 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36144 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36145 * sysdeps/i386/configure: Regenerated.
36146 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36147 * sysdeps/mach/configure: Regenerated.
36148 * sysdeps/mach/hurd/configure: Regenerated.
36149 * sysdeps/powerpc/configure: Regenerated.
36150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36152 * sysdeps/s390/s390-32/configure: Regenerated.
36153 * sysdeps/s390/s390-64/configure: Regenerated.
36154 * sysdeps/sh/configure: Regenerated.
36155 * sysdeps/sparc/configure: Regenerated.
36156 * sysdeps/unix/sysv/linux/configure: Regenerated.
36157 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36158 * sysdeps/x86_64/configure: Regenerated.
36159
273edc5e
RM
36160 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36161 defined. Don't check if MAP is NULL.
36162
c8450f70
JM
361632012-10-09 Joseph Myers <joseph@codesourcery.com>
36164
36165 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36166 (_G_stat64): Likewise.
36167 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36168 (_G_stat64): Likewise.
36169 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36170 instead of struct _G_stat64.
36171 * libio/fileops.c (mmap_remap_check): Likewise.
36172 (decide_maybe_mmap): Likewise.
36173 (_IO_new_file_seekoff): Likewise.
36174 (_IO_file_stat): Likewise.
36175 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36176 _G_off64_t.
36177 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36178 instead of struct _G_stat64.
36179 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36180
57e605ba
MK
361812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36182
36183 [BZ #14602]
36184 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36185 Replace with ...
36186 (CHECK_EOL): New macro.
36187 (two_way_short_needle): Check beginning of haystack for EOL. Use
36188 CHECK_EOL.
36189 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36190 Replace with CHECK_EOL.
36191 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36192 Replace with CHECK_EOL.
36193
ef1bb361
JM
361942012-10-08 Joseph Myers <joseph@codesourcery.com>
36195
36196 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36197 type-generic.
36198 * math/libm-test.inc: Update comment listing what functions and
36199 macros are tested.
36200 (finite_test): New function.
36201 (isinf_test): Likewise.
36202 (isnan_test): Likewise.
36203 (fpclassify_test): Test subnormal input.
36204 (isfinite_test): Likewise.
36205 (isnormal_test): Likewise.
36206 (main): Call the new functions.
36207
55f11534
JN
362082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36209
36210 [BZ #14660]
36211 * Makerules (%.dynsym): Force C locale when running
36212 $(OBJDUMP) --dynamic-syms.
36213
1ab29350
AS
362142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36215
36216 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36217 <stdint.h>.
36218
f1ecb7ef
DM
362192012-10-06 David S. Miller <davem@davemloft.net>
36220
36221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36222 upper 32-bits of the length value in %o2 since we use branch-on-register
36223 tests which consider the entire 64-bit register.
36224
5d41d91a
L
362252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36226
36227 * string/test-strstr.c (check2): Add a test for page boundary.
36228
3baddb72
DM
362292012-10-05 David S. Miller <davem@davemloft.net>
36230
36231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36233 file.
36234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36235 sysdep_routines.
36236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36237 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36238 and bzero when HWCAP_SPARC_CRYPTO is present.
36239
9cee5585
L
362402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36241
d7e0dab9
L
36242 [BZ #14602]
36243 * string/test-strstr.c (check2): New function.
36244 (test_main): Call check2.
36245
03759f47
L
36246 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36247 and bug-strchr1.
36248 * string/bug-strcasestr1.c (do_test): Moved to ...
36249 * string/test-strcasestr.c (check1): Here. New function.
36250 (do_one_test): Break out result checking code into ...
36251 (check_result): This. New function.
36252 (do_one_test): Call check_result.
36253 (test_main): Call check1.
36254 * string/bug-strchr1.c (do_test): Moved to ...
36255 * string/test-strchr.c (check1): Here. New function.
36256 (do_one_test): Break out result checking code into ...
36257 (check_result): This. New function.
36258 (do_one_test): Call check_result.
36259 (test_main): Call check1.
36260 * string/bug-strstr1.c (main): Moved to ...
046f153e 36261 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36262 (do_one_test): Break out result checking code into ...
36263 (check_result): This. New function.
36264 (do_one_test): Call check_result.
36265 (test_main): Call check1.
36266 * string/bug-strcasestr1.c: Removed.
36267 * string/bug-strchr1.c: Likewise.
36268 * string/bug-strstr1.c: Likewise.
36269
53cea63e
L
36270 * elf/Makefile (dl-routines): Add hwcaps.
36271 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36272 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36273 (_dl_important_hwcaps): Moved to ...
36274 * elf/dl-hwcaps.c: Here. New file.
36275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36276
9cee5585 36277 [BZ #14557]
bb859b06
L
36278 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36279 if IS_IN_rtld isn't defined.
36280
9cee5585
L
36281 * elf/dl-support.c (_dl_sysinfo_map): New.
36282 Include "get-dynamic-info.h" and "setup-vdso.h".
36283 (_dl_non_dynamic_init): Call setup_vdso.
36284 * elf/dynamic-link.h: Don't include <assert.h>.
36285 (elf_get_dynamic_info): Moved to ...
36286 * elf/get-dynamic-info.h: Here. New file.
36287 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36288 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36289 * elf/setup-vdso.h: Here. New file.
36290 * elf/rtld.c: Include "setup-vdso.h".
36291 (dl_main): Call setup_vdso.
36292
23c31b76
JM
362932012-10-05 Joseph Myers <joseph@codesourcery.com>
36294
28234b07
JM
36295 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36296 creal in comment listing functions tested. List finite, isinf,
36297 isnan, isless, islessequal, isgreater, isgreaterequal,
36298 islessgreater, isunordered, lgamma_r and pow10 as functions and
36299 macros not tested. Mention which functions not tested are aliases
36300 for other functions. Fix typo. Note that signs of NaNs are not
36301 tested.
36302
23c31b76
JM
36303 * scripts/config.guess: Update from config.git.
36304 * scripts/config.sub: Likewise.
36305
9043e228
RM
363062012-10-04 Roland McGrath <roland@hack.frob.com>
36307
36308 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36309 * misc/madvise.c (madvise): Renamed to __madvise.
36310 Make madvise a weak alias.
36311 * include/sys/mman.h: Declare __madvise.
36312 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36313 * sysdeps/unix/syscalls.list
36314 (madvise): Make __madvise the strong name, and madvise a weak alias.
36315 * sysdeps/unix/sysv/linux/syscalls.list
36316 (madvise, mmap): Remove redundant entries.
36317 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36318 * malloc/malloc.c (mtrim): Likewise.
36319 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36320
f57f8055
RM
363212012-10-03 Roland McGrath <roland@hack.frob.com>
36322
36323 * sysdeps/mach/hurd/dl-cache.c: File removed.
36324 * config.h.in (USE_LDCONFIG): New #undef.
36325 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36326 * configure: Regenerated.
36327 * elf/Makefile (dl-routines): Add dl-cache only under
36328 [$(use-ldconfig) = yes].
36329 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36330 cache on [USE_LDCONFIG].
36331 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36332 [USE_LDCONFIG].
36333 * elf/rtld.c (dl_main): Likewise.
36334
5bb0c10a
PT
363352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36336
36337 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36338 _SC_LEVEL4_CACHE_LINESIZE.
36339
010188c6
RM
363402012-10-03 Roland McGrath <roland@hack.frob.com>
36341
36342 * sysdeps/unix/bsd/confstr.h: File removed.
36343
b6c5ec07
AO
363442012-10-02 Alexandre Oliva <aoliva@redhat.com>
36345
36346 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36347 sys/sdt-config.h.
36348
408223d4
RM
363492012-10-02 Roland McGrath <roland@hack.frob.com>
36350
36351 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36352 Make 'mapoff' field ElfW(Off) rather than off_t.
36353
bb9510dc
DL
363542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36355
fc997c6e
DL
36356 * nscd/Makefile: Remove nscd-cflags and all its users.
36357 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36358 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36359
bb9510dc
DL
36360 [BZ #10631]
36361 * malloc.c (malloc_printerr): Clarify error message.
36362
05699367
L
363632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36364
36365 [BZ #14648]
36366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36367 Set bit_FMA_Usable if FMA is supported.
36368 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36369 macro.
36370 (bit_FMA4_Usable): Updated.
36371 (index_FMA_Usable): New macro.
36372 (CPUID_FMA): Likewise
36373 (HAS_FMA): Defined with bit_FMA_Usable.
36374
51367701
RM
363752012-10-01 Roland McGrath <roland@hack.frob.com>
36376
36377 * bits/types.h (__swblk_t): Type removed.
36378 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36379 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36381 (__SWBLK_T_TYPE): Likewise.
36382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36383 (__SWBLK_T_TYPE): Likewise.
36384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36385 (__SWBLK_T_TYPE): Likewise.
36386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36387 (__SWBLK_T_TYPE): Likewise.
36388
4d57bf63 363892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36390 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36391
36392 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36393 (xdr_mapname): Use YPMAXMAP as maxsize.
36394 (xdr_peername): Use YPMAXPEER as maxsize.
36395 (xdr_keydat): Use YPAXRECORD as maxsize.
36396 (xdr_valdat): Use YPMAXRECORD as maxsize.
36397
93c65d43
RM
363982012-10-01 Roland McGrath <roland@hack.frob.com>
36399
497a03d6
RM
36400 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36401
93c65d43
RM
36402 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36403 * csu/init-first.c: ... here.
36404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36405 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36408 * sysdeps/i386/init-first.c: File removed.
36409 * sysdeps/sh/init-first.c: File removed.
36410
bec749fd
JM
364112012-10-01 Joseph Myers <joseph@codesourcery.com>
36412
36413 [BZ #14645]
36414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36415 if x * y might underflow to zero and z is zero.
36416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36418 * math/libm-test.inc (min_subnorm_value): New variable.
36419 (fma_test): Add more tests.
36420 (fma_test_towardzero): Likewise.
36421 (fma_test_downward): Likewise
36422 (fma_test_upward): Likewise.
36423 (initialize): Set min_subnorm_value.
36424
8ec5b013
JM
364252012-09-29 Joseph Myers <joseph@codesourcery.com>
36426
36427 [BZ #14638]
36428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36429 0 + 0.
36430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36431 mode for addition resulting in exact zero.
36432 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36434 exact 0 + 0.
36435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36437 * math/libm-test.inc (fma_test): Add more tests.
36438 (fma_test_towardzero): New function.
36439 (fma_test_downward): Likewise.
36440 (fma_test_upward): Likewise.
36441 (main): Call the new functions.
36442
b1fa802e
DM
364432012-09-28 David S. Miller <davem@davemloft.net>
36444
36445 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36446
d3b9fd9e
RM
364472012-09-28 Roland McGrath <roland@hack.frob.com>
36448
ea4d37b3
RM
36449 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36450 instead of SIGALRM.
36451
ac51c949
RM
36452 * sysdeps/gnu/_G_config.h: Moved to ...
36453 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36454 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36455 * sysdeps/generic/_G_config.h: ... here.
36456
28c195f7
RM
36457 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36458
848917f9
RM
36459 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36460
6bacf05b
RM
36461 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36462 Conditionalize target on [libnss_test1.so-version].
36463
91363dbb
RM
36464 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36465
cc87f7d8
RM
36466 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36467 (elfobjdir): Move out of conditionals.
36468
b1c608fe
RM
36469 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36470 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36471 (__nss_lookup_function): Conditionalize label remove_from_tree on
36472 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36473
1d9a6d96
DM
364742012-09-28 David S. Miller <davem@davemloft.net>
36475
36476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36478 file.
36479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36480 sysdep_routines.
36481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36483 when HWCAP_SPARC_CRYPTO is present.
36484
72581615
PT
364852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36486
36487 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36488
715a900c
JL
364892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36490
36491 [BZ #6530]
36492 * stdio-common/vfprintf.c (process_string_arg): Revert
36493 2000-07-22 change.
36494
364952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36496
36497 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36498 for testcase.
36499 * stdio-common/tst-sprintf.c: Include <locale.h>
36500 (main): Test sprintf's handling of incomplete multibyte
36501 characters.
36502
9bac1d86
L
365032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36504
36505 * elf/dl-runtime.c (VERSYMIDX): Removed.
36506 * elf/dl-version.c (VERSYMIDX): Likewise.
36507 * elf/do-rel.h (VERSYMIDX): Likewise.
36508 (VALIDX): Likewise.
36509 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36510 * elf/rtld.c (VALIDX): Likewise.
36511 (ADDRIDX): Likewise.
9bac1d86
L
36512 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36513 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36514 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36515 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36516 (VALIDX): Likewise.
36517 (ADDRIDX): Likewise.
9bac1d86 36518
b31606c0
PT
365192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36520
36521 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36522
11541177
JL
365232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36524
36525 [BZ #11438]
36526 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36527 to global scope.
36528 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36529 addresses are in the same scope as 192.0.2/24.
36530 * posix/gai.conf: Document new scope table defaults.
36531
adb26fae
SP
365322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36533
36534 [BZ #5298]
36535 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36536 for ftell. Compute offsets from write pointers instead.
36537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36538
4573c6b0
SP
365392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36540
36541 [BZ #14543]
36542 * libio/Makefile (tests): New test case tst-fseek.
36543 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36544 combination works in wide mode.
36545 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36546 state when the external buffer state changes.
36547
aa9bbfe6
DM
365482012-09-27 David S. Miller <davem@davemloft.net>
36549
36550 [BZ #14376]
36551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36552 pass reloc->r_addend in as the 'high' argument to
36553 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36554
784421e7
DM
36555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36556
c39bc8b8
PT
365572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36558
36559 * rt/tst-aio2.c: Include <pthread.h>.
36560 * rt/tst-aio3.c: Likewise.
36561
1ccc2399
SE
365622012-09-27 Steve Ellcey <sellcey@mips.com>
36563
36564 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36565
31ed4153
L
365662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36567
25f5f885
L
36568 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36569 contents on [SHARED].
31ed4153 36570
b7bfe116
MP
365712012-09-26 Marek Polacek <polacek@redhat.com>
36572
36573 [BZ #14530]
36574 [BZ #13741]
36575 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36576 for C++ and GCC <4.3 as well as for non GCC compilers.
36577
43c4edba
MT
365782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36579
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36581
6a1bf82f
RM
365822012-09-25 Roland McGrath <roland@hack.frob.com>
36583
36584 * Makefile.in (all, install): Declare with .PHONY.
36585 Reported by Michael Hope <michael.hope@linaro.org>.
36586
8ad11b9a
TMQMF
365872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36588
36589 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36590 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36591 system header.
36592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36593 Likewise.
36594 (sydep_routines): Add the new and the internal functions.
36595 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36598 (GLIBC_2.17): Add the new function.
36599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36600 (GLIBC_2.17): Likewise.
36601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36602 (GLIBC_2.17): Likewise.
36603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36604 (GLIBC_2.17): Likewise.
36605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36606
7e2fca8d
AM
366072012-09-25 Alan Modra <amodra@gmail.com>
36608
36609 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36610 Add release barrier before setting once_control to say
36611 initialisation is done. Add hints on lwarx. Use macro in
36612 place of isync.
36613 (clear_once_control): Add release barrier.
36614
b87c4b24
JM
366152012-09-25 Joseph Myers <joseph@codesourcery.com>
36616
d032e0d2
JM
36617 [BZ #13629]
36618 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36619 specially.
36620 * math/s_clog10.c (__clog10): Likewise.
36621 * math/s_clog10f.c (__clog10f): Likewise.
36622 * math/s_clog10l.c (__clog10l): Likewise.
36623 * math/s_clogf.c (__clogf): Likewise.
36624 * math/s_clogl.c (__clogl): Likewise.
36625 * math/Makefile (libm-calls): Add x2y2m1.
36626 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36627 (__x2y2m1): Likewise.
36628 (__x2y2m1l): Likewise.
36629 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36630 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36634 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36635 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36636 * sysdeps/i386/fpu/libm-test-ulps: Update.
36637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36638
b87c4b24
JM
36639 [BZ #14621]
36640 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36641 int as type of variable DEPTH.
36642 (glob): Use size_t instead of int as type of variables NEWCOUNT
36643 and OLD_PATHC.
36644
6d3bf199
LD
366452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36646
22bf5c17
LD
36647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36648 Add s_sincosf-sse2.
36649 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36651 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36652 macros for using routine as __sincosf_ia32.
36653 Use macro for function declaration and weak_alias.
36654 * sysdeps/i386/fpu/libm-test-ulps: Update.
36655
36656 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36658
36659 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36660 subnormal argument.
36661 * math/s_cexpf.c (__cexpf): Likewise.
36662 * math/s_csinf.c (__csinf): Likewise.
36663 * math/s_csinhf.c (__csinhf): Likewise.
36664 * math/s_ctanf.c (__ctanf): Likewise.
36665 * math/s_ctanhf.c (__ctanhf): Likewise.
36666 * math/s_ccosh.c (__ccoshf): Likewise.
36667 * math/s_cexp.c (__cexpl): Likewise.
36668 * math/s_csin.c (__csin): Likewise.
36669 * math/s_csinh.c (__csinh): Likewise.
36670 * math/s_ctan.c (__ctan): Likewise.
36671 * math/s_ctanh.c (ctanh): Likewise.
36672 * math/s_ccoshl.c (__ccoshl): Likewise.
36673 * math/s_cexpl.c (__cexpl): Likewise.
36674 * math/s_csinl.c (__csinl): Likewise.
36675 * math/s_csinhl.c (__csinhl): Likewise.
36676 * math/s_ctanl.c (__ctanl): Likewise.
36677 * math/s_ctanhl.c (__ctanhl): Likewise.
36678
203e5603
JM
366792012-09-25 Joseph Myers <joseph@codesourcery.com>
36680
36681 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36682 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36683 (_IO_off_t): Define to __off_t, not _G_off_t.
36684 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36685 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36686 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36687 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36688 type of __dummy and __dummy2 fields.
36689 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36690 (_G_ssize_t): Likewise.
36691 (_G_off_t): Likewise.
36692 (_G_pid_t): Likewise.
36693 (_G_uid_t): Likewise.
36694 (_G_wchar_t): Likewise.
36695 (_G_wint_t): Likewise.
36696 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36697 (_G_ssize_t): Likewise.
36698 (_G_off_t): Likewise.
36699 (_G_pid_t): Likewise.
36700 (_G_uid_t): Likewise.
36701 (_G_wchar_t): Likewise.
36702 (_G_wint_t): Likewise.
36703 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36704 (_G_ssize_t): Likewise.
36705 (_G_off_t): Likewise.
36706 (_G_pid_t): Likewise.
36707 (_G_uid_t): Likewise.
36708 (_G_wchar_t): Likewise.
36709 (_G_wint_t): Likewise.
36710
9fab36eb
SP
367112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36712
36713 * malloc/arena.c: Include malloc-sysdep.h.
36714 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36715 is sufficient to shrink the heap or an unmap is needed.
36716 * sysdeps/generic/malloc-sysdep.h: New file. Define
36717 new function check_may_shrink_heap.
36718 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36719 new function check_may_shrink_heap.
36720
2b4f00d1
SP
367212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36722
36723 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36724 comments.
36725
9a9028b1
DL
367262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36727
57c69bef
DL
36728 * catgets/test-gencat.sh: Add "set -e".
36729 * elf/tst-pathopt.sh: Likewise.
36730 * grp/tst_fgetgrent.sh: Likewise.
36731 * iconvdata/run-iconv-test.sh: Likewise.
36732 * intl/tst-gettext.sh: Likewise.
36733 * intl/tst-gettext2.sh: Likewise.
36734 * intl/tst-gettext4.sh: Likewise.
36735 * intl/tst-gettext6.sh: Likewise.
36736 * intl/tst-translit.sh: Likewise.
36737 * io/ftwtest-sh: Likewise.
36738 * libio/test-freopen.sh: Likewise.
36739 * malloc/tst-mtrace.sh: Likewise.
36740 * posix/globtest.sh: Likewise.
36741 * posix/tst-getconf.sh: Likewise.
36742 * posix/wordexp-tst.sh: Likewise.
36743 * stdio-common/tst-printf.sh: Likewise.
36744 * stdio-common/tst-unbputc.sh: Likewise.
36745 * stdlib/tst-fmtmsg.sh: Likewise.
36746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36747 * catgets/Makefile: Do not specify -e option when running
36748 testsuite shell scripts.
36749 * elf/Makefile: Likewise.
36750 * grp/Makefile: Likewise.
36751 * iconvdata/Makefile: Likewise.
36752 * intl/Makefile: Likewise.
36753 * io/Makefile: Likewise.
36754 * libio/Makefile: Likewise.
36755 * malloc/Makefile: Likewise.
36756 * posix/Makefile: Likewise.
36757 * stdio-common/Makefile: Likewise.
36758 * stdlib/Makefile: Likewise.
36759 * sysdeps/x86_64/Makefile: Likewise.
36760
9a9028b1
DL
36761 * io/ftwtest-sh: Add copyright header.
36762 * posix/globtest.sh: Likewise.
36763 * posix/tst-getconf.sh: Likewise.
36764 * posix/wordexp-tst.sh: Likewise.
36765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36766
ced6f16e
L
367672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36768
94b32c39
L
36769 [BZ #13679]
36770 * Makeconfig (+link): Defined as $(+link-static) if
36771 $(build-shared) isn't yes.
36772 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36773 isn't yes.
36774 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36775
189e935b
L
36776 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36777
ced6f16e
L
36778 [BZ #14562]
36779 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36780 new chunk size with MALLOC_ALIGN_MASK.
36781
a9f8e53a
JM
367822012-09-24 Joseph Myers <joseph@codesourcery.com>
36783
36784 [BZ #5044]
36785 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36786 <rounding-mode.h>.
36787 (__printf_fphex): Determine rounding using get_rounding_mode and
36788 round_away.
36789 * stdio-common/tst-printf-round.c (struct hex_test): New
36790 structure.
36791 (hex_tests): New variable.
36792 (test_hex_in_one_mode): New function.
36793 (do_test): Also run tests for hex float output.
36794
43153109
JM
367952012-09-21 Joseph Myers <joseph@codesourcery.com>
36796
36797 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36798 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36799 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36800 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36802 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36803 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36805
8a26625d
JM
368062012-09-20 Joseph Myers <joseph@codesourcery.com>
36807
36808 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36809 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36810 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36811 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36812
f3fd569c
DL
368132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36814
36815 [BZ #14579]
36816 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36817 mode only.
36818 * elf/tst-rtld-load-self.sh: New test.
36819 * elf/Makefile: Run it.
36820
63bbedd4
JM
368212012-09-18 Joseph Myers <joseph@codesourcery.com>
36822
36823 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36824 (tst-writev-ENV): Remove.
36825 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36826
626f8b6a
CM
368272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36828
36829 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36830
b7aaa4d6
JM
368312012-09-17 Joseph Myers <joseph@codesourcery.com>
36832
36833 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36834 unconditional.
36835 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36836 Likewise.
36837 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36838 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36840 Likewise.
36841
65513990
L
368422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36843
36844 [BZ #14587]
36845 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36846 * config.make.in (have-cpp-asm-debuginfo): Removed.
36847 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36848 * configure: Regenerated.
36849
784761be
JM
368502012-09-14 Joseph Myers <joseph@codesourcery.com>
36851
36852 [BZ #5044]
36853 * stdio-common/printf_fp.c: Include <stdbool.h> and
36854 <rounding-mode.h>.
36855 (___printf_fp): Determine rounding using get_rounding_mode and
36856 round_away.
36857 * stdio-common/tst-printf-round.c: New file.
36858 * stdio-common/Makefile (tests): Add tst-printf-round.
36859 (link-libm): New variable.
36860 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36861
9503345f
L
368622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36863
36864 [BZ #14576]
36865 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36866 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36867 Likewise.
36868 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36869 Likewise.
36870
ad35fc00
JM
368712012-09-13 Joseph Myers <joseph@codesourcery.com>
36872
36873 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36874 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36875 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36877
6c9b0f68
JM
368782012-09-12 Joseph Myers <joseph@codesourcery.com>
36879
36880 [BZ #14518]
36881 * include/rounding-mode.h: New file.
36882 * sysdeps/generic/get-rounding-mode.h: Likewise.
36883 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36884 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36885 (MAX_VALUE): New macro.
36886 (MIN_VALUE): Likewise.
36887 (overflow_value): New function.
36888 (underflow_value): Likewise.
36889 (round_and_return): Use overflow_value and underflow_value to
36890 determine return values in overflow and underflow cases. Use
36891 round_away to determine rounding depending on rounding mode.
36892 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36893 determine return values in overflow and underflow cases.
36894 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36895 (struct test_results): New structure.
36896 (struct test): Use struct test_results to store expected results
36897 for all rounding modes.
36898 (TEST): Include expected results for all rounding modes.
36899 (test_in_one_mode): New function.
36900 (do_test): Use test_in_one_mode to compute and check results.
36901 Check results for all rounding modes.
36902 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36903 $(link-libm).
36904
19fcedd5
AM
369052012-12-09 Allan McRae <allan@archlinux.org>
36906
1e9d84cd 36907 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36908
8bbfd2f1
JM
369092012-09-11 Joseph Myers <joseph@codesourcery.com>
36910
36911 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36912 (_G_int32_t): Likewise.
36913 (_G_uint16_t): Likewise.
36914 (_G_uint32_t): Likewise.
36915 (_G_HAVE_BOOL): Likewise.
36916 (_G_HAVE_ATEXIT): Likewise.
36917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36918 (_G_HAVE_IO_FILE_OPEN): Likewise.
36919 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36920 (_G_int32_t): Likewise.
36921 (_G_uint16_t): Likewise.
36922 (_G_uint32_t): Likewise.
36923 (_G_HAVE_BOOL): Likewise.
36924 (_G_HAVE_ATEXIT): Likewise.
36925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36926 (_G_HAVE_IO_FILE_OPEN): Likewise.
36927 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36928 (_G_int32_t): Likewise.
36929 (_G_uint16_t): Likewise.
36930 (_G_uint32_t): Likewise.
36931 (_G_HAVE_BOOL): Likewise.
36932 (_G_HAVE_ATEXIT): Likewise.
36933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36934 (_G_HAVE_IO_FILE_OPEN): Likewise.
36935
b1dc5912
L
369362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36937
36938 * csu/libc-tls.c: Update copyright years.
36939
0e886ef9
JM
369402012-09-10 Joseph Myers <joseph@codesourcery.com>
36941
28361c5e
JM
36942 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36943 [!_G_USING_THUNKS]: Remove conditional code.
36944 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36945 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36946
0e886ef9
JM
36947 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36948 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36949 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36950 (_G_VTABLE_LABEL_PREFIX): Likewise.
36951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36952 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36954 (_G_VTABLE_LABEL_PREFIX): Likewise.
36955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36956 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36958 (_G_VTABLE_LABEL_PREFIX): Likewise.
36959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36960
bcba7aa2
L
369612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36962
36963 * libio/Makefile: Include ../Makeconfig before tests.
36964 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36965 only if $(build-shared) is yes.
36966
06585ee8
L
36967 * iconv/gconv_db.c: Update copyright years.
36968
80ccd52c
LD
369692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36970
36971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36972 unwind info if defined PIC. Fix special cases description.
36973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36974
36975 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36976 DP_HI_MASK entry.
36977 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36978
691bc9c1
L
369792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36980
3d9b46b3
L
36981 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36982
de2139a9
L
36983 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36984 is NULL.
36985
5ca78dd0
L
36986 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36987 (LDLIBS-tst-chk4): This.
36988 (LDFLAGS-tst-chk5): Renamed to ...
36989 (LDLIBS-tst-chk5): This.
36990 (LDFLAGS-tst-chk6): Renamed to ...
36991 (LDLIBS-tst-chk6): This.
36992 (LDFLAGS-tst-lfschk4): Renamed to ...
36993 (LDLIBS-tst-lfschk4): This.
36994 (LDFLAGS-tst-lfschk5): Renamed to ...
36995 (LDLIBS-tst-lfschk5): This.
36996 (LDFLAGS-tst-lfschk6): Renamed to ...
36997 (LDLIBS-tst-lfschk6): This.
36998
691bc9c1
L
36999 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37000 on $(common-objpfx)soversions.mk.
37001
65cafb1c
JM
370022012-09-07 Joseph Myers <joseph@codesourcery.com>
37003
37004 [BZ #10014]
37005 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37006 example host name.
37007
c78ab094
SP
370082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37009
37010 * malloc/arena.c (arena_get_retry): New function that gets
37011 another arena for the caller to try its request on.
37012 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37013 current arena cannot fulfill the request.
37014 (__libc_memalign): Likewise.
37015 (__libc_memalign): Likewise.
37016 (__libc_pvalloc): Likewise.
37017 (__libc_calloc): Likewise.
37018
01f49f59
JT
370192012-09-05 John Tobey <john.tobey@gmail.com>
37020
37021 [BZ #13542]
37022 * manual/arith.texi (Operations on Complex): Fix description
37023 of carg branch cut.
37024
4c23fed5
JM
370252012-09-06 Joseph Myers <joseph@codesourcery.com>
37026
1d3c8572
JM
37027 [BZ #10014]
37028 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37029 host name.
37030
4c23fed5
JM
37031 [BZ #10038]
37032 * manual/memory.texi (Memory): Make order of menu items match
37033 order of sections.
37034
04570aaa
L
370352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37036
37037 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37038 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37039 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37040
b80af2f4
L
370412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37042
37043 * csu/libc-tls.c (static_dtv): Renamed to ...
37044 (_dl_static_dtv): This. Make it global.
37045 (_dl_initial_dtv): Removed.
37046 (__libc_setup_tls): Updated.
37047 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37048 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37049 DL_INITIAL_DTV.
37050
2abe9f15
PM
370512012-09-06 Petr Machata <pmachata@redhat.com>
37052
37053 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37054 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37055 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37056 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37057
0948c3af
L
370582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37059
37060 [BZ #14545]
37061 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37062 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37063 freeing dtv[-1].
37064
a5055ad1
L
370652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37066
37067 [BZ #14544]
37068 * Makeconfig (link-static-before-libc): Replace $(+prector)
37069 with $(+prectorT).
37070 (link-static-after-libc): Replace $(+postctor) with
37071 $(+postctorT).
37072 (link-bounded): Replace $(+prector)/$(+postctor) with
37073 $(+prectorT)/$(+postctorT).
37074 (+prectorT): New macro.
37075 (+postctorT): Likewise.
37076
ed8c2ecd
JM
370772012-09-06 Joseph Myers <joseph@codesourcery.com>
37078
37079 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37080 (round_str): Handle values above the maximum for IBM long double
37081 as inexact.
37082 * stdlib/tst-strtod-round.c (tests): Regenerated.
37083
14c996c8
AK
370842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37085
37086 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37087 assembler flag.
37088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37089 zarch_nohighgprs around the zarch optimized routines.
37090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37093 for zarch.
37094
430d6ce6
DM
370952012-09-05 David S. Miller <davem@davemloft.net>
37096
37097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37098
57f41c40
AS
37099 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37100 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37101 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37103 entries.
37104
24d4e01b
AO
371052012-09-05 Alexandre Oliva <aoliva@redhat.com>
37106
37107 * malloc/arena.c: Fold copyright years.
37108 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37109
61d58174
AO
371102012-09-05 Alexandre Oliva <aoliva@redhat.com>
37111
37112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37113
20196a5e
AO
371142012-09-05 Alexandre Oliva <aoliva@redhat.com>
37115
37116 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37117
5c447383
AO
371182012-09-05 Alexandre Oliva <aoliva@redhat.com>
37119
37120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37121 change internal state upon failure.
37122
fad64255
AO
371232012-09-05 Alexandre Oliva <aoliva@redhat.com>
37124
37125 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37126 * malloc/memusage.c (mmap): Likewise.
37127 (mmap64, mremap): Likewise. Adjust name in comment.
37128
1ffb8c90
SP
371292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37130
37131 * libio/fileops.c: Fix typos in comments.
37132 * libio/oldfileops.c: Likewise.
37133 * libio/wfileops.c: Likewise.
37134
6ef9cc37
SP
371352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37136
37137 [BZ #1349]
37138 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37139 (tst-malloc-usable-ENV): Set environment for test case.
37140 * malloc/hooks.c (malloc_check_get_size): New function to get
37141 requested size.
37142 * malloc/malloc.c (musable): Use malloc_check_get_size.
37143 * malloc/tst-malloc-usable.c: New test case.
37144
4d038ae3
AS
371452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37146
37147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37148
c4e85184
AM
371492012-09-05 Allan McRae <allan@archlinux.org>
37150
b9dafc56 37151 [BZ #13966]
c4e85184
AM
37152 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37153 determine header location.
37154 * configure: Regenerated.
37155
e1343020
AS
371562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37157
37158 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37159 float format.
37160 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37161 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37162 format.
e1343020
AS
37163 (test): Regenerate.
37164
0a9f1987
DM
371652012-09-04 David S. Miller <davem@davemloft.net>
37166
37167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37170
29237804
FW
371712012-09-04 Florian Weimer <fweimer@redhat.com>
37172
37173 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37174 failures.
37175
edb3cb88
FW
37176 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37177
60160d83
JM
371782012-09-04 Joseph Myers <joseph@codesourcery.com>
37179
37180 [BZ #9914]
37181 * libio/iogetdelim.c: Include <limits.h>.
37182 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37183 + len + 1 would overflow.
37184
bcd6c8dc
AJ
371852012-09-03 Andreas Jaeger <aj@suse.de>
37186
37187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37188 * sysdeps/i386/fpu/libm-test-ulps: Update.
37189
4ffffbd2
LD
371902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37191
37192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37193 Add s_sinf-sse2, s_conf-sse2.
37194
37195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37197 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37199
37200 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37201 for using routine as __sinf_ia32.
37202 Use macro for function declaration and weak_alias.
37203 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37204 for using routine as __cosf_ia32.
37205 Use macro for function declaration and weak_alias.
37206
37207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37209
37210 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37211 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37213
37214 * math/libm-test.inc (cos_test): Add more test cases.
37215 (sin_test): Likewise.
37216 (sincos_test): Likewise.
37217
511fa286
AK
372182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37219
37220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37221 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37222 hidden.
37223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37224
5f30cfec
L
372252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37226
37227 [BZ #14538]
37228 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37229 first element of the GOT.
37230 (elf_machine_load_address): Return the difference between
37231 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37232
0786794f
AM
372332012-09-01 Allan McRae <allan@archlinux.org>
37234
5f30cfec
L
37235 [BZ #13412]
37236 * configure.in (AWK): Require gawk version 3.0 or later.
37237 * configure: Regenerated.
0786794f 37238
26889eac
JM
372392012-09-01 Joseph Myers <joseph@codesourcery.com>
37240
37241 * sysdeps/unix/sysv/linux/kernel-features.h
37242 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37244 [__NR_clock_getres]: Make code unconditional.
37245 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37246 (clock_getcpuclockid): Remove code left unreachable by removal of
37247 conditionals.
37248 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37249 code unconditional.
37250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37252 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37253 Make code unconditional.
37254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37256 * sysdeps/unix/sysv/linux/clock_settime.c
37257 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37258 conditional code.
37259 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37261
d22e28b0
L
372622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37263
37264 [BZ #14476]
37265 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37266 scripts/test-installation.pl.
37267
37268 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37269 and $ld_so_version if it is set.
37270
050af9c4
SP
372712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37272
37273 [BZ #14516]
37274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37275 failure if reading from procfs failed.
37276 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37277
ad845c0b
JM
372782012-08-27 Joseph Myers <joseph@codesourcery.com>
37279
37280 * sysdeps/unix/sysv/linux/kernel-features.h
37281 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37282 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37283 Remove conditional code.
37284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37285 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37286 Remove conditional code.
37287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37288 * sysdeps/unix/sysv/linux/i386/fxstat.c
37289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37291 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37294 * sysdeps/unix/sysv/linux/i386/lxstat.c
37295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37297 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37298 Remove conditional code.
37299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37300 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37301 Remove conditional code.
37302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37304 <kernel-features.h>.
37305 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37306 Remove.
37307 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37308 Remove conditional code.
37309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37310 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37311 Remove conditional.
37312
5dbf56af
MF
373132012-08-27 Mike Frysinger <vapier@gentoo.org>
37314
37315 [BZ #5400]
37316 * NEWS: Add fixed bug number.
37317
d6e70f43
JM
373182012-08-27 Joseph Myers <joseph@codesourcery.com>
37319
7efb4737
JM
37320 [BZ #14519]
37321 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37322 underflowing exponent in case of negative sign.
37323 * stdlib/tst-strtod-round-data: Add more tests.
37324 * stdlib/tst-strtod-round.c (tests): Regenerated.
37325
af92131a
JM
37326 [BZ #3479]
37327 * stdlib/strtod_l.c (NDIG): Remove.
37328 (HEXNDIG): Likewise.
37329 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37330 smallest representable value.
37331 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37332 lie within an exact representation of 1/2 ulp of the result.
37333 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37334 unconditionally.
37335 (TENS_P9_IDX): Define unconditionally.
37336 (TENS_P9_SIZE): Likewise.
37337 (TENS_P10_IDX): Likewise.
37338 (TENS_P10_SIZE): Likewise.
37339 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37340 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37342 entries for 10^2^13 and 10^2^14.
37343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37344 (TENS_P13_IDX): Define.
37345 (TENS_P13_SIZE): Likewise.
37346 (TENS_P14_IDX): Likewise.
37347 (TENS_P14_SIZE): Likewise.
37348 (_fpioconst_pow10): Change array size to
37349 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37350 unconditional.
37351 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37352 1024]: Add entries for 10^2^13 and 10^2^14.
37353 [LAST_POW10 > _LAST_POW10]: Remove #error.
37354 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37355 (_fpioconst_pow10): Change array size to
37356 FPIOCONST_POW10_ARRAY_SIZE.
37357 * stdlib/gen-fpioconst.c: New file.
37358 * stdlib/gen-tst-strtod-round.c: Likewise.
37359 * stdlib/tst-strtod-round-data: Likewise.
37360 * stdlib/tst-strtod-round.c: Likewise.
37361 * stdlib/Makefile (tests): Add tst-strtod-round.
37362
d6e70f43
JM
37363 [BZ #14459]
37364 * stdlib/strtod_l.c: Include <stdint.h>.
37365 (NDEBUG): Do not define.
37366 (round_and_return): Change EXPONENT parameter to type intmax_t.
37367 Rearrange calculations to avoid internal overflow possibilities.
37368 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37369 Rearrange calculations to avoid internal overflow possibilities.
37370 Assert that number fits inside MPNSIZE limbs.
37371 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37372 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37373 calculations and add assertions to avoid internal overflow
37374 possibilities. Add casts to avoid signed/unsigned operations.
37375 * stdlib/tst-strtod-overflow.c: New file.
37376 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37377
1f529f7d
MP
373782012-08-25 Marek Polacek <polacek@redhat.com>
37379
37380 * time/time.h: Fix some typos in comments.
37381
59a629f1
RM
373822012-08-23 Roland McGrath <roland@hack.frob.com>
37383
37384 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37385 * posix/tst-rfc3484-2.c: Likewise.
37386 * posix/tst-rfc3484-3.c: Likewise.
37387
d3bafbc9
SM
373882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37389
37390 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37391 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37392
4efcc022
JM
373932012-08-23 Joseph Myers <joseph@codesourcery.com>
37394
37395 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37396 #include of fxstatat64.c.
37397
3cc3ef96
RM
373982012-08-22 Roland McGrath <roland@hack.frob.com>
37399
f04e2132
RM
37400 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37401 * shadow/getspent_r.c: Likewise.
37402 * shadow/getspnam.c: Likewise.
37403 * shadow/getspnam_r.c: Likewise.
37404 * gshadow/getsgent.c: Likewise.
37405 * gshadow/getsgent_r.c: Likewise.
37406 * gshadow/getsgnam.c: Likewise.
37407 * gshadow/getsgnam_r.c: Likewise.
37408 * inet/getnetbyad.c: Likewise.
37409 * inet/getnetbyad_r.c: Likewise.
37410 * inet/getnetbynm.c: Likewise.
37411 * inet/getnetbynm_r.c: Likewise.
37412 * inet/getnetent.c: Likewise.
37413 * inet/getnetent_r.c: Likewise.
37414 * inet/getproto.c: Likewise.
37415 * inet/getproto_r.c: Likewise.
37416 * inet/getprtent.c: Likewise.
37417 * inet/getprtent_r.c: Likewise.
37418 * inet/getprtname.c: Likewise.
37419 * inet/getprtname_r.c: Likewise.
37420 * inet/getrpcbyname.c: Likewise.
37421 * inet/getrpcbyname_r.c: Likewise.
37422 * inet/getrpcbynumber.c: Likewise.
37423 * inet/getrpcbynumber_r.c: Likewise.
37424 * inet/getrpcent.c: Likewise.
37425 * inet/getrpcent_r.c: Likewise.
37426 * inet/getaliasent.c: Likewise.
37427 * inet/getaliasent_r.c: Likewise.
37428 * inet/getaliasname.c: Likewise.
37429 * inet/getaliasname_r.c: Likewise.
37430 * nscd/getgrgid_r.c: Likewise.
37431 * nscd/getgrnam_r.c: Likewise.
37432 * nscd/gethstbyad_r.c: Likewise.
37433 * nscd/gethstbynm3_r.c: Likewise.
37434 * nscd/getpwnam_r.c: Likewise.
37435 * nscd/getpwuid_r.c: Likewise.
37436 * nscd/getsrvbynm_r.c: Likewise.
37437 * nscd/getsrvbypt_r.c: Likewise.
37438 * nscd/gai.c: Likewise.
37439
c53d909c
RM
37440 * configure.in (build_nscd): New substituted variable, set
37441 by --disable-build-nscd and defaults to $use_nscd.
37442 * configure: Regenerated.
37443 * config.make.in (build-nscd): New substituted variable.
37444 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37445 Change conditional to require [$(build-nscd) = yes] as well.
37446 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37447
3cc3ef96
RM
37448 [BZ# 13696]
37449 * configure.in (use_nscd): New substituted variable, set by
37450 --disable-nscd. If enabled, define USE_NSCD.
37451 * configure: Regenerated.
37452 * config.h.in: Add USE_NSCD.
37453 * config.make.in (use-nscd): New substituted variable.
37454 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37455 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37456 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37457 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37458 (CFLAGS-getgrnam_r.c): Likewise.
37459 (CFLAGS-initgroups.c): Likewise.
37460 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37461 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37462 Variables removed.
37463 * inet/getnetgrent_r.c
37464 (nscd_setnetgrent): New function, broken out of ...
37465 (setnetgrent): ... here. Call it.
37466 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37467 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37468 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37469 * nscd/Makefile (routines, aux): Move definitions after include of
37470 Makeconfig. Conditionalize on [$(use-nscd) != no].
37471 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37472 Conditionalize on [USE_NSCD].
37473 (is_nscd, nscd_init_cb): Likewise.
37474 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37475 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37476 * nss/nss_db/db-init.c: Likewise.
37477 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37478 [USE_NSCD].
37479 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37480 (make_request): Use it.
37481 (cache_valid_p): New function.
37482 (__check_pf): Use it.
37483 * NEWS: Add item for --disable-nscd.
37484
07e51550
DL
374852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37486
37487 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37488 to support sed >= 4.2.1-20-ga9bf076.
37489 * configure: Regenerated.
37490
35a5b08b
RM
374912012-08-22 Roland McGrath <roland@hack.frob.com>
37492
37493 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37494 Conditionalize whole body on [IREL].
37495
8479f23a
JL
374962012-08-22 Jeff Law <law@redhat.com>
37497
37498 [BZ #14505]
37499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37500 if the family is PF_UNSPEC.
37501
48da0b21
MF
375022012-08-22 Mike Frysinger <vapier@gentoo.org>
37503
37504 * Makerules (lib-version): Rename from V.
37505 (install-lib-nosubdir): Change V to lib-version.
37506
15d0da8c
WS
375072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37508
37509 [BZ #14252]
37510 * powerpc32/power6/wcschr.c: New file.
37511 * powerpc32/power6/wcscpy.c: New file.
37512 * powerpc32/power6/wcsrchr.c: New file.
37513 * powerpc64/power6/wcschr.c: New file.
37514 * powerpc64/power6/wcscpy.c: New file.
37515 * powerpc64/power6/wcsrchr.c: New file.
37516
bcca0895
MK
375172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37518
37519 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37520 (two_way_short_needle): Use it.
5a4aaa33
RM
37521 * string/strstr.c (AVAILABLE1_USES_J): Define.
37522 * string/strcasestr.c: Likewise.
99677e57
MK
37523
37524 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37525 array references.
37526 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37527
400726de
MK
37528 [BZ #11607]
37529 * NEWS: Add an entry.
37530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37531 define their defaults.
37532 (two_way_short_needle): Detect end-of-string on-the-fly.
37533 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37534 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37535 * string/bug-strcasestr1.c: New test.
37536 * string/Makefile: Run it.
37537
20a71f2c
MK
375382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37539
37540 [BZ #11607]
37541 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37542 the first character.
37543
21ad0558
RM
375442012-08-21 Roland McGrath <roland@hack.frob.com>
37545
37546 * csu/elf-init.c (__libc_csu_irel): Function removed.
37547 * csu/libc-start.c (apply_irel): New function.
37548 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37549
0e1d9911
JM
375502012-08-21 Joseph Myers <joseph@codesourcery.com>
37551
37552 * sysdeps/unix/sysv/linux/kernel-features.h
37553 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37555 <kernel-features.h>.
37556 [__NR_fadvise64_64]: Make code unconditional.
37557 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37558 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37559 !__NR_fadvise64_64)]: Likewise.
37560 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37561 !__NR_fadvise64_64))]: Likewise.
37562 [__NR_fadvise64]: Make code unconditional.
37563 [!__NR_fadvise64]: Remove conditional code.
37564 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37565 <kernel-features.h>.
37566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37567 unconditional.
37568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37569 conditional code.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37571 not include <kernel-features.h>.
37572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37573 unconditional.
37574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37575 conditional code.
37576 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37577 include <kernel-features.h>.
37578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37579 unconditional.
37580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37581 conditional code.
37582
14a50c9d
WS
375832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37584
37585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37586 slight instruction rearrangements per scrollpipe analysis.
37587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37588
c0f4faf0
RM
375892012-08-20 Roland McGrath <roland@hack.frob.com>
37590
696da859
RM
37591 * manual/syslog.texi (syslog; vsyslog, closelog):
37592 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37593 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37594
c0f4faf0
RM
37595 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37596 DSOCAPS to match condition on defining it.
37597
348363b2
JM
375982012-08-20 Joseph Myers <joseph@codesourcery.com>
37599
a35cbf28
JM
37600 * sysdeps/unix/sysv/linux/kernel-features.h
37601 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37611
445f7ecd
JM
37612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37613 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37614
348363b2
JM
37615 * sysdeps/unix/sysv/linux/kernel-features.h
37616 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37617 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37618 unconditional.
37619 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37620 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37623 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37624 Make code unconditional.
37625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37626 (__mmap64) [!__NR_mmap2]: Likewise.
37627 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37631 [__NR_mmap2]: Make code unconditional.
37632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37633 (__mmap64) [!__NR_mmap2]: Likewise.
37634
bc5bc0e5
AK
376352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37636
37637 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37638
88d506de
AJ
376392012-08-18 Andreas Jaeger <aj@suse.de>
37640
37641 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37642
493387d2
MF
376432012-08-18 Mike Frysinger <vapier@gentoo.org>
37644
37645 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37646 * include/unistd.h (__have_sock_cloexec): Likewise.
37647 (__have_pipe2): Likewise.
37648 (__have_dup3): Likewise.
37649
a277af22
MF
376502012-08-18 Mike Frysinger <vapier@gentoo.org>
37651
37652 [BZ #9685]
37653 * include/unistd.h (__have_pipe2): Change define into an extern int.
37654 (__have_dup3): Likewise.
37655 * socket/have_sock_cloexec.c: Include fcntl.h.
37656 (__have_pipe2): New variable.
37657 (__have_dup3): Likewise.
37658
fdab8fd3
MF
376592012-08-17 Mike Frysinger <vapier@gentoo.org>
37660
37661 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37662
31035e80
MP
376632012-08-17 Marek Polacek <polacek@redhat.com>
37664
37665 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37666 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37667
3bd9e993
RM
376682012-08-17 Roland McGrath <roland@hack.frob.com>
37669
c91c505f
RM
37670 * configure.in: Add AC_SUBST for sysheaders.
37671 * configure: Regenerated.
37672 * config.make.in (sysheaders): New substituted variable.
37673
7c6f9d53
RM
37674 * sysdeps/unix/mkfifo.c: Moved ...
37675 * sysdeps/posix/mkfifo.c: ... here.
37676 * sysdeps/unix/mkfifoat.c: Moved ...
37677 * sysdeps/posix/mkfifoat.c: ... here.
37678
37679 * sysdeps/unix/utime.c: Moved ...
37680 * sysdeps/posix/utime.c: ... here.
37681
37682 * sysdeps/unix/time.c: Moved ...
37683 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37684 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37685 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37686
37687 * sysdeps/unix/nice.c: Moved ...
37688 * sysdeps/posix/nice.c: ... here.
37689
37690 * sysdeps/unix/alarm.c: Moved ...
37691 * sysdeps/posix/alarm.c: ... here.
37692
3bd9e993
RM
37693 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37694
d1f09384
JL
376952012-08-17 Jeff Law <law@redhat.com>
37696
37697 * intl/Makefile (codeset_mo): New variable.
37698 ($(codeset_mo)): New target.
37699 (tst-codeset.out): Depend on that. Remove explicit rule.
37700 (tst-gettext3.out, tst-gettext5.out): Likewise.
37701 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37702 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37703 * intl/tst-codeset.sh: Remove.
37704 * intl/tst-gettext3.sh: Likewise.
37705 * intl/tst-gettext5.sh: Likewise.
37706
2ae1ae5c
RM
377072012-08-17 Roland McGrath <roland@hack.frob.com>
37708
c31fdb83
RM
37709 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37710 * sysdeps/unix/syscalls.list: ... here.
37711
a0844057
RM
37712 * sysdeps/posix/getaddrinfo.c
37713 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37714 (gaiconf_init, gaiconf_reload): Use them.
37715 [!_STATBUF_ST_NSEC]
37716 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37717 Define using time_t rather than struct timespec.
37718
750c1f2a
RM
37719 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37720 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37721 Macros removed.
37722 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37723 [!NO_THREADS].
37724 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37725 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37726 Likewise.
37727
2ae1ae5c
RM
37728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37729 __libc_cleanup_push argument.
37730
e66a42f5
RM
37731 * bits/param.h: New file.
37732 * misc/sys/param.h: New file.
37733 * include/sys/param.h: New file.
37734 * misc/Makefile (headers): Add bits/param.h.
37735 * sysdeps/generic/sys/param.h: File removed.
37736 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37737 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37738 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37739 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37740
b7c08a66
RM
37741 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37742 last change.
37743
b2e1c562
RM
37744 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37745 [_IO_MTSAFE_IO].
37746 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37747 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37748 New macros.
37749
c75ccd4c
RM
37750 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37751 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37752 rather than -D_IO_MTSAFE_IO conditionally.
37753 * stdio-common/Makefile (CPPFLAGS): Likewise.
37754 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37755 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37756 Use $(libio-mtsafe).
37757 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37758 of -D_IO_MTSAFE_IO.
37759 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37760 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37761 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37762 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37763 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37764 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37765 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37766 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37767 (CFLAGS-fread_u_chk.c): Likewise.
37768 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37769 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37770 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37771 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37772 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37773 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37774 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37775 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37776 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37777
37778 * libio/Makefile: Test [$(libc-reentrant) = yes]
37779 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37780
37781 * Makeconfig
37782 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37783 * sysdeps/pthread/configure: File removed.
37784 * sysdeps/pthread/Makeconfig: New file.
37785 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37786 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37787
d9195db8
GB
377882012-08-16 Gary Benson <gbenson@redhat.com>
37789
37790 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37791 unmapping the first object in a namespace.
37792
86466cd9
RM
377932012-08-16 Roland McGrath <roland@hack.frob.com>
37794
37795 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37796 (__internal_setnetgrent): ... this. Add internal_function to
37797 definition. Add libc_hidden_def.
37798 (setnetgrent): Update caller.
37799 (internal_endnetgrent): Renamed to ...
37800 (__internal_endnetgrent): ... this. Add internal_function to
37801 definition. Add libc_hidden_def.
37802 (endnetgrent): Update caller.
37803 (internal_getnetgrent_r): Renamed to ...
37804 (__internal_getnetgrent_r): ... this. Add internal_function to
37805 definition. Add libc_hidden_def.
37806 (__getnetgrent_r): Update caller.
37807 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37808
c3c8283c
JM
378092012-08-16 Joseph Myers <joseph@codesourcery.com>
37810
37811 * stdlib/longlong.h: Update from GCC.
37812
db1ee0a8
RM
378132012-08-16 Roland McGrath <roland@hack.frob.com>
37814
37815 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37816 on _QL, which is set by umul_ppmm but never used.
37817 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37818 variables, which are set by GMP macros but never used.
37819 * stdio-common/_itowa.c (_itowa): Likewise.
37820 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37821 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37822
30f69637
CD
378232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37824
37825 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37826 struct La_sh_regs is not constant.
37827 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37828 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37829 and struct La_sparc64_regs are not constant.
37830
93a78ac4
JM
378312012-08-16 Joseph Myers <joseph@codesourcery.com>
37832
37833 * sysdeps/unix/sysv/linux/kernel-features.h
37834 (__ASSUME_POSIX_TIMERS): Remove.
37835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37837 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37838 Make code unconditional.
37839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37840 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37841 Make code unconditional.
37842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37843 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37844 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37846 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37847 Make code unconditional.
37848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37849 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37850 (__libc_missing_posix_timers): Remove.
37851
dd924cd7
RM
378522012-08-15 Roland McGrath <roland@hack.frob.com>
37853
4b4f2771
RM
37854 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37855 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37856
601c888b
RM
37857 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37858
176790a7
RM
37859 * elf/dl-sym.c: Include <stdlib.h>.
37860
329bc018
RM
37861 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37862 constants, which avoids warnings in 32-bit builds.
37863
e04e272d
RM
37864 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37865 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37866
952bf94a
RM
37867 * misc/lseek.c: File moved to ...
37868 * io/lseek.c: ... here.
37869
7c99b50a
RM
37870 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37871
dd924cd7
RM
37872 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37873 shifting LEN more than 31 bits at once.
37874
b3f479a8
LD
378752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37876
37877 [BZ #14195]
8c4ae0d4
RM
37878 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37879 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37880 * string/test-strncasecmp.c (check1): Renamed to...
37881 (bz12205): ...this.
37882 (bz14195): Add new testcase for two empty input strings and N > 0.
37883 (test_main): Call new testcase, adapt for renamed function.
37884
9c55864e
AJ
378852012-08-15 Andreas Jaeger <aj@suse.de>
37886
37887 [BZ #14090]
37888 * crypt/md5test2.c: New test, based on test supplied by Serge
37889 Belyshev <belyshev@depni.sinp.msu.ru>.
37890 * crypt/Makefile (xtests): Add md5test-giant..
37891 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37892
02dcb6c5
PE
378932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37894
37895 [BZ #14090]
37896 * crypt/md5.c (md5_process_block): Don't assume the buffer
37897 length is less than 2**32.
37898 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37899 length is less than 2**64.
37900
a3f95dcc
RM
379012012-08-15 Roland McGrath <roland@hack.frob.com>
37902
be75d758
RM
37903 * string/str-two-way.h: Include <sys/param.h>.
37904 (MAX): Macro removed.
37905
7312ca90
RM
37906 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37907 Move #define and #undef of memmove to just before and after
37908 including <string.h>.
37909
9a0a5486
RM
37910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37911 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37912 and after including <string.h>. Move declarations of
37913 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37914 to before #include "string/memmove.c".
37915
67cc348d
RM
37916 * include/dirent.h: Declare __getdirentries.
37917
a3f95dcc
RM
37918 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37919 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37920
ca98e171
MF
379212012-08-14 Mike Frysinger <vapier@gentoo.org>
37922
37923 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37924 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37925 * sysdeps/i386/configure: Regenerated.
37926 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37927 STABS_CURRENT_FILE, and STABS_FUN.
37928 (END): Remove call to STABS_FUN_END.
37929 (STABS_CURRENT_FILE1): Delete.
37930 (STABS_CURRENT_FILE): Likewise.
37931 (STABS_FUN): Likewise.
37932 (STABS_FUN_END): Likewise.
37933 (STABS_FUN2): Likewise.
37934 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37935 * sysdeps/x86_64/configure: Regenerated.
37936
5908bf46
RM
379372012-08-14 Roland McGrath <roland@hack.frob.com>
37938
37939 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37940 * elf/dl-lookup.c: Likewise.
5908bf46 37941
f2c05b9e
JM
379422012-08-14 Joseph Myers <joseph@codesourcery.com>
37943
37944 * sysdeps/unix/sysv/linux/kernel-features.h
37945 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37946 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37947 unconditionally.
37948 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37949 unconditionally.
37950 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37951 condition on __ASSUME_CLONE_THREAD_FLAGS.
37952
e11f5155
AJ
379532012-08-14 Andreas Jaeger <aj@suse.de>
37954
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37956
51a9ba86
MK
379572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37958
2fdd4f78
AJ
37959 * include/atomic.h (atomic_exchange_and_add): Split into ...
37960 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37961 New atomic macros.
51a9ba86 37962
ba6cba9e
MT
379632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37964
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37966
42443a47
JL
379672012-08-13 Jeff Law <law@redhat.com>
37968
37969 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37970 null byte in the output string.
37971
121dce05
JM
379722012-08-10 Joseph Myers <joseph@codesourcery.com>
37973
37974 * sysdeps/unix/sysv/linux/kernel-features.h
37975 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37976 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37977 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37979 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37980 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37981 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37982
bf51f568
JL
379832012-08-09 Jeff Law <law@redhat.com>
37984
37985 [BZ #13939]
37986 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37987 When avoid_arena is set, don't retry in the that arena. Pick the
37988 next one, whatever it might be.
37989 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37990 (arena_lock): Pass in new parameter to arena_get2.
37991 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37992 arena_get2.
37993 (__libc_malloc): Unify retrying after main arena failure with
37994 __libc_memalign version.
37995 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37996
f85fa270
L
379972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37998
37999 [BZ #14166]
38000 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38001 to __redirect_strstr.
38002 (__strstr_sse42): Use typeof __redirect_strstr.
38003 (__strstr_ia32): Likewise.
38004 (__libc_strstr): New prototype.
38005 (strstr): Renamed to ...
38006 (__libc_strstr): This.
38007 (strstr): New strong alias of __libc_strstr.
38008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38009 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38010 __redirect_time.
38011 Include <time.h>.
38012 (__libc_time): New prototype.
38013 (time_ifunc): Replace time with __libc_time.
38014 (time): New strong alias and hidden definition of __libc_time.
38015 (__GI_time): Remove strong alias.
38016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38017 Include <stddef.h>.
38018 (memmove): Redefined to __redirect_memmove.
38019 (__memmove_sse2): Use typeof __redirect_memmove.
38020 (__memmove_ssse3): Likewise.
38021 (__memmove_ssse3_back): Likewise.
38022 (__libc_memmove): New prototype.
38023 (memmove): Renamed to ...
38024 (__libc_memmove): This.
38025 (memmove): New strong alias of __libc_memmove.
38026
33b4a91e
MS
380272012-08-08 Mark Salter <msalter@redhat.com>
38028
38029 * elf/elf.h
38030 (R_MN10300_TLS_GD): Define.
38031 (R_MN10300_TLS_LD): Likewise.
38032 (R_MN10300_TLS_LDO): Likewise.
38033 (R_MN10300_TLS_GOTIE): Likewise.
38034 (R_MN10300_TLS_IE): Likewise.
38035 (R_MN10300_TLS_LE): Likewise.
38036 (R_MN10300_TLS_DTPMOD): Likewise.
38037 (R_MN10300_TLS_DTPOFF): Likewise.
38038 (R_MN10300_TLS_TPOFF): Likewise.
38039 (R_MN10300_SYM_DIFF): Likewise.
38040 (R_MN10300_ALIGN): Likewise.
38041 (R_MN10300_NUM): Update.
38042
b36137f1
JM
380432012-08-08 Joseph Myers <joseph@codesourcery.com>
38044
38045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38046 Remove.
38047
cdd915fd
RM
380482012-08-08 Roland McGrath <roland@hack.frob.com>
38049
a2433aac
RM
38050 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38051
cdd915fd
RM
38052 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38053 sysdeps/unix -> sysdeps/posix move.
38054 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38055
bf9b740a
AM
380562012-08-07 Allan McRae <allan@archlinux.org>
38057
38058 [BZ #14303]
38059 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38060 (SUNOS_CPP): Likewise.
38061 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38062 not found.
38063 (open_input): Call CPP using execvp.
38064
93df14ee
JM
380652012-08-07 Joseph Myers <joseph@codesourcery.com>
38066
38067 * sysdeps/unix/sysv/linux/kernel-features.h
38068 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38069 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38070 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38071 (__ASSUME_WAITID_SYSCALL): Likewise.
38072 * sysdeps/unix/sysv/linux/dl-execstack.c
38073 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38074 code unconditional.
38075 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38076 conditional code.
38077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38078 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38079 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38080 code.
38081 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38082 unconditional.
38083 [__ASSUME_WAITID_SYSCALL]: Likewise.
38084 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38085
d34689de
RM
380862012-08-07 Roland McGrath <roland@hack.frob.com>
38087
a281decc
RM
38088 * sysdeps/unix/closedir.c: Renamed to ...
38089 * sysdeps/posix/closedir.c: ... here.
38090 * sysdeps/unix/dirfd.c: Renamed to ...
38091 * sysdeps/posix/dirfd.c: ... here.
38092 * sysdeps/unix/dirstream.h: Renamed to ...
38093 * sysdeps/posix/dirstream.h: ... here.
38094 * sysdeps/unix/fdopendir.c: Renamed to ...
38095 * sysdeps/posix/fdopendir.c: ... here.
38096 * sysdeps/unix/opendir.c: Renamed to ...
38097 * sysdeps/posix/opendir.c: ... here.
38098 * sysdeps/unix/readdir.c: Renamed to ...
38099 * sysdeps/posix/readdir.c: ... here.
38100 * sysdeps/unix/readdir_r.c: Renamed to ...
38101 * sysdeps/posix/readdir_r.c: ... here.
38102 * sysdeps/unix/rewinddir.c: Renamed to ...
38103 * sysdeps/posix/rewinddir.c: ... here.
38104 * sysdeps/unix/seekdir.c: Renamed to ...
38105 * sysdeps/posix/seekdir.c: ... here.
38106 * sysdeps/unix/telldir.c: Renamed to ...
38107 * sysdeps/posix/telldir.c: ... here.
38108 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38109 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38110 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38112
22895b47
RM
38113 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38114 * bits/fcntl.h: ... here.
38115
707a53b6
RM
38116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38117 not 0.
38118 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38119 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38120 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38121 (struct flock): Move l_start, l_len to the beginning.
38122 Use __pid_t for l_pid.
38123 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38124 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38125 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38126 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38127 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38128 [__USE_LARGEFILE64] (struct flock64): New type.
38129 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38130
f0bd3e25
RM
38131 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38132 * bits/dirent.h: ... here.
38133
d34689de
RM
38134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38135 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38136
6dad2c06
JM
381372012-08-07 Joseph Myers <joseph@codesourcery.com>
38138
38139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38140 Change from 2.6.0 to 2.6.16.
38141 * sysdeps/unix/sysv/linux/configure: Regenerated.
38142 * sysdeps/unix/sysv/linux/kernel-features.h
38143 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38144 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38145 version.
38146 (__ASSUME_UTIMES): Likewise.
38147 (__ASSUME_CLONE_STOPPED): Remove.
38148 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38149 architectures, not kernel version.
38150 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38153 (__ASSUME_WAITID_SYSCALL): Likewise.
38154 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38155 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38156 * README: State 2.6.16 as minimum Linux kernel version. Do not
38157 refer to older versions.
38158
03af9520
RM
381592012-08-06 Roland McGrath <roland@hack.frob.com>
38160
8e49df1d
RM
38161 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38162 Define alphasort64 as an alias.
38163 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38164 Define versionsort64 as an alias.
38165 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38166 Define scandir64 as an alias.
38167 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38168 Define scandirat64 as an alias.
38169 * dirent/alphasort64.c (alphasort64):
38170 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38171 * dirent/versionsort64.c: Likewise.
38172 * dirent/scandir64.c: Likewise.
38173 * dirent/scandirat64.c: Likewise.
38174 * sysdeps/wordsize-64/alphasort.c: File removed.
38175 * sysdeps/wordsize-64/alphasort64.c: File removed.
38176 * sysdeps/wordsize-64/scandir.c: File removed.
38177 * sysdeps/wordsize-64/scandir64.c: File removed.
38178 * sysdeps/wordsize-64/scandirat.c: File removed.
38179 * sysdeps/wordsize-64/scandirat64.c: File removed.
38180 * sysdeps/wordsize-64/versionsort.c: File removed.
38181 * sysdeps/wordsize-64/versionsort64.c: File removed.
38182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38184 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38186 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38190
38191 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38193 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38195 [defined __arch64__ || defined __sparcv9]
38196 (__INO_T_MATCHES_INO64_T): New macro.
38197 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38198 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38199 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38200 * sysdeps/unix/sysv/linux/bits/dirent.h
38201 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38202 (_DIRENT_MATCHES_DIRENT64): New macro.
38203
03af9520
RM
38204 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38205 Define lockf64 as an alias.
38206 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38207 Define fseeko64 as an alias.
38208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38209 Define ftello64 as an alias.
38210 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38211 Define _IO_fgetpos64 and fgetpos64 as aliases.
38212 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38213 Define _IO_fsetpos64 and fsetpos64 as aliases.
38214 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38215 Conditionalize body on this.
38216 * libio/fseeko64.c: Likewise.
38217 * libio/ftello64.c: Likewise.
38218 * libio/iofgetpos64.c: Likewise.
38219 * libio/iofsetpos64.c: Likewise.
38220 * sysdeps/wordsize-64/lockf.c: File removed.
38221 * sysdeps/wordsize-64/lockf64.c: File removed.
38222 * sysdeps/wordsize-64/fseeko.c: File removed.
38223 * sysdeps/wordsize-64/fseeko64.c: File removed.
38224 * sysdeps/wordsize-64/ftello.c: File removed.
38225 * sysdeps/wordsize-64/ftello64.c: File removed.
38226 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38227 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38228 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38229 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38240
38241 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38243 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38245 [defined __arch64__ || defined __sparcv9]
38246 (__OFF_T_MATCHES_OFF64_T): New macro.
38247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38248 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38250 (__OFF_T_MATCHES_OFF64_T): New macro.
38251
c5757acd
L
382522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38253
38254 * stdlib/secure-getenv.c (__secure_getenv): Replace
38255 GLIBC_2_16 with GLIBC_2_17.
38256
3a31811e
L
382572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38261
faa2bccb
DM
382622012-08-03 David S. Miller <davem@davemloft.net>
38263
38264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38265
85fe1997
JM
382662012-08-03 Joseph Myers <joseph@codesourcery.com>
38267
38268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38269 Remove.
38270 (__ASSUME_CORRECT_SI_PID): Likewise.
38271 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38272 (__ASSUME_TMPFS_NAME): Likewise.
38273 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38274 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38275 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38276 (HAVE_AUX_SECURE): Make definition unconditional.
38277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38278 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38279
4f75b7a0
RM
382802012-08-03 Roland McGrath <roland@hack.frob.com>
38281
38282 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38283 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38284 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38286 __eloop_threshold instead of SYMLOOP_MAX.
38287
38288 * sysdeps/generic/eloop-threshold.h: New file.
38289 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38290 of MAXSYMLINKS.
38291 * elf/chroot_canon.c (chroot_canon): Likewise.
38292
7aab07e4
JM
382932012-08-03 Joseph Myers <joseph@codesourcery.com>
38294
38295 [BZ #13717]
38296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38297 Change to 2.6.0 everywhere.
38298 * sysdeps/unix/sysv/linux/configure: Regenerated.
38299 * sysdeps/unix/sysv/linux/kernel-features.h
38300 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38301 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38302 kernel versions.
38303 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38304 (__ASSUME_FUTEX_REQUEUE): Remove.
38305 (__ASSUME_STATFS64): Define unconditionally.
38306 (__ASSUME_AT_SECURE): Likewise.
38307 (__ASSUME_CORRECT_SI_PID): Likewise.
38308 (__ASSUME_TGKILL): Define without depending on kernel version for
38309 i386.
38310 (__ASSUME_UTIMES): Likewise.
38311 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38312 kernel version.
38313 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38314 (__ASSUME_TMPFS_NAME): Likewise.
38315 * README: Update reference to Linux kernel versions.
38316
b67e9372
MP
383172012-08-02 Marek Polacek <polacek@redhat.com>
38318
1f529f7d 38319 [BZ# 14150]
b67e9372
MP
38320 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38321 libc_cv_asm_type_prefix with %.
38322 * configure: Regenerated.
d2441631
RM
38323 * include/libc-symbols.h: Remove comment about
38324 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38325 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38326 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38327 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38328 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38329 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38330 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38332 * elf/tst-unique2mod1.c: Likewise.
38333 * elf/tst-unique1mod2.c: Likewise.
38334 * elf/tst-unique1mod1.c: Likewise.
38335 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38336 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38337 Replace ASM_TYPE_DIRECTIVE with .type.
38338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38339 * sysdeps/i386/sysdep.h: Likewise.
38340 * sysdeps/x86_64/sysdep.h: Likewise.
38341 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38343 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38344 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38345 * sysdeps/powerpc/powerpc32/sysdep.h:
38346 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38349 * sysdeps/i386/fpu/e_powf.S: Likewise.
38350 * sysdeps/i386/fpu/e_expl.S: Likewise.
38351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38353 * sysdeps/i386/fpu/e_pow.S: Likewise.
38354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38358 * sysdeps/i386/fpu/e_log2.S: Likewise.
38359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38361 * sysdeps/i386/fpu/e_powl.S: Likewise.
38362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38364 * sysdeps/i386/fpu/e_logl.S: Likewise.
38365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38370 * sysdeps/i386/fpu/e_log.S: Likewise.
38371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38372 * sysdeps/i386/fpu/e_logf.S: Likewise.
38373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38376 * sysdeps/i386/fpu/e_log10.S: Likewise.
38377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38384 * sysdeps/i386/i686/strtok.S: Likewise.
38385 * sysdeps/i386/i386-mcount.S: Likewise.
38386 * sysdeps/i386/strtok.S: Likewise.
38387 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38396 * sysdeps/x86_64/_mcount.S: Likewise.
38397 * sysdeps/x86_64/strtok.S: Likewise.
38398 * sysdeps/sh/_mcount.S: Likewise.
38399
2747bf9a
RM
384002012-08-01 Roland McGrath <roland@hack.frob.com>
38401
38402 * libio/iofopen.c: Include <fcntl.h>.
38403 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38404 (_IO_fopen64, fopen64): Define as aliases.
38405 * libio/iofopen64.c: Include <fcntl.h>.
38406 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38407 Conditionalize body on this.
38408 * sysdeps/wordsize-64/iofopen.c: File removed.
38409 * sysdeps/wordsize-64/iofopen64.c: File removed.
38410
3fb791b8
MP
384112012-08-01 Marek Polacek <polacek@redhat.com>
38412
38413 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38414 Use dlfcn directly instead of a variable.
38415 (binfmt-subdir): Do not define.
38416 (dlfcn): Likewise.
38417
a9f1039f
JM
384182012-08-01 Joseph Myers <joseph@codesourcery.com>
38419
23bddc06
JM
38420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38421 Remove all definitions.
38422 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38423 <kernel-features.h>.
38424 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38425 (miss_F_GETOWN_EX): Remove all definitions.
38426 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38427 macro definition.
38428 [!__ASSUME_FCNTL64]: Remove conditional code.
38429 [__ASSUME_FCNTL64]: Make code unconditional.
38430 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38431 <kernel-features.h>.
38432 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38433 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38434 (lockf64) [__NR_fcntl64]: Make code unconditional.
38435 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38436
a9f1039f
JM
38437 * sysdeps/unix/sysv/linux/kernel-features.h
38438 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38439 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38440 Make code unconditional.
38441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38444 [__NR_vfork]: Make code unconditional.
38445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38448 [__NR_vfork]: Make code unconditional.
38449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38451
09c0ee5f
RM
384522012-08-01 Roland McGrath <roland@hack.frob.com>
38453
48aec5b9
RM
38454 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38455 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38456
cd97c966
RM
38457 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38458 Define mkstemp64 as an alias.
3f55550c
RM
38459 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38460 Define mkstemps64 as an alias.
cd97c966
RM
38461 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38462 Define mkostemp64 as an alias.
b8625cfc
RM
38463 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38464 Define mkostemps64 as an alias.
cd97c966
RM
38465 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38466 Conditionalize body on this.
38467 * misc/mkostemp64.c: Likewise.
b8625cfc 38468 * misc/mkostemps64.c: Likewise.
3f55550c 38469 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38470 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38471 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38472 * sysdeps/wordsize-64/mkostemp.c: File removed.
38473 * sysdeps/wordsize-64/mkstemp.c: File removed.
38474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38478
09c0ee5f
RM
38479 [BZ #14138]
38480 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38482 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38483 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38484
38485 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38486 compat_symbol macros from <shlib-compat.h> rather than the underlying
38487 default_symbol_version and symbol_version macros, so that DEFAULT
38488 lines in shlib-versions are respected.
38489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38490
7e66ee51
FW
384912012-08-01 Florian Weimer <fweimer@redhat.com>
38492
38493 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38494 Declare with warn_unused_result.
38495 (setgid, setregid, setegid, setresgid): Likewise.
38496 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38497 Likewise.
38498 * WUR-REPORT: Remove set*id functions.
38499
d2a54255
PT
385002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38501
38502 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38503
7ecdb005
RM
385042012-07-31 Roland McGrath <roland@hack.frob.com>
38505
b4180a5e 38506 [BZ #10191]
789bd351
RM
38507 * include/sys/socket.h (__libc_accept, __libc_accept4):
38508 Add attribute_hidden.
38509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38510
40ce302d
RM
38511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38512 use of PTR_MANGLE.
38513 * inet/getnetgrent_r.c (setup): Likewise.
38514
7ecdb005
RM
38515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38516
e2eabb2c
DM
385172012-07-31 David S. Miller <davem@davemloft.net>
38518
38519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38520
d0419dbf
JM
385212012-07-31 Joseph Myers <joseph@codesourcery.com>
38522
38523 [BZ #13629]
38524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38525 value between 1.0 and 2.0 and smaller part has absolute value less
38526 than 1.0.
38527 * math/s_clog10.c (__clog10): Likewise.
38528 * math/s_clog10f.c (__clog10f): Likewise.
38529 * math/s_clog10l.c (__clog10l): Likewise.
38530 * math/s_clogf.c (__clogf): Likewise.
38531 * math/s_clogl.c (__clogl): Likewise.
38532 * math/libm-test.inc (clog_test): Add more tests.
38533 (clog10_test): Likewise.
38534 * sysdeps/i386/fpu/libm-test-ulps: Update.
38535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38536
2bc13872
FW
385372012-07-31 Florian Weimer <fweimer@redhat.com>
38538
38539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38540 Exit with zero in case no suitable GID is found, and write a
38541 message to standard error.
38542
bea9b193
RM
385432012-07-30 Roland McGrath <roland@hack.frob.com>
38544
38545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38546 rather than to 1.
38547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38548 (MAXPATHLEN): Removed.
38549 (NOGROUP, NODEV): New macros.
38550 (setbit, clrbit, isset, isclr): New macros.
38551 (howmany, roundup, powerof2): New macros.
38552 (DEV_BSIZE): New macro.
38553
38554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38556
38557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38558 definition on [!__NO_LONG_DOUBLE_MATH].
38559
38560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38561 PTR_MANGLE and PTR_DEMANGLE.
38562
38563 * socket/accept4.c (accept4): Rename to __libc_accept4.
38564 Define accept4 as a weak alias.
38565
38566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38567 on [_DIRENT_HAVE_D_TYPE].
38568 * io/ftw.c (ftw_dir): Likewise.
38569
38570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38571
38572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38573
38574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38575 Use the BSD numbers rather than the arbitrary ones we had.
38576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38578 (SIGXCPU, SIGXFSZ): New macros.
38579 (_NSIG): Now 32.
38580
38581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38582 initializer on [_LIBC_REENTRANT].
38583
38584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38585 definitions inside [_POSIX_MAPPED_FILES].
38586
38587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38588
38589 * dirent/opendir.c: Include <fcntl.h>.
38590
38591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38592 (__libc_getspecific): Likewise.
38593 (__libc_key_create): Likewise.
38594
38595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38598 (tmpfile64): Define as alias.
38599 * sysdeps/wordsize-64/tmpfile.c: File removed.
38600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38603
38604 * stdio-common/vfscanf.c: Include <stdbool.h>.
38605 * nss/makedb.c: Likewise.
38606 * stdio-common/_i18n_number.h: Likewise.
38607 * argp/argp-help.c: Likewise.
38608 * posix/wordexp.c: Likewise.
38609 * sysdeps/posix/spawni.c: Likewise.
38610 * nss/nss_files/files-initgroups.c: Likewise.
38611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38612 * nss/nss_files/files-initgroups.c: Likewise.
38613 * nss/nss_db/db-netgrp.c: Likewise.
38614 * nss/nss_db/db-initgroups.c: Likewise.
38615 * io/fchmodat.c: Include <sys/stat.h>.
38616
38617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38619
38620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38621 [HAVE_MMAP].
38622
38623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38624 Add multiple inclusion protection.
38625
e5abc686
DM
386262012-07-27 David S. Miller <davem@davemloft.net>
38627
38628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38629
815e6fa3
GB
386302012-07-27 Gary Benson <gbenson@redhat.com>
38631
38632 [BZ #14298]
38633 * elf/rtld.c: Include <stap-probe.h>.
38634 (dl_main): Added static probes "init_start" and "init_complete".
38635 * elf/dl-load.c: Include <stap-probe.h>.
38636 (lose): Take new parameter "nsid".
38637 Added static probe "map_failed".
38638 (_dl_map_object_from_fd): Pass namespace id to lose.
38639 Added static probe "map_start".
38640 (open_verify): Pass namespace id to lose.
38641 * elf/dl-open.c: Include <stap-probe.h>.
38642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38643 and "reloc_complete".
38644 * elf/dl-close.c: Include <stap-probe.h>.
38645 (_dl_close_worker): Added static probes "unmap_start" and
38646 "unmap_complete".
38647 * elf/rtld-debugger-interface.txt: New file documenting the above.
38648
9f98c16c
RM
386492012-07-26 Roland McGrath <roland@hack.frob.com>
38650
38651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38652 rather than a string variable.
38653 * sunrpc/rpc_main.c (h_output): Likewise.
38654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38655
f3c22df3
PT
386562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38657
38658 * inet/check_native.c: New file.
38659
3129cfc6
JM
386602012-07-26 Joseph Myers <joseph@codesourcery.com>
38661
da865e95
JM
38662 [BZ #13629]
38663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38664 if larger part has absolute value 1.0.
38665 * math/s_clog10.c (__clog10): Likewise.
38666 * math/s_clog10f.c (__clog10f): Likewise.
38667 * math/s_clog10l.c (__clog10l): Likewise.
38668 * math/s_clogf.c (__clogf): Likewise.
38669 * math/s_clogl.c (__clogl): Likewise.
38670 * math/libm-test.inc (clog_test): Add more tests.
38671 (clog10_test): Likewise.
38672 * sysdeps/i386/fpu/libm-test-ulps: Update.
38673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38674
3129cfc6
JM
38675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38676 (pltexit): Likewise.
38677 (La_regs): Likewise.
38678 (La_retval): Likewise.
38679 (int_retval): Likewise.
38680 Update #error for removed macros to refer only to definitions in
38681 tst-audit.h.
38682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38683 macro.
38684 (pltexit): Likewise.
38685 (La_regs): Likewise.
38686 (La_retval): Likewise.
38687 (int_retval): Likewise.
38688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38689 macro.
38690 (pltexit): Likewise.
38691 (La_regs): Likewise.
38692 (La_retval): Likewise.
38693 (int_retval): Likewise.
38694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38695 macro.
38696 (pltexit): Likewise.
38697 (La_regs): Likewise.
38698 (La_retval): Likewise.
38699 (int_retval): Likewise.
38700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38701 macro.
38702 (pltexit): Likewise.
38703 (La_regs): Likewise.
38704 (La_retval): Likewise.
38705 (int_retval): Likewise.
38706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38707 macro.
38708 (pltexit): Likewise.
38709 (La_regs): Likewise.
38710 (La_retval): Likewise.
38711 (int_retval): Likewise.
38712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38713 macro.
38714 (pltexit): Likewise.
38715 (La_regs): Likewise.
38716 (La_retval): Likewise.
38717 (int_retval): Likewise.
38718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38719 macro definitions in tst-audit.h.
38720 * sysdeps/i386/tst-audit.h: New file.
38721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38725 * sysdeps/sh/tst-audit.h: Likewise.
38726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38728 * sysdeps/x86_64/tst-audit.h: Likewise.
38729
bfc07087
AJ
387302012-07-26 Andreas Jaeger <aj@suse.de>
38731
b1b2aaf8
AJ
38732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38733 ptrace.
38734
38735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38738 PTRACE_O_MASK.
38739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38742
bfc07087
AJ
38743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38744 value.
38745
38746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38747 _sigsys.
38748 (si_call_addr, si_syscall, si_arch): Define new macro.
38749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38750 _sigsys.
38751 (si_call_addr, si_syscall, si_arch): Define new marcro.
38752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38753 _sigsys.
38754 (si_call_addr, si_syscall, si_arch): Define new macro.
38755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38756 _sigsys.
38757 (si_call_addr, si_syscall, si_arch): Define new macro.
38758
89b4b02f
JM
387592012-07-25 Joseph Myers <joseph@codesourcery.com>
38760
38761 [BZ #13717]
38762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38763 Change to 2.4.21 where previously 2.4.1.
38764 * sysdeps/unix/sysv/linux/configure: Regenerated.
38765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38767 Linux kernel version.
38768 (__ASSUME_STD_AUXV): Remove.
38769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38770 kernel version.
38771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38775 (__ASSUME_NETLINK_SUPPORT): Likewise.
38776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38777 (__no_netlink_support): Remove conditional definition.
38778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38779 Remove.
38780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38783 (if_nameindex_ioctl): Remove.
38784 (if_nameindex_netlink): Do not handle __no_netlink_support.
38785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38786 code.
38787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38788 Remove conditional code.
38789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38790 code.
38791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38792 unconditional.
38793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38796 Remove.
38797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38798 [!__ASSUME_STD_AUXV]: Remove conditional code.
38799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38805 code.
38806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38810 conditional code.
38811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38814 code.
38815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38817 conditional code.
38818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38820 code unconditional.
38821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38822 conditional code.
38823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38824 unconditional.
38825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38826 conditional code.
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38829 unconditional.
38830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38831 conditional code.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38834 code unconditional.
38835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38836 conditional code.
38837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38838 unconditional.
38839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38840 conditional code.
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38843 code unconditional.
38844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38845 conditional code.
38846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38847 unconditional.
38848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38849 conditional code.
38850
842a39cd
AS
388512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38852
38853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38876
84b3fd84
FW
388772012-07-25 Florian Weimer <fweimer@redhat.com>
38878
38879 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38882 Introduce __libc_secure_getenv.
0c7936d5
FW
38883 * stdlib/Versions (2.17): Add secure_getenv
38884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38885 * stdlib/secure-getenv.c: Rename __secure_getenv to
38886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38887 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38888 * stdlib/tst-secure-getenv.c: New.
38889 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38890 * manual/startup.texi (Environment Access): Document
38891 secure_getenv.
84b3fd84
FW
38892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38893 __libc_secure_getenv.
38894 * inet/ruserpass.c (ruserpass): Likewise.
38895 * malloc/mtrace.c (mtrace): Likewise.
38896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38899 * sysdeps/posix/tempname.c: Likewise. Evaluate
38900 HAVE_SECURE_GETENV.
38901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38902 __secure_getenv to __libc_secure_getenv.
84b3fd84 38903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38905 Likewise.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38907 Likewise.
38908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38915
56e49b71
JM
389162012-07-25 Joseph Myers <joseph@codesourcery.com>
38917
38918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38919 (struct La_i86_retval): Likewise.
38920 (struct La_x86_64_regs): Likewise.
38921 (struct La_x86_64_retval): Likewise.
38922 (struct La_x32_regs): Likewise.
38923 (struct La_x32_retval): Likewise.
38924 (struct La_ppc32_regs): Likewise.
38925 (struct La_ppc32_retval): Likewise.
38926 (struct La_ppc64_regs): Likewise.
38927 (struct La_ppc64_retval): Likewise.
38928 (struct La_sh_regs): Likewise.
38929 (struct La_sh_retval): Likewise.
38930 (struct La_s390_32_regs): Likewise.
38931 (struct La_s390_32_retval): Likewise.
38932 (struct La_s390_64_regs): Likewise.
38933 (struct La_s390_64_retval): Likewise.
38934 (struct La_sparc32_regs): Likewise.
38935 (struct La_sparc32_retval): Likewise.
38936 (struct La_sparc64_regs): Likewise.
38937 (struct La_sparc64_retval): Likewise.
38938 (struct audit_ifaces): Remove architecture-specific pltenter and
38939 pltexit members.
38940 * sysdeps/i386/ldsodefs.h: New file.
38941 * sysdeps/powerpc/ldsodefs.h: Likewise.
38942 * sysdeps/s390/ldsodefs.h: Likewise.
38943 * sysdeps/sh/ldsodefs.h: Likewise.
38944 * sysdeps/sparc/ldsodefs.h: Likewise.
38945 * sysdeps/x86_64/ldsodefs.h: Likewise.
38946
354691b7
MP
389472012-07-25 Marek Polacek <polacek@redhat.com>
38948
38949 [BZ #6808]
38950 * math/libm-test.inc (yn_test): Add another test.
38951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38952 to ERANGE when the result is +-Inf.
38953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38957
bf9e2071
JM
389582012-07-24 Joseph Myers <joseph@codesourcery.com>
38959
38960 * conform/data/time.h-data (NULL): Use macro-constant. Require
38961 equal to 0.
38962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38963 clock_t.
38964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38965
57633811
TS
389662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38967
38968 * configure.in <sysdeps resolving>: Correct printing
38969 Implies_before.
38970 * configure: Regenerate.
38971
c23c33b0
TS
389722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38973
38974 * math/w_ilogb.c: Include <limits.h>.
38975 * math/w_ilogbl.c: Likewise.
38976
b5982523
JM
389772012-07-20 Joseph Myers <joseph@codesourcery.com>
38978
38979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38980 va_copy. Document allowing for unavailable va_copy only as
38981 pre-C99 compatibility.
38982 * manual/string.texi (Copying and Concatenation): Use va_copy
38983 instead of __va_copy in concat example.
38984
ac4ea442
PT
389852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38986
38987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38988 (__sendto): Use create_address_port. Initialize APORT and deallocate
38989 it if not null.
38990
f98eafbd
PT
38991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38992 with O_NOLINK passed to __file_name_lookup.
38993
898c7aab
PT
38994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38995 with O_NOLINK passed to __file_name_lookup.
38996
0ced335a
PT
38997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38998 negative N or less than NGIDS.
38999
b3404dbd
PT
39000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39001 type to string_t. Set ERANGE as errno and return it if NAME is not big
39002 enough. Use memcpy instead of strncpy.
39003
0f48659e
JM
390042012-07-20 Joseph Myers <joseph@codesourcery.com>
39005
39006 * elf/Makefile (check-data): Remove.
39007 (localplt.data): New vpath directive.
39008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39009 instead of $(check-data).
39010 * scripts/data/localplt-generic.data: Move to ...
39011 * sysdeps/generic/localplt.data: ... here.
39012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39016 ... here.
39017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39019 ... here.
39020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39022 ... here.
39023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39025 ... here.
39026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39028 ... here.
39029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39031 ... here.
39032
d37cbdaa
AZ
390332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39034
39035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39036 PPC32 and PPC64 files.
39037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39039
46f85fc2
AK
390402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39041
39042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39043 __makecontext_ret to ...
39044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39045 ... here and call exit if uc_link is NULL. New file.
39046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39047 __makecontext_ret.S.
39048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39049 __makecontext_ret to ...
39050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39051 ... here and call exit if uc_link is NULL. New file.
39052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39053 __makecontext_ret.S.
39054
08f43f9b
AK
390552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39056
39057 * elf/elf.h (R_390_IRELATIVE): New definition.
39058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39062 (elf_machine_lazy_rel): Likewise.
39063 * sysdeps/s390/dl-irel.h: New file.
39064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39065 * sysdeps/s390/s390-64/memset.S: New asm code.
39066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39078 * sysdeps/s390/s390-32/memset.S: New asm code.
39079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39080
3b05db33
MP
390812012-07-17 Marek Polacek <polacek@redhat.com>
39082
39083 [BZ #14349]
39084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39085 * sysdeps/s390/s390-64/configure.in: Likewise.
39086 * sysdeps/sparc/configure.in: Likewise.
39087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39089 * sysdeps/i386/configure.in: Likewise.
39090 * sysdeps/x86_64/configure.in: Likewise.
39091 * sysdeps/sh/configure.in: Likewise.
39092 * sysdeps/s390/s390-32/configure: Regenerated.
39093 * sysdeps/s390/s390-64/configure: Likewise.
39094 * sysdeps/x86_64/configure: Likewise.
39095 * sysdeps/sh/configure: Likewise.
39096 * sysdeps/powerpc/powerpc64/configure: Likewise.
39097 * sysdeps/powerpc/powerpc32/configure: Likewise.
39098 * sysdeps/sparc/configure: Likwise.
39099 * sysdeps/i386/configure: Likewise.
39100
a66877c6
MP
39101 * elf/dl-open.c: Comment fixes.
39102
cfc82fd8
JM
391032012-07-17 Joseph Myers <joseph@codesourcery.com>
39104
bd29910a
JM
39105 * Makefile [CXX] (check-data): Remove.
39106 [CXX] (c++-types.data): New vpath directive.
39107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39108 vpath. Do not allow for C++ type data being missing.
39109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39117 ... here.
39118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39120 ... here.
39121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39123 ... here.
39124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39126 ... here.
39127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39129 ... here.
39130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39132 ... here.
39133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39135 ... here.
39136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39138
cfc82fd8
JM
39139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39140 definitions to architecture-specific files.
39141 (TLS_IE): Likewise.
39142 (TLS_LD): Likewise.
39143 (TLS_GD): Likewise.
39144 * sysdeps/i386/tls-macros.h: New file.
39145 * sysdeps/powerpc/tls-macros.h: Likewise.
39146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39148 * sysdeps/sh/tls-macros.h: Likewise.
39149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39151 * sysdeps/x86_64/tls-macros.h: Likewise.
39152
f7db3170
TS
391532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39154
07cbfc23
TS
39155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39156 zero value for regular exit case.
39157
f7db3170
TS
39158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39159 (__start_context): Preserve zero value for regular exit case.
39160
dc97c227
TS
391612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39163
39164 * manual/setjmp.texi (setcontext): Clarify normal process
39165 termination when uc_link is the null pointer.
39166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39167 exit call.
39168
d0cd7d02
AS
391692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39170
39171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39172 preprocessor. Test for each exception mask separately.
39173
dd318934
AJ
391742012-07-16 Andreas Jaeger <aj@suse.de>
39175
39176 * po/ru.po: Update from translation team.
39177
8048311a
JM
391782012-07-15 Joseph Myers <joseph@codesourcery.com>
39179
39180 * conform/data/string.h-data (NULL): Use macro-constant. Require
39181 equal to 0.
39182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39187
b637d46e
AJ
391882012-07-13 Andreas Jaeger <aj@suse.de>
39189
39190 * po/fr.po: Update from translation team.
39191
541428fe
MP
391922012-07-12 Marek Polacek <polacek@redhat.com>
39193
39194 [BZ #14173]
39195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39197 loop condition.
39198
ec332e94
JM
391992012-07-12 Joseph Myers <joseph@codesourcery.com>
39200
39201 [BZ #13717]
39202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39203 Change to 2.4.1 where previously 2.4.0.
39204 * sysdeps/unix/sysv/linux/configure: Regenerated.
39205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39207 version.
39208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39209 (__ASSUME_AT_CLKTCK): Remove.
39210 (__ASSUME_AT_PAGESIZE): Likewise.
39211 (__ASSUME_AT_XID): Likewise.
39212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39215 unconditionally.
39216 (HAVE_AUX_PAGESIZE): Likewise.
39217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39220
7b6e99be
JB
392212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39222
39223 [BZ #14307]
39224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39225 the temporary buffer used to invoke __gethostbyname2_r,
39226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39227 host_data / struct gaih_addrtuple.
39228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39230 header file nss/nsswitch.h.
39231 * nss/nsswitch.h (global scope): Add definition of implementation
39232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39233 resolv/nss_dns/dns-host.c).
39234
608404eb
AJ
392352012-07-11 Andreas Jaeger <aj@suse.de>
39236
39237 * po/fr.po: Update from translation team.
39238
71220aca
AJ
39239 * po/sv.po: Update from translation team
39240 * po/fr.po: Another update from translation team.
39241
28cfe843
AZ
392422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39243
39244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39245 for subnormals or multiply small sinh result by itself.
39246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39248
6b90f981
DM
392492012-07-11 David S. Miller <davem@davemloft.net>
39250
39251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39252
c6825772
AS
392532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39254
39255 [BZ #14347]
39256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39257 (INTERNAL_MARK): Shift it here.
39258
7b8e0d49
MP
392592012-07-10 Marek Polacek <polacek@redhat.com>
39260
39261 [BZ #14151]
39262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39263 libc_cv_asm_global_directive with .globl.
39264 * configure: Regenerated.
39265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39266 with .globl.
39267 * sysdeps/i386/configure: Regenerated.
39268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39269 with .globl.
39270 * sysdeps/x86_64/configure: Regenerated.
39271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39273 * elf/tst-unique2mod2.c: Likewise.
39274 * elf/tst-unique2mod1.c: Likewise.
39275 * elf/tst-unique1mod2.c: Likewise.
39276 * elf/tst-unique1mod1.c: Likewise.
39277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39281 * sysdeps/mach/sysdep.h: Likewise.
39282 * sysdeps/i386/sysdep.h: Likewise.
39283 * sysdeps/i386/i386-mcount.S: Likewise.
39284 * sysdeps/x86_64/_mcount.S: Likewise.
39285 * sysdeps/x86_64/sysdep.h: Likewise.
39286 * sysdeps/sh/_mcount.S: Likewise.
39287 * sysdeps/sh/sysdep.h: Likewise.
39288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39295 * locale/localeinfo.h: Likewise.
39296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39298
6c55cda3
RM
392992012-07-09 Roland McGrath <roland@hack.frob.com>
39300
39301 [BZ #14336]
39302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39303 system".
39304 * manual/message.texi (The Uniforum approach): Likewise.
39305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39306 (glibc iconv Implementation): Likewise.
39307
638a572e
JM
393082012-07-09 Joseph Myers <joseph@codesourcery.com>
39309
39310 [BZ #14337]
39311 * math/s_clog.c (__clog): Avoid scaling a value down where that
39312 could result in underflow.
39313 * math/s_clog10.c (__clog10): Likewise.
39314 * math/s_clog10f.c (__clog10f): Likewise.
39315 * math/s_clog10l.c (__clog10l): Likewise.
39316 * math/s_clogf.c (__clogf): Likewise.
39317 * math/s_clogl.c (__clogl): Likewise.
39318 * math/libm-test.inc (clog_test): Add more tests.
39319 (clog10_test): Likewise.
39320 * sysdeps/i386/fpu/libm-test-ulps: Update.
39321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39322
261f4859
AS
393232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39324
0abaf3e4
AS
39325 [BZ #14283]
39326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39327 by 7 not 8 to examine high bit of fractional part.
39328
261f4859
AS
39329 [BZ #14042]
39330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39331 for call to __mcount_internal.
39332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39335
f17ac40d
JM
393362012-07-06 Joseph Myers <joseph@codesourcery.com>
39337
9ad63c23
JM
39338 [BZ #14154]
39339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39340 approximation for values within 0x1p-13f of an odd multiple of
39341 pi/4.
39342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39343 exception. Add more tests.
39344 * sysdeps/i386/fpu/libm-test-ulps: Update.
39345
f17ac40d
JM
39346 [BZ #6778]
39347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39348 inputs and return -1 for them. Do not check for +Inf in case not
39349 reachable for +Inf.
39350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39353 and return -1 for them. Do not check for +Inf in case not
39354 reachable for +Inf.
39355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39356 define.
39357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39358 and return -1 for them. Do not check for +Inf in case not
39359 reachable for +Inf.
39360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39361 spurious underflow.
39362 * sysdeps/i386/fpu/libm-test-ulps: Update.
39363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39364
fb21f89b
MF
393652012-07-06 Mike Frysinger <vapier@gentoo.org>
39366
39367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39368
cdfe2c5e
JM
393692012-07-05 Joseph Myers <joseph@codesourcery.com>
39370
39371 [BZ #14157]
39372 [BZ #14331]
39373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39374 could result in spurious underflow. Scale down values above
39375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39376 * math/s_csqrtf.c (__csqrtf): Likewise.
39377 * math/s_csqrtl.c (__csqrtl): Likewise.
39378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39379 spurious underflow.
39380 * sysdeps/i386/fpu/libm-test-ulps: Update.
39381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39382
70d35b67
AS
393832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39384
704bc459
AS
39385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39386 xopen-msg.sed.
39387 * catgets/xopen-msg.awk: New file.
39388 * catgets/xopen-msg.sed: Removed.
39389
70d35b67
AS
39390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39391 po2text.sed.
39392 * intl/po2test.awk: New file.
39393 * intl/po2test.sed: Removed.
39394
ca61cf32
JM
393952012-07-04 Joseph Myers <joseph@codesourcery.com>
39396
39397 [BZ #14328]
39398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39399 or multiply small sinh result by itself.
39400 * math/s_ctanf.c (__ctanf): Likewise.
39401 * math/s_ctanh.c (__ctanh): Likewise.
39402 * math/s_ctanhf.c (__ctanhf): Likewise.
39403 * math/s_ctanhl.c (__ctanhl): Likewise.
39404 * math/s_ctanl.c (__ctanl): Likewise.
39405 * math/libm-test.inc (ctan_test_tonearest): New function.
39406 (ctan_test_towardzero): Likewise.
39407 (ctan_test_downward): Likewise.
39408 (ctan_test_upward): Likewise.
39409 (ctanh_test_tonearest): Likewise.
39410 (ctanh_test_towardzero): Likewise.
39411 (ctanh_test_downward): Likewise.
39412 (ctanh_test_upward): Likewise.
39413 (main): Call these new functions.
39414 * sysdeps/i386/fpu/libm-test-ulps: Update.
39415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39416
ca48a46a
MF
394172012-07-03 Mike Frysinger <vapier@gentoo.org>
39418
39419 * .gitignore: Delete /ports entry.
39420
9d63d37d
AJ
394212012-07-03 Andreas Jaeger <aj@suse.de>
39422
39423 * po/bg.po: Update from translation team.
39424 * po/cs.po: Likewise.
39425 * po/de.po: Likewise.
39426 * po/hr.po: Likewise.
39427 * po/nl.pl: Likewise.
39428 * po/pl.po: Likewise.
39429 * po/vi.po: Likewise.
39430
370ca3d2
JM
394312012-07-03 Joseph Myers <joseph@codesourcery.com>
39432
95f5a9a8
JM
39433 * Makeconfig [!+link] (+link-before-libc): New variable.
39434 [!+link] (+link-after-libc): Likewise.
39435 [!+link] (+link-tests): Likewise.
39436 [!+link] (+link): Define in terms of $(+link-before-libc) and
39437 $(+link-after-libc).
39438 [!+link-static] (+link-static-before-libc): New variable.
39439 [!+link-static] (+link-static-after-libc): Likewise.
39440 [!+link-static] (+link-static-tests): Likewise.
39441 [!+link-static] (+link-static): Define in terms of
39442 $(+link-static-before-libc) and $(+link-static-after-libc).
39443 [build-shared] (link-libc-before-gnulib): New variable.
39444 [build-shared] (link-libc-tests): Likewise.
39445 [build-shared] (link-libc): Define in terms of
39446 $(link-libc-before-gnulib).
39447 [!build-shared] (link-libc-tests): New variable.
39448 (link-libc-static-tests): New variable.
39449 [!gnulib] (gnulib-arch): New variable.
39450 [!gnulib] (gnulib-tests): Likewise.
39451 [!gnulib] (static-gnulib-arch): Likewise.
39452 [!gnulib] (static-gnulib-tests): Likewise.
39453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39454 Define with "=" instead of ":=".
39455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39457 * Rules (binaries-all-notests): New variable.
39458 (binaries-all-tests): Likewise.
39459 (binaries-static-notests): Likewise.
39460 (binaries-static-tests): Likewise.
39461 (binaries-all): Define using $(binaries-all-notests) and
39462 $(binaries-all-tests).
39463 (binaries-static): Define using $(binaries-static-notests) and
39464 $(binaries-static-tests).
39465 (binaries-shared-tests): New variable.
39466 (binaries-shared-notests): Likewise.
39467 (binaries-shared): Remove variable.
39468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39474 * elf/Makefile (sln-modules): New variable.
39475 (extra-objs): Add $(sln-modules:=.o).
39476 (ldconfig-modules): Add static-stubs.
39477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39478 * elf/static-stubs.c: New file.
39479
7a845b2c
JM
39480 [BZ #14283]
39481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39482 by 7 not 8 to examine high bit of fractional part. Use volatile
39483 variables when splitting into final array of floats if
39484 __FLT_EVAL_METHOD__ != 0.
39485 * math/libm-test.inc (cos_test): Add another test.
39486 (sin_test): Likewise.
39487 * sysdeps/i386/fpu/libm-test-ulps: Update.
39488
e2283f38
JM
39489 [BZ #14273]
39490 * math/libm-test.inc (cosh_test): Add more tests.
39491
370ca3d2
JM
39492 * version.h (RELEASE): Set to "development".
39493 (VERSION): Set to "2.16.90".
39494
ee9247c3
CD
394952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39496
39497 * NEWS: Update copyright. Remove last-updated date.
39498 Mention math library bug fixes and timezone data changes.
39499 * README: Mention GNU/Hurd, x32, and HPPA support status.
39500
4648c381
TS
395012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39502
39503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39504
aac78a43
AJ
395052012-06-27 Andreas Jaeger <aj@suse.de>
39506
39507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39508
ed3dbfad
AJ
395092012-06-25 Andreas Jaeger <aj@suse.de>
39510
39511 * sysdeps/s390/fpu/libm-test-ulps: Update.
39512
4d0ee855
AS
395132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39514 Thomas Schwinge <thomas@codesourcery.com>
39515
39516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39519 fanotify_mark.
39520
af1bce34
TS
395212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39522
a9fa33ba
TS
39523 * sysdeps/mach/start.c: Remove file.
39524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39526 * sysdeps/sh/init-first.c: Likewise.
39527
58f902b8
TS
39528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39529 registers for frame unwinding purposes, add CFI directives.
39530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39533 Likewise.
39534
1518f58b
TS
39535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39536 __fortify_fail returning.
39537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39538
db9b5059
TS
39539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39540 sysdeps/sh/____longjmp_chk.S.
39541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39545
967705fe
TS
39546 * sysdeps/sh/abort-instr.h: New file.
39547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39548 process in case exit returns.
39549
a9def8c4
TS
39550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39551 initialize the GOT register before use.
39552
2a649725
TS
39553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39554 calculation of ARGC > 4.
39555
af1bce34
TS
39556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39557 meaningful names to some local labels.
39558
d230f50a
KK
395592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39561
39562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39564 (__arch_compare_and_exchange_val_16_acq): Likewise.
39565 (__arch_compare_and_exchange_val_32_acq): Likewise.
39566 (atomic_exchange_and_add): Fix gUSA sequence.
39567 (atomic_add): Likewise.
39568 (atomic_add_negative): Likewise.
39569 (atomic_add_zero): Likewise.
39570 (atomic_bit_test_set): Likewise.
39571
0479b305
AS
395722012-06-22 Andreas Schwab <schwab@redhat.com>
39573
39574 [BZ #13579]
39575 * include/link.h (struct link_map): Add l_free_initfini.
39576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39577 l_initfini.
39578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39581 set.
39582
0e3933b9
CD
395832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39584
39585 * configure.in: Use AC_LANG_SOURCE.
39586 * configure: Regenerate.
39587
4248b1b1
RM
395882012-06-22 Roland McGrath <roland@hack.frob.com>
39589
39590 * configure.in (libc_cv_localstatedir): New substituted variable.
39591 * configure: Regenerated.
39592 * config.make.in (localstatedir): New variable, substituted from
39593 libc_cv_localstatedir.
39594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39597 * sysdeps/gnu/configure: Regenerated.
39598
006dd861
JL
395992012-06-21 Jeff Law <law@redhat.com>
39600
39601 [BZ #14277]
39602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39603 free. Simplify list management for _LIBC case.
39604
79662d42
JM
396052012-06-21 Joseph Myers <joseph@codesourcery.com>
39606
b7abb4bf
JM
39607 [BZ #14273]
39608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39609 Clear sign bit of 64-bit integer value before comparing against
39610 overflow value.
39611
79662d42
JM
39612 * sysdeps/mach/configure: Regenerated.
39613
1f150908
L
396142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39615
39616 [BZ #14278]
39617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39618
28363bbf
JL
396192012-06-21 Jeff Law <law@redhat.com>
39620
39621 [BZ #13882]
39622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39623 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39625 * elf/dl-open.c (dl_open_worker): Likewise.
39626
09615db4
CD
396272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39628
39629 * scripts/list-sources.sh: Scan PORTS for translations.
39630 * po/libc.pot: Regenerated.
39631
2174c6dd
AJ
396322012-06-21 Andreas Jaeger <aj@suse.de>
39633
39634 [BZ #12194]
39635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39636 warning.
39637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39638 * bits/byteswap-16.h (__bswap_16): Likewise.
39639 * bits/byteswap.h (__bswap_constant_16): Likewise.
39640
3ee947b1
L
396412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39642
39643 [BZ #14117]
a2f34833
L
39644 * sysdeps/i386/fpu_control.h: Removed.
39645 * sysdeps/x86_64/fpu_control.h: Moved to ...
39646 * sysdeps/x86/fpu_control.h: Here.
39647
3ee947b1
L
39648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39649 (_FPU_SETCW): Likewise.
39650
ed1825f8
L
396512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39652
25f1282a
L
39653 [BZ #14117]
39654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39655 * sysdeps/x86/fpu/bits/mathinline.h: This.
39656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39657
ed1825f8
L
39658 [BZ #14050]
39659 [BZ #14117]
39660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39661 functions if __x86_64__ is defined.
39662
36d54b74
CLT
396632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39664
39665 * string/endian.h: Add !__ASSEMBLER__ condition for including
39666 conversion interfaces.
39667
10285c21
JM
396682012-06-15 Joseph Myers <joseph@codesourcery.com>
39669
39670 [BZ #14241]
39671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39672 of ABS(x) in calculating zero to negative powers other than odd
39673 integers.
39674 * math/libm-test.inc (pow_test): Add more tests.
39675
06c5abbd
AJ
396762012-06-15 Andreas Jaeger <aj@suse.de>
39677
39678 * manual/contrib.texi (Contributors): Update entry of Liubov
39679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39680 Machado Filho.
39681
a3aeac40
CH
396822012-06-15 Cyril Hrubis <metan@ucw.cz>
39683
39684 * string/string.h: Add __wur to GNU version of strerror_r.
39685
49bdf4c1
L
396862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39687
39688 [BZ #14229]
39689 * string/Makefile (tests): Add tst-strtok_r.
39690 * string/tst-strtok_r.c: New file.
39691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39692 RAX_LP/RDX_LP on SAVE_PTR.
39693
834f9b8d
RM
396942012-06-14 Roland McGrath <roland@hack.frob.com>
39695
39696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39697
75fa1921
JM
396982012-06-14 Joseph Myers <joseph@codesourcery.com>
39699
39700 * libm_test.inc (csqrt_test): Allow more spurious underflow
39701 exceptions.
39702 (j0_test): Likewise.
39703 (j1_test): Likewise.
39704 (y0_test): Likewise.
39705 (y1_test): Likewise.
39706
771766df
CD
397072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39708
39709 * po/Makefile (libc.pot): Use UTF-8 charset.
39710
ceb9e56b
PP
397112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39712
39713 [BZ #14210]
39714 Suppress sign-conversion warning from FD_SET.
39715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39717 not unsigned long int.
39718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39719
ddb28975
L
397202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39721
39722 [BZ #14050]
39723 [BZ #14117]
39724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39725 __extern_always_inline instead of __extern_inline.
39726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39727 (__signbit): Likewise.
39728 (__signbitl): Support C++ namespace.
39729 (lrintf): New inline function.
39730 (lrint): Likewise.
39731 (llrintf): Likewise.
39732 (llrint): Likewise.
39733 (fmaxf): Likewise.
39734 (fmax): Likewise.
39735 (fminf): Likewise.
39736 (fmin): Likewise.
39737 (rint): Likewise.
39738 (rintf): Likewise.
39739 (ceil): Likewise.
39740 (ceilf): Likewise.
39741 (floor): Likewise.
39742 (floorf): Likewise.
39743 (nearbyint): Likewise.
39744 (nearbyintf): Likewise.
39745
d7b4fb26
TS
397462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39747
39748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39749 non-default versions.
39750
eb55f5c2
RM
397512012-06-11 Roland McGrath <roland@hack.frob.com>
39752
39753 [BZ #14218]
39754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39755
366af02c
TS
397562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39757
99ff6e5c
TS
39758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39759 (FE_UPWARD, FE_DOWNWARD): Don't define.
39760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39762
366af02c
TS
39763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39764 reading it.
39765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39767
793ea851
KK
397682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39769
39770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39774
a728a38f
L
397752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39776
39777 [BZ #14117]
c08010c7
L
39778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39779 * sysdeps/i386/fpu/Implies: New file.
39780 * sysdeps/x86_64/fpu/Implies: Likewise.
39781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39782 * sysdeps/x86/fpu/bits/fenv.h: This.
39783
a728a38f
L
39784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39785 __SSE_MATH__.
39786
6e230d11
SP
397872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39788
39789 [BZ #14134]
39790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39791 character 0xffff that matches the last element of the
39792 conversion table.
39793
1b671feb
AZ
397942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39795
39796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39797 fmodl commit.
39798
6043738b
AZ
397992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39800
39801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39802 values higher than 25.6283.
39803
34ae0b32
AZ
398042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39805
39806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39807 subnormal exponent extraction and add some __builtin_expect.
39808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39809 Fix for subnormal mantissa calculation.
39810
1214ec8f
MF
398112012-06-04 Mike Frysinger <vapier@gentoo.org>
39812
39813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39814 cpu2 is -1 and errno is not ENOSYS.
39815
f3d1f93c
L
398162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39817
39818 [BZ #14117]
0e4a3cd7
L
39819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39820 * sysdeps/x86/bits/string.h: This.
39821 * sysdeps/x86_64/bits/string.h: Removed.
39822
6704c645
L
39823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39824 if not compiling for x86-64, but compiling for >= i486.
39825
48495318
L
39826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39828
14adcbfc
L
39829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39830 New macro from Linux kernel 3.4.0.
39831 (FP_XSTATE_MAGIC2): Likewise.
39832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39834 (struct _fpx_sw_bytes): New struct.
39835 (struct _xsave_hdr): Likewise.
39836 (struct _ymmh_state): Likewise.
39837 (struct _xstate): Likewise.
39838
68e408ab
L
39839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39845
f3d1f93c
L
39846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39852
d9dc34cd
TMQMF
398532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39854
39855 [BZ #13743]
39856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39858 (sysdep_headers): Include sys/platform/ppc.h.
39859 * sysdeps/powerpc/test-gettimebase.c: Test for
39860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39861 * manual/Makefile (appendices): Include platform.texi.
39862 * manual/contrib.texi (Contributors): Update @node pointers.
39863 * manual/maint.texi (Maintenance): Likewise.
39864 (Platform): New node.
39865 * manual/platform.texi: New file. Document the new features.
39866
4af3879c
SP
398672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39868 Jakub Jelinek <jakub@redhat.com>
39869
39870 [BZ #14188]
39871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39872 where __builtin_expect is unavailable.
39873
2fd6ff13
DM
398742012-06-03 David S. Miller <davem@davemloft.net>
39875
39876 * stdlib/longlong.h: Updated from GCC.
39877
173f7220
AS
398782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39879
39880 [BZ #14042]
39881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39883 __mcount_internal.
39884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39885 (GLIBC_2.16): Likewise.
39886
f34a1c6f
L
398872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39888
39889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39890
88a4576f
JM
398912012-06-01 Joseph Myers <joseph@codesourcery.com>
39892
ea32bcdd
JM
39893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39894 (default-abi): New variable.
39895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39897 variable.
39898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39899 Likewise.
39900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39901 Likewise.
39902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39903 Likewise.
39904
88a4576f
JM
39905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39906 definition. Document in comment.
39907
402fe938
DM
399082012-06-01 David S. Miller <davem@davemloft.net>
39909
39910 * stdlib/longlong.h: Updated from GCC.
39911
3553723f
L
399122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39913
39914 [BZ #14117]
3bd872c4
L
39915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39917 sys/debugreg.h sys/io.h here.
39918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39920 sys/io.h.
39921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39927
3553723f
L
39928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39929 Define only if __x86_64__ is defined.
39930
4842e4fe
JM
399312012-06-01 Joseph Myers <joseph@codesourcery.com>
39932
c5bfe3d5
JM
39933 [BZ #14048]
39934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39935 Use int64_t for variable i.
39936 * math/libm-test.inc (fmod_test): Add more tests.
39937
4842e4fe
JM
39938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39939 z computation is not scheduled after fetestexcept.
39940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39941 Use math_force_eval instead of asm to ensure calculation scheduled
39942 before exception test.
39943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39945
efb73488
AJ
399462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39947
39948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39949 computation is not scheduled after fetestexcept.
39950
29bcce7c
L
399512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39952
39953 [BZ #14117]
39954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39956
73a68f94
AZ
399572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39958
39959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39961
67b6df78
L
399622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39963
edf2933a 39964 [BZ #14117]
ebc64a18
L
39965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39966 <bits/wordsize.h>.
39967 (__WCHAR_MIN): Support __WORDSIZE == 64.
39968 (__WCHAR_MAX): Likewise.
39969
edf2933a
L
39970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39972
57c6cf40
L
39973 [BZ #14183]
39974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39976
67b6df78 39977 [BZ #14117]
8eb6281e
L
39978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39980
aac639f4
L
39981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39983
67b6df78
L
39984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39985 Defined to 1 if __x86_64__ isn't defined.
39986 (_STAT_VER_LINUX_OLD): New.
39987 (st_atime): Remove duplicate.
39988 (st_mtime): Likewise.
39989 (st_ctime): Likewise.
39990
1c2cfe81
DM
399912012-05-31 David S. Miller <davem@davemloft.net>
39992
39993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39994 entries.
39995
5be8418c
AS
399962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39997
e7725326
AS
39998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39999 gen-libm-test.pl.
40000
5be8418c
AS
40001 [BZ #14132]
40002 * elf/dl-reloc.c: Include <_itoa.h>.
40003 (_dl_reloc_bad_type): Remove use of INTUSE.
40004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40006 * stdio-common/psiginfo.c (psiginfo): Likewise.
40007 * stdio-common/psignal.c (psignal): Likewise.
40008 * string/strsignal.c (strsignal): Likewise.
40009 * include/signal.h (_sys_siglist): Declare hidden proto.
40010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40011 INTVARDEF with libc_hidden_data_def.
40012 * stdio-common/itoa-udigits.c: Likewise.
40013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40014 (_itoa_lower_digits_internal): Remove declaration.
40015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40017 (_sys_sigabbrev_internal): Remove aliases.
40018 (_sys_siglist): Define hidden alias.
40019
507352f1
MT
400202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40021
40022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40023 bits/sysctl.h.
40024
42bbb1c3
L
400252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40026
40027 [BZ #14117]
6bd784b6
L
40028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40030
8bca20f0
L
40031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40037
f9e890a9
L
40038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40041
471101a1
L
40042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40043 with __addr.
40044 (insw): Likewise.
40045 (insl): Likewise.
40046 (outsb): Likewise.
40047 (outsw): Likewise.
40048 (outsl): Likewise.
40049
6451c862
L
40050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40053
a254b8c9
L
40054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40060
b8dfdd92
L
40061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40063
578cd270
L
40064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40066
de662f5f
L
40067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40070
25653439
L
40071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40073 to ...
40074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40075
6bad24a0
L
40076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40079
42bbb1c3
L
40080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40081 for x86-64.
40082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40083
2d10d547
JM
400842012-05-31 Joseph Myers <joseph@codesourcery.com>
40085
40086 * math/math.h (M_El): Use two more decimal places.
40087 (M_LOG2El): Likewise.
40088 (M_LOG10El): Likewise.
40089 (M_LN2l): Likewise.
40090 (M_LN10l): Likewise.
40091 (M_PIl): Likewise.
40092 (M_PI_2l): Likewise.
40093 (M_PI_4l): Likewise.
40094 (M_1_PIl): Likewise.
40095 (M_2_PIl): Likewise.
40096 (M_2_SQRTPIl): Likewise.
40097 (M_SQRT2l): Likewise.
40098 (M_SQRT1_2l): Likewise.
40099
f230c29b
DM
401002012-05-31 David S. Miller <davem@davemloft.net>
40101
40102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40103 values between float registers.
40104 * sysdeps/sparc/sparc64/memset.S: Likewise.
40105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40106
fed806c3
MF
401072012-05-31 Mike Frysinger <vapier@gentoo.org>
40108
40109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40110 -D_FORTIFY_SOURCE=1.
40111 (CPPFLAGS-tst-longjmp_chk.c): Define.
40112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40115 CFLAGS-tst-wchar-h.c.
40116
30917259
MP
401172012-05-31 Marek Polacek <polacek@redhat.com>
40118
40119 [BZ #14132]
40120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40121 __endmntent_internal): Remove declaration.
40122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40125
1c58d5dc
DM
401262012-05-30 David S. Miller <davem@davemloft.net>
40127
40128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40129 (___Q_simulate_exceptions): Use real FP ops rather than writing
40130 into the %fsr.
40131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40132 Likewise.
40133
7dc00e0d
L
401342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40135
40136 [BZ #14117]
0bd53985
L
40137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40138 * sysdeps/x86/bits/xtitypes.h: This.
40139
3a257e66
L
40140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40141 * sysdeps/x86/bits/wordsize.h: This.
40142
62f62904
L
40143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40144 * sysdeps/x86/bits/huge_vall.h: This.
40145
404fe9d9
L
40146 * sysdeps/i386/bits/select.h: Removed.
40147 * sysdeps/x86_64/bits/select.h: Renamed to ...
40148 * sysdeps/x86/bits/select.h: This.
40149
d48d0446
L
40150 * sysdeps/i386/bits/setjmp.h: Removed.
40151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40152 * sysdeps/x86/bits/setjmp.h: This.
40153
7dc00e0d
L
40154 * sysdeps/i386/bits/mathdef.h: Removed.
40155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40156 * sysdeps/x86/bits/mathdef.h: This.
40157
03277f8f
AS
401582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40159
40160 [BZ #14132]
40161 * include/sys/socket.h (__connect_internal)
40162 (__libc_sa_len_internal): Remove declaration.
40163 (__connect, __libc_sa_len): Declare hidden_proto.
40164 (SA_LEN): Remove use of INTUSE.
40165 * socket/connect.c: Add libc_hidden_def.
40166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40169 alias.
40170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40173 of adding _internal alias.
40174
13764867
L
401752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40176
40177 [BZ #14117]
6bd97696
L
40178 * sysdeps/i386/bits/link.h: Removed.
40179 * sysdeps/i386/bits/linkmap.h: Likewise.
40180 * sysdeps/x86_64/bits/link.h: Renamed to ...
40181 * sysdeps/x86/bits/link.h: This.
40182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40183 * sysdeps/x86/bits/linkmap.h: This.
40184
f726f0bb
L
40185 * sysdeps/i386/bits/endian.h: Removed.
40186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40187 * sysdeps/x86/bits/endian.h: This.
40188
13764867
L
40189 * sysdeps/i386/bits/byteswap.h: Removed.
40190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40192 * sysdeps/x86/bits/byteswap.h: This.
40193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40194 * sysdeps/x86/bits/byteswap-16.h: This.
40195 * sysdeps/i386/Implies: Add x86.
40196 * sysdeps/x86_64/Implies: Likewise.
40197
ae251b0b
DM
401982012-05-30 David S. Miller <davem@davemloft.net>
40199
40200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40203 (FP_TRAPPING_EXCEPTIONS): Define.
40204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40205 (FP_TRAPPING_EXCEPTIONS): Define.
40206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40207 subnormals only when inexact has been signalled or underflow
40208 exceptions are enabled.
40209 (_FP_PACK_CANONICAL): Likewise.
40210
d5c90867
L
402112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40212
40213 [BZ #14183]
40214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40216
63f1549e
RH
402172012-05-30 Richard Henderson <rth@twiddle.net>
40218
8d8f2279
RH
40219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40220 with #ifndef NOT_IN_libc.
40221
63f1549e
RH
40222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40223 marked to avoid plt entry.
40224
0ab0291b
L
402252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40226
40227 [BZ #14112]
40228 * Makeconfig (default-abi): New macro.
40229 (abi-includes): Likewise.
40230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40231 $(abi-$(default-abi)-lib-soname) for soname if defined.
40232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40233 abi-variants.
40234 * Makefile (installed-stubs): Likewise.
40235 * include/stubs-biarch.h: Removed.
40236 * scripts/lib-names.awk: Only handle one library at a time.
40237 * scripts/soversions.awk: Remove WORDSIZE support.
40238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40239 entries.
40240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40241 Removed.
40242 (syscall-list-default-condition): Likewise.
40243 (syscall-list-default-condition): Likewise.
40244 (syscall-list-includes): Likewise.
40245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40246 syscall-list-* with abi-*. Handle undefined abi-variants.
40247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40253 Removed.
40254 (syscall-list-32-options): Likewise.
40255 (syscall-list-32-condition): Likewise.
40256 (syscall-list-64-options): Likewise.
40257 (syscall-list-64-condition): Likewise.
40258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40259 macro.
40260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40261 Renamed to ...
40262 (abi-*): This.
40263 (abi-64-ld-soname): New macro.
40264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40266 Renamed to ...
40267 (abi-*): This.
40268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40270
4da0431d
JM
402712012-05-30 Joseph Myers <joseph@codesourcery.com>
40272
3a85279c
JM
40273 * sysdeps/unix/sysv/linux/kernel-features.h
40274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40276 include <kernel-features.h>.
40277 [!__NR_ftruncate64]: Remove conditional code.
40278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40279 [__NR_ftruncate64]: Make code unconditional.
40280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40282 include <kernel-features.h>.
40283 [!__NR_ftruncate64]: Remove conditional code.
40284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40285 [__NR_ftruncate64]: Make code unconditional.
40286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40288 include <kernel-features.h>.
40289 [!__NR_ftruncate64]: Remove conditional code.
40290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40291 [__NR_ftruncate64]: Make code unconditional.
40292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40294 include <kernel-features.h>.
40295 [!__NR_ftruncate64]: Remove conditional code.
40296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40297 [__NR_ftruncate64]: Make code unconditional.
40298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40299
4da0431d
JM
40300 * configure.in (libc_cv_fpie): Weaken to a compile test using
40301 LIBC_TRY_CC_OPTION.
40302 * configure: Regenerated.
40303
11ef492c
AK
403042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40305
40306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40310 Refreshed.
40311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40317 Refreshed.
40318
d66ef399
DM
403192012-05-27 David S. Miller <davem@davemloft.net>
40320
40321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40322 (___Q_zero): New.
40323 (__Q_simulate_exceptions): Return void. Change to simulate
40324 exceptions by writing into the %fsr.
40325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40326 (__Qp_handle_exceptions): Likewise.
40327 (numbers): Delete.
40328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40329 __Qp_handle_exceptions.
40330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40331 __Qp_handle_exceptions.
40332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40333 as unused and give dummy FP_RND_NEAREST initializer.
40334 (FP_INHIBIT_RESULTS): Define.
40335 (___Q_simulate_exceptions): Update declaration.
40336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40337 formatting.
40338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40339 as unused and give dummy FP_RND_NEAREST initializer.
40340 (__Qp_handle_exceptions): Update declaration.
40341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40342 formatting.
40343
04fb54b5
TS
403442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40345
40346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40347 the temporary FPU control word.
40348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40359
3f99608f
KK
403602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40361
40362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40363 fields.
40364
65a4de4e
CLT
403652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40366
40367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40371 Likewise.
40372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40374 Likewise.
40375
15749d40
UD
403762012-05-27 Ulrich Drepper <drepper@gmail.com>
40377
40378 * po/h.po: Update from translation team.
40379
25dbcb27
AS
403802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40381
3d3f8e55
AS
40382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40383
25dbcb27
AS
40384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40385 handling of denormals.
40386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40393 Likewise.
40394
7ad47a80 403952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40396
40397 [BZ #14152]
40398 * math/libm-test.inc (fma_test): Don't always expect underflow
40399 exception.
40400
9c6ea9fa
SP
404012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40402
40403 [BZ #12416]
40404 * elf/tst-execstack.c: Include stackinfo.h.
40405 (do_test): Adjust test case to ensure that pthread_getattr_np
40406 behaviour remains the same after marking stack executable.
40407
a8239222
JM
404082012-05-25 Joseph Myers <joseph@codesourcery.com>
40409
40410 * sysdeps/unix/sysv/linux/kernel-features.h
40411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40413 kernel-features.h.
40414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40417 kernel-features.h.
40418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40420
918b5606
L
404212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40422
40423 * configure.in: Define the default includes to being none.
40424 * configure: Regenerated.
40425
3a097cc7
RM
404262012-05-25 Roland McGrath <roland@hack.frob.com>
40427
8422c9a5
RM
40428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40429 * sysdeps/x86_64/setjmp.S: Likewise.
40430 * sysdeps/i386/bsd-setjmp.S: Likewise.
40431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40432 * sysdeps/i386/setjmp.S: Likewise.
40433 * sysdeps/i386/__longjmp.S: Likewise.
40434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40436
3a097cc7
RM
40437 * include/stap-probe.h: New file.
40438 * configure.in: Handle --enable-systemtap.
40439 * configure: Regenerated.
40440 * config.h.in (USE_STAP_PROBE): New #undef.
40441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40444
21708942
JM
404452012-05-25 Joseph Myers <joseph@codesourcery.com>
40446
40447 [BZ #13717]
40448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40449 to 2.4.0 where earlier.
40450 * sysdeps/unix/sysv/linux/configure: Regenerated.
40451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40452 <kernel-features.h>.
40453 [__ASSUME_32BITUIDS]: Make code unconditional.
40454 [!__ASSUME_32BITUIDS]: Remove conditional code.
40455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40456 <kernel-features.h>.
40457 [__ASSUME_32BITUIDS]: Make code unconditional.
40458 [!__ASSUME_32BITUIDS]: Remove conditional code.
40459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40460 [__ASSUME_32BITUIDS]: Make code unconditional.
40461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40462 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40463 <kernel-features.h>.
40464 [__ASSUME_32BITUIDS]: Make code unconditional.
40465 [!__ASSUME_32BITUIDS]: Remove conditional code.
40466 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40467 <kernel-features.h>.
40468 [__ASSUME_32BITUIDS]: Make code unconditional.
40469 [!__ASSUME_32BITUIDS]: Remove conditional code.
40470 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40471 <kernel-features.h>.
40472 [__ASSUME_32BITUIDS]: Make code unconditional.
40473 [!__ASSUME_32BITUIDS]: Remove conditional code.
40474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40475 <kernel-features.h>.
40476 [__ASSUME_32BITUIDS]: Make code unconditional.
40477 [!__ASSUME_32BITUIDS]: Remove conditional code.
40478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40479 <kernel-features.h>.
40480 [__ASSUME_32BITUIDS]: Make code unconditional.
40481 [!__ASSUME_32BITUIDS]: Remove conditional code.
40482 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40483 <kernel-features.h>.
40484 [__ASSUME_32BITUIDS]: Make code unconditional.
40485 [!__ASSUME_32BITUIDS]: Remove conditional code.
40486 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40487 <kernel-features.h>.
40488 [__ASSUME_32BITUIDS]: Make code unconditional.
40489 [!__ASSUME_32BITUIDS]: Remove conditional code.
40490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40491 <kernel-features.h>.
40492 [__ASSUME_32BITUIDS]: Make code unconditional.
40493 [!__ASSUME_32BITUIDS]: Remove conditional code.
40494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40495 <kernel-features.h>.
40496 [__ASSUME_32BITUIDS]: Make code unconditional.
40497 [!__ASSUME_32BITUIDS]: Remove conditional code.
40498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40499 <kernel-features.h>.
40500 [__ASSUME_32BITUIDS]: Make code unconditional.
40501 [!__ASSUME_32BITUIDS]: Remove conditional code.
40502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40503 <kernel-features.h>.
40504 [__NR_setresgid] (__setresgid): Do not declare.
40505 [__ASSUME_32BITUIDS]: Make code unconditional.
40506 [!__ASSUME_32BITUIDS]: Remove conditional code.
40507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40508 <kernel-features.h>.
40509 [__NR_setresuid] (__setresuid): Do not declare.
40510 [__ASSUME_32BITUIDS]: Make code unconditional.
40511 [!__ASSUME_32BITUIDS]: Remove conditional code.
40512 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40513 <kernel-features.h>.
40514 [__ASSUME_32BITUIDS]: Make code unconditional.
40515 [!__ASSUME_32BITUIDS]: Remove conditional code.
40516 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40517 <kernel-features.h>.
40518 [__ASSUME_32BITUIDS]: Make code unconditional.
40519 [!__ASSUME_32BITUIDS]: Remove conditional code.
40520 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40521 <kernel-features.h>.
40522 [__ASSUME_32BITUIDS]: Make code unconditional.
40523 [!__ASSUME_32BITUIDS]: Remove conditional code.
40524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40525 <kernel-features.h>.
40526 [__ASSUME_32BITUIDS]: Make code unconditional.
40527 [!__ASSUME_32BITUIDS]: Remove conditional code.
40528 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40529 <kernel-features.h>.
40530 [__ASSUME_32BITUIDS]: Make code unconditional.
40531 [!__ASSUME_32BITUIDS]: Remove conditional code.
40532 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40533 <kernel-features.h>.
40534 [__ASSUME_32BITUIDS]: Make code unconditional.
40535 [!__ASSUME_32BITUIDS]: Remove conditional code.
40536 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40537 <kernel-features.h>.
40538 [__ASSUME_32BITUIDS]: Make code unconditional.
40539 [!__ASSUME_32BITUIDS]: Remove conditional code.
40540 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40541 <kernel-features.h>.
40542 [__ASSUME_32BITUIDS]: Make code unconditional.
40543 [!__ASSUME_32BITUIDS]: Remove conditional code.
40544 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40545 <kernel-features.h>.
40546 [__ASSUME_32BITUIDS]: Make code unconditional.
40547 [!__ASSUME_32BITUIDS]: Remove conditional code.
40548 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
40553 (__ASSUME_SETRESUID_SYSCALL): Remove.
40554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40555 (__ASSUME_32BITUIDS): Likewise.
40556 (__ASSUME_LDT_WORKS): Likewise.
40557 (__ASSUME_O_DIRECTORY): Likewise.
40558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40559 architecture but not kernel version.
40560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40561 (__ASSUME_MMAP2_SYSCALL): Likewise.
40562 (__ASSUME_STAT64_SYSCALL): Likewise.
40563 (__ASSUME_IPC64): Likewise.
40564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40565 <kernel-features.h>.
40566 [__ASSUME_32BITUIDS]: Make code unconditional.
40567 [!__ASSUME_32BITUIDS]: Remove conditional code.
40568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40569 <kernel-features.h>.
40570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40572 132096]: Remove conditional code.
40573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40575 <kernel-features.h>.
40576 [__ASSUME_32BITUIDS]: Make code unconditional.
40577 [!__ASSUME_32BITUIDS]: Remove conditional code.
40578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40579 <kernel-features.h>.
40580 [__ASSUME_32BITUIDS]: Make code unconditional.
40581 [!__ASSUME_32BITUIDS]: Remove conditional code.
40582 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40583 <kernel-features.h>.
40584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40585 unconditional.
40586 (__setresgid): Do not declare.
40587 [__ASSUME_32BITUIDS]: Make code unconditional.
40588 [!__ASSUME_32BITUIDS]: Remove conditional code.
40589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40590 <kernel-features.h>.
40591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40592 unconditional.
40593 (__setresuid): Do not declare.
40594 [__ASSUME_32BITUIDS]: Make code unconditional.
40595 [!__ASSUME_32BITUIDS]: Remove conditional code.
40596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40597 <kernel-features.h>.
40598 [__ASSUME_32BITUIDS]: Make code unconditional.
40599 [!__ASSUME_32BITUIDS]: Remove conditional code.
40600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40601 <kernel-features.h>.
40602 [__ASSUME_32BITUIDS]: Make code unconditional.
40603 [!__ASSUME_32BITUIDS]: Remove conditional code.
40604
a386f1cc
RH
406052012-05-25 Richard Henderson <rth@twiddle.net>
40606
40607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40608 dl_hwcap to ifunc resolver.
40609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40610 elf_ifunc_invoke.
40611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40612 dl_hwcap to ifunc resolver.
40613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40614
b6550497
JM
406152012-05-24 Joseph Myers <joseph@codesourcery.com>
40616
40617 [BZ #14153]
40618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40619 for |x| <= 2**-26, not 2**-57.
40620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40621 exception.
40622
b0bc23a1
JL
406232012-05-24 Jeff Law <law@redhat.com>
40624
40625 * stdio-common/Makefile (tests): Add bug25.
40626 * stdio-common/bug25.c: New test.
40627
347c92e9
L
406282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40629
40630 [BZ #13576]
40631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40632 multiple of MALLOC_ALIGNMENT in size.
40633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40634
6bcc8b3f
JM
406352012-05-24 Joseph Myers <joseph@codesourcery.com>
40636
40637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40638 Require >= 256.
40639 (FILENAME_MAX): Use macro-int-constant.
40640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40641 (_IOFBF): Use macro-int-constant.
40642 (_IOLBF): Likewise.
40643 (_IONBF): Likewise.
40644 (SEEK_CUR): Likewise.
40645 (SEEK_END): Likewise.
40646 (SEEK_SET): Likewise.
40647 (TMP_MAX): Likewise.
40648 (EOF): Use macro-int-constant. Require < 0.
40649 (NULL): Use macro-constant. Require == 0.
40650 (stdin): Require type to be FILE *.
40651 (stdout): Likewise.
40652 (stderr): Likewise.
40653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40654 macro-int-constant.
40655 (EXIT_SUCCESS): Likewise.
40656 (NULL): Use macro-constant. Require == 0.
40657 (RAND_MAX): Use macro-int-constant.
40658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40659 [C99-based standards] (strtof): Require function.
40660 [C99-based standards] (strtold): Likewise.
40661 [C99-based standards] (strtoll): Likewise.
40662 [C99-based standards] (strtoull): Likewise.
40663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40665 [ISO || ISO99 || ISO11] (math.h): Likewise.
40666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40669
d18ea0c5
AS
406702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40671
40672 [BZ #14132]
56d25bb8
AS
40673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40675 * intl/dgettext.c (DCGETTEXT): Likewise.
40676 * intl/gettext.c (DCGETTEXT): Likewise.
40677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40678 * posix/regex_internal.h (gettext): Likewise.
40679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40680 Remove declaration.
40681 * include/argz.h (__argz_count_internal)
40682 (__argz_stringify_internal): Remove declaration.
40683 (__argz_count, __argz_stringify): Declare hidden proto.
40684 * intl/dcgettext.c: Remove use of INTDEF.
40685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40686 * string/argz-stringify.c: Likewise.
40687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40689 Declare hidden proto.
d18ea0c5
AS
40690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40692 Declare hidden proto.
40693 * include/stdio.h (__asprintf_internal): Don't declare.
40694 (__asprintf): Don't define as macro. Declare hidden proto.
40695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40696 (__fsetlocking): Declare hidden proto.
40697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40699 hidden proto.
40700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40701 (_IO_setlinebuf): Remove use of INTUSE.
40702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40705 Remove declaration.
40706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40707 (_IO_do_flush): Remove use of INTUSE.
40708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40710 (_IO_adjust_column, _IO_least_wmarker)
40711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40714 (_IO_default_doallocate, _IO_wdefault_doallocate)
40715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40728 proto.
40729 (_IO_flush_all_internal, _IO_adjust_column_internal)
40730 (_IO_default_uflow_internal, _IO_default_finish_internal)
40731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40739 (_IO_file_close_internal, _IO_file_close_it_internal)
40740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40741 (_IO_file_init_internal, _IO_file_attach_internal)
40742 (_IO_file_fopen_internal, _IO_file_read_internal)
40743 (_IO_file_sync_internal, _IO_file_seek_internal)
40744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40749 (_IO_list_all_internal, _IO_link_in_internal)
40750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40754 (_IO_do_write_internal, _IO_padn_internal)
40755 (_IO_getline_info_internal, _IO_getline_internal)
40756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40763 with libc_hidden_ver, remove use of INTUSE.
40764 * libio/genops.c: Likewise.
40765 * libio/freopen.c: Likewise.
40766 * libio/freopen64.c: Likewise.
40767 * libio/iofclose.c: Likewise.
40768 * libio/iofdopen.c: Likewise.
40769 * libio/iofflush.c: Likewise.
40770 * libio/iofflush_u.c: Likewise.
40771 * libio/iofgets.c: Likewise.
40772 * libio/iofgets_u.c: Likewise.
40773 * libio/iofopen.c: Likewise.
40774 * libio/iofopncook.c: Likewise.
40775 * libio/iofread.c: Likewise.
40776 * libio/iofread_u.c: Likewise.
40777 * libio/ioftell.c: Likewise.
40778 * libio/iofwrite.c: Likewise.
40779 * libio/iogetline.c: Likewise.
40780 * libio/iogets.c: Likewise.
40781 * libio/iogetwline.c: Likewise.
40782 * libio/iopadn.c: Likewise.
40783 * libio/iopopen.c: Likewise.
40784 * libio/ioseekoff.c: Likewise.
40785 * libio/ioseekpos.c: Likewise.
40786 * libio/iosetbuffer.c: Likewise.
40787 * libio/iosetvbuf.c: Likewise.
40788 * libio/ioungetc.c: Likewise.
40789 * libio/ioungetwc.c: Likewise.
40790 * libio/iovdprintf.c: Likewise.
40791 * libio/iovsprintf.c: Likewise.
40792 * libio/iovsscanf.c: Likewise.
40793 * libio/memstream.c: Likewise.
40794 * libio/obprintf.c: Likewise.
40795 * libio/oldfileops.c: Likewise.
40796 * libio/oldiofclose.c: Likewise.
40797 * libio/oldiofdopen.c: Likewise.
40798 * libio/oldiofopen.c: Likewise.
40799 * libio/oldiopopen.c: Likewise.
40800 * libio/oldstdfiles.c: Likewise.
40801 * libio/putc.c: Likewise.
40802 * libio/setbuf.c: Likewise.
40803 * libio/setlinebuf.c: Likewise.
40804 * libio/stdfiles.c: Likewise.
40805 * libio/strops.c: Likewise.
40806 * libio/vasprintf.c: Likewise.
40807 * libio/vscanf.c: Likewise.
40808 * libio/vsnprintf.c: Likewise.
40809 * libio/vswprintf.c: Likewise.
40810 * libio/wfiledoalloc.c: Likewise.
40811 * libio/wfileops.c: Likewise.
40812 * libio/wgenops.c: Likewise.
40813 * libio/wmemstream.c: Likewise.
40814 * libio/wstrops.c: Likewise.
40815 * libio/__fpurge.c: Likewise.
40816 * libio/__fsetlocking.c: Likewise.
40817 * assert/assert.c: Likewise.
40818 * debug/fgets_chk.c: Likewise.
40819 * debug/fgets_u_chk.c: Likewise.
40820 * debug/fread_chk.c: Likewise.
40821 * debug/fread_u_chk.c: Likewise.
40822 * debug/gets_chk.c: Likewise.
40823 * debug/obprintf_chk.c: Likewise.
40824 * debug/vasprintf_chk.c: Likewise.
40825 * debug/vdprintf_chk.c: Likewise.
40826 * debug/vsnprintf_chk.c: Likewise.
40827 * debug/vsprintf_chk.c: Likewise.
40828 * malloc/mtrace.c: Likewise.
40829 * misc/error.c: Likewise.
40830 * misc/syslog.c: Likewise.
40831 * stdio-common/asprintf.c: Likewise.
40832 * stdio-common/fxprintf.c: Likewise.
40833 * stdio-common/getw.c: Likewise.
40834 * stdio-common/isoc99_fscanf.c: Likewise.
40835 * stdio-common/isoc99_scanf.c: Likewise.
40836 * stdio-common/isoc99_vfscanf.c: Likewise.
40837 * stdio-common/isoc99_vscanf.c: Likewise.
40838 * stdio-common/isoc99_vsscanf.c: Likewise.
40839 * stdio-common/printf-prs.c: Likewise.
40840 * stdio-common/printf_fp.c: Likewise.
40841 * stdio-common/printf_fphex.c: Likewise.
40842 * stdio-common/printf_size.c: Likewise.
40843 * stdio-common/putw.c: Likewise.
40844 * stdio-common/scanf.c: Likewise.
40845 * stdio-common/sprintf.c: Likewise.
40846 * stdio-common/tmpfile.c: Likewise.
40847 * stdio-common/vfprintf.c: Likewise.
40848 * stdio-common/vfscanf.c: Likewise.
40849 * stdlib/strfmon_l.c: Likewise.
40850 * sunrpc/openchild.c: Likewise.
40851 * sunrpc/xdr_stdio.c: Likewise.
40852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40854
d6c33fda
RM
408552012-05-24 Roland McGrath <roland@hack.frob.com>
40856
c1487492
RM
40857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40858
40859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40860 in the third column, to generate for the shared library an IFUNC
40861 that uses _dl_vdso_vsym.
40862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40863 * Makeconfig (object-suffixes-noshared): New variable.
40864
40865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40869
d6c33fda
RM
40870 [BZ #14132]
40871 * include/sys/time.h (__gettimeofday): Remove macro.
40872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40874 Remove INTDEF.
40875 (__gettimeofday): Add libc_hidden_def.
40876 (gettimeofday): Add libc_hidden_weak.
40877 * sysdeps/mach/gettimeofday.c: Likewise.
40878 * sysdeps/posix/gettimeofday.c: Likewise.
40879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40882 (__gettimeofday_internal): Remove strong_alias.
40883 (__gettimeofday): Add libc_hidden_def.
40884 (gettimeofday): Add libc_hidden_weak.
40885 * sysdeps/unix/syscalls.list (gettimeofday):
40886 Remove __gettimeofday_internal alias.
40887
b5a2bbe6
L
408882012-05-24 Daniel Jacobowitz <drow@false.org>
40889 H.J. Lu <hongjiu.lu@intel.com>
40890
40891 [BZ #12495]
40892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40894 (largebin_index_32_big): New.
40895 (largebin_index): Use it for 16-byte alignment.
40896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40897 correction with front_misalign.
40898
cfba4fda
L
408992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40900
7f907421
L
40901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40903 Likewise.
40904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40905 Likewise.
40906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40907 Likewise.
40908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40909 Likewise.
40910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40911 Likewise.
40912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40913 Likewise.
40914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40915 Likewise.
40916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40917 Likewise.
40918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40919 Likewise.
40920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40921 Likewise.
40922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40923 Likewise.
40924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40925 Likewise.
40926
cfba4fda
L
40927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40929
80bad0cc
JM
409302012-05-24 Joseph Myers <joseph@codesourcery.com>
40931
7a25eb06
JM
40932 [BZ #10846]
40933 [BZ #14036]
40934 * math/libm-test.inc (exp_test): Add test from bug 14036.
40935 (pow_test): Add test from bug 10846.
40936
795405f9
JM
40937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40938 and other flags.
40939 (special_function): Do not include flags in test name.
40940 (parse_args): Likewise.
40941 * sysdeps/i386/fpu/libm-test-ulps: Update.
40942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40946
80bad0cc
JM
40947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40948 exceptions.
40949 * math/libm-test.inc ("Philosophy"): Update comment about
40950 exception testing.
40951 (UNDERFLOW_EXCEPTION): New macro.
40952 (UNDERFLOW_EXCEPTION_OK): Likewise.
40953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40957 (INVALID_EXCEPTION_OK): Update value.
40958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40959 (OVERFLOW_EXCEPTION_OK): Likewise.
40960 (IGNORE_ZERO_INF_SIGN): Likewise.
40961 (test_exceptions): Handle underflow exceptions.
40962 (acos_test): Update for underflow exception expectations.
40963 (cexp_test): Likewise.
40964 (clog_test): Likewise.
40965 (clog10_test): Likewise.
40966 (csqrt_test): Likewise.
40967 (ctan_test): Likewise.
40968 (ctanh_test): Likewise.
40969 (exp_test): Likewise.
40970 (exp10_test): Likewise.
40971 (exp2_test): Likewise.
40972 (expm1_test): Likewise.
40973 (fma_test): Likewise.
40974 (j0_test): Likewise.
40975 (jn_test): Likewise.
40976 (nexttoward_test): Likewise.
40977 (pow_test): Likewise.
40978 (scalbn_test): Likewise.
40979 (scalbln_test): Likewise.
40980 (tan_test): Likewise.
40981 (y1_test): Likewise.
40982 * sysdeps/i386/fpu/libm-test-ulps: Update.
40983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40984
9e0e3d0b
DM
409852012-05-23 David S. Miller <davem@davemloft.net>
40986
40987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40988 (__libc_sigaction): Remove unused local variables.
40989
ccd0a08f
L
409902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40991
40992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40993
62bdf9a6
PE
409942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40995
f8591f80
PE
40996 mktime: avoid signed integer overflow
40997 * time/mktime.c (__mktime_internal): Do not mishandle the case
40998 where diff == INT_MIN.
40999
94c7d826
PE
41000 mktime: simplify computation of average
41001 * time/mktime.c (ranged_convert): Use new time_t_avg function
41002 instead of rolling our own (probably-slower) code.
41003
ce73d683
PE
41004 mktime: do not assume signed right shift propagates sign bit
41005 * time/mktime.c (isdst_differ): New static function.
41006 (__mktime_internal): No need to normalize tm_isdst now.
41007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41008 tm_isdst values.
41009
72a22e59
PE
41010 mktime: merge another wrapv change from gnulib
41011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41012 from some compilers.
41013
68605433
PE
41014 mktime: remove incorrect attempt at unusual arithmetics
41015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41016 The code didn't really work on such machines anyway.
41017 (TYPE_MINIMUM): Assume two's complement.
41018 (twos_complement_arithmetic): Verify that long_int and time_t
41019 are two's complement (or unsigned, in the latter case).
41020
03cf7fe3
PE
41021 mktime: check signed shifts on long_int and time_t, too
41022 * time/mktime.c (SHR): Check that shifts work as desired
41023 on the types long_int and time_t too, as SHR is used on
41024 such types.
41025
f04dfbc2
PE
41026 mktime: do not assume 'long' is wide enough
41027 * time/mktime.c (verify): Move decl up.
41028 (long_int): New type.
41029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41030 to remove assumption in the code that 'long' is wide enough to
41031 store year values. This assumption is not true on x32 and on
41032 some non-glibc platforms.
41033
62bdf9a6
PE
41034 mktime: merge wrapv change from gnulib
41035 * time/mktime.c (WRAPV): New macro.
41036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41037 (guess_time_tm, __mktime_internal): Do not assume that signed
41038 integer overflow wraps around; modern compilers generate code
41039 where this assumption is no longer valid.
41040
5e292e4f
L
410412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41042
41043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41044 Replace "jmp L(pseudo_end)" with "ret".
41045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41046 Likewise.
41047
8caf8c87
AJ
410482012-05-23 Andreas Jaeger <aj@suse.de>
41049
41050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41052
1a09dc56
AJ
410532012-05-23 Andreas Jaeger <aj@suse.de>
41054 Maximilian Attems <max@stro.at>
41055
41056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41057 New macros.
41058
1c87aba0
L
410592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41060
41061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41062 code so that pseudo_end is just ret and the stack pointer is
41063 correct also for static library in error case.
41064
40e45bd5
JM
410652012-05-23 Joseph Myers <joseph@codesourcery.com>
41066
c2670533
JM
41067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41068 move to syscalls.list.
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41073
40e45bd5
JM
41074 * manual/install.texi (Running make install): Do not mention Linux
41075 kernel version for which pt_chown is not needed.
41076 (Linux): Do not mention problems with nscd with 2.0 kernels.
41077 * INSTALL: Regenerated.
41078
be08eda5
AJ
410792012-05-23 Andreas Jaeger <aj@suse.de>
41080
41081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41083 macro.
41084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41094 * sysdeps/unix/sysv/linux/bits/in.h
41095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41096
a6a056bb
RM
410972012-05-22 Roland McGrath <roland@hack.frob.com>
41098
41099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41100 (PREPARE_VERSION): Just use assert instead, it will be elided
41101 under [NDEBUG] anyway.
41102
c9009328
L
411032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41104
41105 * sysdeps/unix/sysv/linux/Makefile: Include
41106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41107 (sysdep_routines): Remove sysctl.
c9009328
L
41108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41113
73338355
AJ
411142012-05-22 Andreas Jaeger <aj@suse.de>
41115
41116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41117 that pseudo_end is just ret and the stack pointer is correct also
41118 for static library in error case.
41119
d44638b0
PP
411202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41121
41122 [BZ #14122]
41123 * nss/nsswitch.c (defconfig_entries): New variable.
41124 (__nss_database_lookup): Don't leak defconfig entries.
41125 (nss_parse_service_list): Don't leak on error paths.
41126 (free_database_entries): New function.
41127 (free_defconfig): New function.
41128 (free_mem): Move common code to free_database_entries.
41129
31a39bd8
L
411302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41131
da0331a8
L
41132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41133 Add arch_prctl.
41134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41135
31a39bd8
L
41136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41139 New macro.
41140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41141 (INTERNAL_SYSCALL_TYPES): Likewise.
41142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41143 (LOAD_REGS_TYPES_[1-6]): Likewise.
41144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41146
45470df3
AZ
411472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41148
41149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41150 copysignl for GLIBC_2_0.
41151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41154 logbl for GLIBC_2_0.
41155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41157
98a61bcb
L
411582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41159
a4f6e481
L
41160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41162
f63d5db6
L
41163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41164 Use "neg %eax".
41165
98a61bcb
L
41166 * time/mktime.c: Update copyright years.
41167
95770f14
PE
411682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41169
6226efbd
PE
41170 mktime: merge comment-quoting-style change from gnulib
41171 * time/mktime.c: Quote 'like this' in comments.
41172 The GNU coding standards suggest that we no longer quote `like this',
41173 as "`" and "'" are typically rendered asymmetrically nowadays.
41174 The typical gnulib style is to quote 'like this' when quoting
41175 code, and "like this" when quoting English.
41176
b99e4f78
PE
41177 * time/mktime.c (compile-command): Add "-I.".
41178
643e01e6
PE
41179 mktime: merge mktime-internal.h change from gnulib
41180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41181
2554247d
PE
41182 mktime: merge time_r change from gnulib
41183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41184
826dd0ab
PE
41185 mktime: merge DEBUG change from gnulib
41186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41187 case system <time.h> has a #define.
41188
bd83aabe
PE
41189 mktime: merge <sys/types.h> change from gnulib
41190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41191 since <time.t> is now guaranteed to define time_t.
41192
95770f14
PE
41193 mktime: merge HAVE_CONFIG_H change from gnulib
41194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41195
5e1a27a9
L
411962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41197
0e44a77e
L
41198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41199 Use "neg %eax".
41200
5e1a27a9
L
41201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41202 __rlim_t cast.
41203 (struct rusage): Use anonymous union to pad each field to
41204 __syscall_slong_t.
41205
46259bec
DM
412062012-05-21 David S. Miller <davem@davemloft.net>
41207
41208 * Makefules (o-iterator): Remove .s cases.
41209 (compile-command.s): Delete.
41210 (COMPILE.s): Delete.
41211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41212
59f0c22e
JM
412132012-05-21 Joseph Myers <joseph@codesourcery.com>
41214
41215 * configure.in (libc_cv_predef_stack_protector): Only consider
41216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41217 * configure: Regenerated.
41218
20c07380
L
412192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41220
bbb3154b
L
41221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41222 New macro. Use R*LP on int and pointer.
41223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41227
20c07380
L
41228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41229 [__WORDSIZE_TIME64_COMPAT32] instead of
41230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41231 (struct utmp): Likewise.
41232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41234 Renamed to ...
41235 (__WORDSIZE_TIME64_COMPAT32): This.
41236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41241 (__WORDSIZE_TIME64_COMPAT32): New macro.
41242
d8d1017e
AJ
412432012-05-21 Andreas Jaeger <aj@suse.de>
41244
41245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41246 only if [SHARED]. Add prototype for __wcschr_ia32.
41247
6c7fb145
RM
412482012-05-21 Roland McGrath <roland@hack.frob.com>
41249
41250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41251 of %rbp unmolested in the jmp_buf while mangling the low bits.
41252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41253 unmolested high bits of %rbp while demangling the low bits.
41254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41255
66274218
AJ
412562012-05-21 Andreas Jaeger <aj@suse.de>
41257
07c58f8f
AJ
41258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41259 * sunrpc/svc_simple.c: Use it for registerrpc.
41260 * sunrpc/xcrypt.c: Use it for passwd2des.
41261
66274218
AJ
41262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41263
61f65140
L
412642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41265
41266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41267 Don't define if [__SYSCALL_WORDSIZE != 32].
41268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41269 New macro.
41270
5fefb436
AJ
412712012-05-21 Bruno Haible <bruno@clisp.org>
41272 Andreas Jaeger <aj@suse.de>
41273
41274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41276 inptr and inend for must_buffer_ch.
41277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41279 * stdio-common/Makefile (tests): Remove bug15.
41280 (bug15-ENV): Remove macro.
41281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41282 anymore.
41283
d8e272ab
AJ
412842012-05-19 Andreas Jaeger <aj@suse.de>
41285 Roland McGrath <roland@hack.frob.com>
41286
41287 * manual/contrib.texi: Completely rewritten. It contains now an
41288 alphabetical list of contributors and their contributions.
41289
4a56a162
RH
412902012-05-21 Richard Henderson <rth@twiddle.net>
41291
41292 * misc/getauxval.c (__getauxval): Use unsigned long int.
41293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41294 (getauxval): Use unsigned long int.
41295
d024d23c
L
412962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41297
41298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41299
cbc00a03
RM
413002012-05-21 Roland McGrath <roland@hack.frob.com>
41301
41302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41304 __alignof__ (long double).
41305
478143fa
AZ
413062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41307
41308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41309
c7683a6d
RH
413102012-05-20 Richard Henderson <rth@twiddle.net>
41311
41312 * misc/getauxval.c: New file.
41313 * misc/sys/auxv.h: New file.
41314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41315 (routines): Add getauxval.
41316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41318 * elf/dl-sysdep.c (_dl_auxv): Remove.
41319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41320 * elf/dl-support.c (_dl_auxv): New variable.
41321 (_dl_aux_init): Initialize it.
41322 * manual/startup.texi (Auxiliary Vector): New node.
41323 * sysdeps/generic/bits/hwcap.h: New file.
41324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41327 * sysdeps/sparc/sysdep.h: ... here. Include it.
41328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41331 Update.
c7683a6d
RH
41332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41340
a6f1845d
AZ
413412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41342
41343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41344
cbcbe830
DM
413452012-05-19 David S. Miller <davem@davemloft.net>
41346
41347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41348
e0b16cc2
JM
413492012-05-19 Joseph Myers <joseph@codesourcery.com>
41350
41351 [BZ #14123]
41352 * math/s_ccosh.c: Include <float.h>
41353 (__ccosh): Avoid internal overflow calculating sinh and cosh
41354 values before multiplying by sin and cos values.
41355 * math/s_ccoshf.c: Likewise.
41356 * math/s_ccoshl.c: Likewise.
41357 * math/s_csin.c: Likewise.
41358 * math/s_csinf.c: Likewise.
41359 * math/s_csinl.c: Likewise.
41360 * math/s_csinh.c: Likewise.
41361 * math/s_csinhf.c: Likewise.
41362 * math/s_csinhl.c: Likewise.
41363 * math/libm-test.inc (ccos_test): Add more tests.
41364 (ccosh_test): Likewise.
41365 (csin_test): Likewise.
41366 (csinh_test): Likewise.
41367 * sysdeps/i386/fpu/libm-test-ulps: Update.
41368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41369
6ad13e08
L
413702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41371
f66f0ce8
L
41372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41374
6ad13e08
L
41375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41376
b1d072a7
JM
413772012-05-19 Joseph Myers <joseph@codesourcery.com>
41378
41379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41410
9eae47cb
AJ
414112012-05-18 Andreas Jaeger <aj@suse.de>
41412
41413 * csu/.gitignore: Delete.
41414
bb07f69f
L
414152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41416
41417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41418 (timex): Use __syscall_slong_t.
41419
e6bdb741
AJ
414202012-05-18 Andreas Jaeger <aj@suse.de>
41421 Carlos O'Donell <carlos_odonell@mentor.com>
41422
41423 * manual/install.texi (Configuring and compiling): Update
41424 description about files modified in the source directory.
d6c33fda 41425 * INSTALL: Regenerated.
e6bdb741 41426
1b74487e
L
414272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41428
41429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41430 value. Use "or" to set return value to -1.
41431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41432 negate return value.
41433
a88b64b9
TMQMF
414342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41435
57f41c40
AS
41436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41437 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41438 failure if the compiler has Graphite support disabled.
41439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41440 Likewise.
57f41c40
AS
41441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41442 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41444 Likewise.
41445
3707636e
L
414462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41447
610b8622
L
41448 * sysdeps/x86_64/x32/_itoa.h: New file.
41449
7cd195df
L
41450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41451 getdents system call only if kernel and user dirents have the
41452 same d_ino and d_off.
41453
94b07d20
L
41454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41455 LLONG_MAX != LONG_MAX.
41456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41457 (_fitoa_word): Likewise.
41458
18298070
L
41459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41460 years.
41461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41464
553c7ea4
L
41465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41466 include <bits/wordsize.h>. Check __x86_64__ instead of
41467 __WORDSIZE.
41468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41469 if __x86_64__ is defined. Use anonymous union on fpstate.
41470
3707636e
L
41471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41472 anonymous union.
41473
b53ef01a
AS
414742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41475
37fb1dc0
AS
41476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41479 Refer to _rtld_local_ro instead of _rtld_global_ro.
41480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41481 Likewise.
41482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41483 Likewise.
41484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41485 Likewise.
41486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41489
b53ef01a
AS
41490 * sysdeps/powerpc/powerpc32/dl-machine.c
41491 (__elf_machine_runtime_setup) [PROF]: Don't reference
41492 _dl_prof_resolve.
41493
7a185db2
AJ
414942012-05-18 Andreas Jaeger <aj@suse.de>
41495
41496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41497 function only available for GCCs before 3.4 since GCC 3.4
41498 introduced a builtin.
41499 (lrint): Likewise.
41500 (llrintf): Likewise.
41501 (llrint): Likewise.
41502 (fmaxf): Likewise.
41503 (fmax): Likewise.
41504 (fminf): Likewise.
41505 (fmin): Likewise.
41506 (rint): Likewise.
41507 (rintf): Likewise.
41508 (nearbyint): Likewise.
41509 (nearbyintf): Likewise.
41510 (ceil): Likewise.
41511 (ceilf): Likewise.
41512 (floor): Likewise.
41513 (floorf): Likewise.
41514
3e5aef87
L
415152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41516
428bd707
L
41517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41518 on both fields and cast pointer to __syscall_ulong_t.
41519
3e5aef87
L
41520 * bits/types.h (__fsword_t): New type.
41521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41524 (__FSWORD_T_TYPE): Likewise.
41525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41526 (__FSWORD_T_TYPE): Likewise.
41527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41528 (__FSWORD_T_TYPE): Likewise.
41529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41530 (__FSWORD_T_TYPE): Likewise.
41531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41532 __SWORD_TYPE with __fsword_t.
41533 (statfs64): Likewise.
41534
1ba7c3dc
DM
415352012-05-17 David S. Miller <davem@davemloft.net>
41536
41537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41538
59910343
AJ
415392012-05-17 Andreas Jaeger <aj@suse.de>
41540
41541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41542 warning.
41543
2e4c1e9e
L
415442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41545
41546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41547
de7f5ce7
AJ
415482012-05-17 Andreas Jaeger <aj@suse.de>
41549
41550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41551 when it is used.
41552
286abc3d
CM
415532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41554
41555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41556
477cc68e
L
415572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41558
41559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41561
1a0994f5
CD
415622012-05-17 Andreas Jaeger <aj@suse.de>
41563 Carlos O'Donell <carlos_odonell@mentor.com>
41564
41565 [BZ #14059]
41566 * sysdeps/x86_64/multiarch/init-arch.h
41567 (bit_YMM_Usable): Rename to...
41568 (bit_AVX_Usable): ... this.
41569 (bit_FMA4_Usable): New macro.
41570 (bit_XMM_state): New macro.
41571 (bit_YMM_state): New macro.
41572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41575 (CPUID_OSXSAVE): New macro.
41576 (CPUID_AVX): New macro.
41577 (CPUID_FMA4): New macro.
41578 (index_YMM_Usable): Rename to...
41579 (index_AVX_Usable): ... this.
41580 (HAS_AVX): Use HAS_ARCH_FEATURE.
41581 (HAS_FMA4): Likewise.
41582 (HAS_YMM_USABLE): Remove.
41583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41585 are present.
41586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41591
0af797de
CM
415922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41593
41594 * math/libm-test.c: Support platforms without multiple rounding modes.
41595 * math/bug-nextafter.c: Support platforms without FP exceptions.
41596 * math/bug-nexttoward.c: Likewise.
41597 * math/test-fenv.c: Likewise.
41598 * math/test-misc.c: Likewise.
41599 * stdlib/bug-getcontext.c: Likewise.
41600
e39745ff
AJ
416012012-05-17 Andreas Jaeger <aj@suse.de>
41602
41603 * manual/examples/search.c (critter_cmp): Change signature to
41604 avoid warnings.
41605 * manual/string.texi (Collation Functions): Likewise.
41606
48970aba
L
416072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41608
41609 * bits/types.h: Fold copyright years.
41610 * bits/typesizes.h: Likewise.
41611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41615 * time/time.h: Likewise.
41616
bedee953
PP
416172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41618
41619 [BZ #208]
41620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41621 in instead of returning them. Return void.
41622 (__libc_mallinfo): Accumulate over all arenas.
41623 (__malloc_stats): Adjust for change in int_mallinfo interface.
41624
61653dfb
RM
416252012-05-16 Roland McGrath <roland@hack.frob.com>
41626
30b99d79
RM
41627 [BZ #10375]
41628 * configure.in (NM): Add AC_CHECK_TOOL for it.
41629 (libc_extra_cflags): New substituted variable.
41630 Check for -fstack-protector being used implicitly.
41631 * configure: Regenerated.
41632 * config.make.in (config-extra-cflags): New variable,
41633 gets @libc_extra_cflags@.
41634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41635
61653dfb
RM
41636 [BZ #10375]
41637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41639 * configure: Regenerated.
41640 * config.make.in (CPPUNDEFS): New substituted variable.
41641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41644
661768bb
L
416452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41646
41647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41648 (mq_attr): Use __syscall_slong_t.
41649
d4261567
L
416502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41651
41652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41653 Check __x86_64__ instead of __WORDSIZE.
41654 (_STAT_VER_LINUX): Likewise.
41655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41656 __syscall_ulong_t and __syscall_slong_t.
41657 (stat64): Likewise.
41658
cf3ff365
L
416592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41660
41661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41662
76cf3e4d
L
416632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41664
41665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41666
a637753a
L
416672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41668
41669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41670 __syscall_ulong_t.
41671
d5e05119
L
41672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41673 include <bits/wordsize.h>. Check __x86_64__ instead of
41674 __WORDSIZE.
41675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41676 defined.
41677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41678
f62ee380
L
41679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41680 include <bits/wordsize.h>. Check __x86_64__ instead of
41681 __WORDSIZE.
41682 (user_regs_struct): Use "__extension__ unsigned long long"
41683 instead of "unsigned long" if __x86_64__ is defined.
41684 (user): Likewise. Pad after pointer field if __ILP32__ is
41685 defined.
41686
4e124ced
JM
416872012-05-16 Joseph Myers <joseph@codesourcery.com>
41688
6a3951a0
JM
41689 * configure.in (makeinfo): Require version 4.5 or later. Allow
41690 versions 5 to 9.
41691 * configure: Regenerated.
41692 * manual/install.texi (texinfo): Increase version requirement to
41693 4.5 or later.
41694 * INSTALL: Regenerated.
41695
4e124ced
JM
41696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41697
953ca31a
L
416982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41701
617aca05
L
41702 * sysdeps/x86_64/x32/ffs.c: New file.
41703
5762f7ae
L
41704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41705 __syscall_ulong_t.
41706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41707 defined. Use __syscall_ulong_t.
41708 (shminfo): Use __syscall_ulong_t.
41709 (shm_info): Likewise.
41710
a26b6856
L
41711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41712 __syscall_ulong_t.
41713
cb2b9ef7
L
41714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41715 <bits/wordsize.h>.
41716 (msgqnum_t): Use __syscall_ulong_t.
41717 (msglen_t): Likewise.
41718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41719 __syscall_ulong_t.
41720
34683bb0
L
41721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41723
84a68786
L
41724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41725
48baa5f1
L
41726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41728
180be88b
L
41729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41730 __syscall_slong_t.
41731
5e90c8ad
L
41732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41733 include <bits/wordsize.h>. Check __x86_64__ instead of
41734 __WORDSIZE.
41735
23dfb58b
L
41736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41737 "unsigned long long int" if __x86_64__ is defined.
41738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41739
ce5d54b0
L
41740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41743
13dc9eac
L
41744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41745 <stdint.h>.
41746 (GET_PC): Cast to uintptr_t first.
41747 (GET_FRAME): Likewise.
41748 (GET_STACK): Likewise.
41749
a7895d15
L
41750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41779
656416c9
AS
417802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41781
5bd66283
AS
41782 * Makerules (+depfiles): Also collect depfiles from .oS in
41783 $(extra-objs).
41784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41785 .oS, $(libnldbl-routines)).
41786
656416c9
AS
41787 * Makerules (native-compile-mkdep-flags): Define.
41788 * sunrpc/Makefile (extra-objs): Add $(addprefix
41789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41792 calling $(make-target-directory).
41793
a46f2169
L
417942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41795
41796 * bits/types.h (__snseconds_t): Removed.
41797 * time/time.h (struct timespec): Replace __snseconds_t with
41798 __syscall_slong_t.
41799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41801 Likewise.
41802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41803 (__SNSECONDS_T_TYPE): Likewise.
41804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41805 (__SNSECONDS_T_TYPE): Likewise.
41806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41807 (__SNSECONDS_T_TYPE): Likewise.
41808
6af6528b
L
418092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41810
41811 * sysdeps/mach/hurd/bits/typesizes.h
41812 (__SYSCALL_SLONG_TYPE): New macro.
41813 (__SYSCALL_ULONG_TYPE): Likewise.
41814
de986b56
L
418152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * bits/types.h (__syscall_slong_t): New type.
41818 (__syscall_ulong_t): Likewise.
41819
41820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41821 (__SYSCALL_ULONG_TYPE): Likewise.
41822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41823 (__SYSCALL_SLONG_TYPE): Likewise.
41824 (__SYSCALL_ULONG_TYPE): Likewise.
41825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41826 (__SYSCALL_SLONG_TYPE): Likewise.
41827 (__SYSCALL_ULONG_TYPE): Likewise.
41828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41829 (__SYSCALL_SLONG_TYPE): Likewise.
41830 (__SYSCALL_ULONG_TYPE): Likewise.
41831
85736dc7
L
418322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41833
41834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41835 Add sigaltstack-offsets.sym.
41836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41837 <sigaltstack-offsets.h>.
41838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41839 longjmp_msg pointer.
41840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41842 signal stack.
41843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41844
cc03b296
JM
418452012-05-15 Joseph Myers <joseph@codesourcery.com>
41846
a9538892
JM
41847 * elf/stackguard-macros.h: Remove file.
41848 * sysdeps/generic/stackguard-macros.h: New file.
41849 * sysdeps/i386/stackguard-macros.h: Likewise.
41850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41858 <elf/stackguard-macros.h>.
41859
cc03b296
JM
41860 [BZ #14109]
41861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41862 __aligned__ in attribute.
41863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41864 (gregset_t): Likewise.
41865
93171016
L
418662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41867
41868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41869 * sysdeps/x86_64/64/Implies-after: Here. New file.
41870 * sysdeps/x86_64/x32/Implies-after: New file.
41871
d86813a0
L
418722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41873
41874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41875 and access return value for _dl_profile_fixup. Use R10_LP to
41876 load frame size.
41877
2953ec75
L
418782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41881
3b550e9e
L
418822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41883
41884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41885 * sysdeps/x86_64/x32/sysdep.h: New file.
41886
eda41706
L
418872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41890 * sysdeps/x86_64/setjmp.S: Likewise.
41891
9ea01d93
AZ
418922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41893
41894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41898 remove unused global constant.
41899
02a91938
CM
419002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41901
41902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41903 include of <not-cancel.h>.
41904
6540185f
RM
419052012-05-15 Roland McGrath <roland@hack.frob.com>
41906
41907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41908
509072a0
AJ
419092012-05-15 Jeff Law <law@redhat.com>
41910 Andreas Jaeger <aj@suse.de>
41911
41912 [BZ #13594]
41913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41914 out from...
41915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41918 code changing __hst_map_handle.map.
41919
ba75122d
RM
419202012-05-15 Roland McGrath <roland@hack.frob.com>
41921
41922 * configure.in (sysnames): Look for Implies-before and Implies-after
41923 files.
41924 * configure: Regenerated.
41925
890d8bd8
L
419262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41927
41928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41929 8-byte data alignment with LP_SIZE alignment.
41930
f6ee6623
L
419312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41932
41933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41934 into R10_LP.
41935
ea2626f6
L
419362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41937
41938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41939
085f715e
L
419402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41941
41942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41945 Likewise.
41946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41947
be8498fc
L
419482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41949
41950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41951 (stackinfo_sub_sp): Likewise.
41952
70bc83b9
L
419532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41954
41955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41956 RAX_LP.
41957
9bc0b730
L
419582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41959
41960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41961 into R*_LP.
41962
6d2850e7
L
419632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41964
41965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41966 sizes into R*_LP.
41967
3cb84561
L
419682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41969
41970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41971
54e2ed81
L
419722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41973
41974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41975 into R11_LP and load __x86_64_shared_cache_size_half into
41976 R8_LP.
41977
8a17f349
L
419782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41979
41980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41981 R8_LP.
41982
777b1eea
AZ
419832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41984
41985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41986 logb for POWER7.
41987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41988 logbf for POWER7.
41989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41990 logbl for POWER7.
41991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41992 powerpc32/power7/fpu/s_logb.c via #include.
41993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41994 powerpc32/power7/fpu/s_logbf.c via #include.
41995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41996 powerpc32/power7/fpu/s_logbl.c via #include.
41997
d20d4ac2
JM
419982012-05-15 Joseph Myers <joseph@codesourcery.com>
41999
42000 * README.libm: Remove file.
42001
6cdef1ab
L
420022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42003
42004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42005 count for x32. Use R*_LP and omit operand-size suffix.
42006
0b254d8f
L
420072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42008
42009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42011 * sysdeps/x86_64/x32/shlib-versions: New file.
42012
ceb809dc
RM
420132012-05-14 Roland McGrath <roland@hack.frob.com>
42014
42015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42017 Use _dl_fatal_printf instead.
42018
37f1abd4
JM
420192012-05-14 Joseph Myers <joseph@codesourcery.com>
42020
42021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42022 set if not set by the user. Do not allow for being unset.
42023 * sysdeps/unix/sysv/linux/configure: Regenerated.
42024
11de3a33
L
420252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42026
42027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42028 the `q' suffix from lea and replace .quad with ASM_ADDR.
42029
e02f153a
L
420302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42031
42032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42034 instead of $17.
42035 (PTR_DEMANGLE): Likewise.
42036
520ae0fd
L
420372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42040 (LP_OP): Likewise.
42041 (ASM_ADDR): Likewise.
42042 (RAX_LP): Likewise.
42043 (RBP_LP): Likewise.
42044 (RBX_LP): Likewise.
42045 (RCX_LP): Likewise.
42046 (RDI_LP): Likewise.
42047 (RSI_LP): Likewise.
42048 (RSP_LP): Likewise.
42049 (R8_LP): Likewise.
42050 (R9_LP): Likewise.
42051 (R10_LP): Likewise.
42052 (R10_LP): Likewise.
42053 (R11_LP): Likewise.
42054 (R12_LP): Likewise.
42055 (R13_LP): Likewise.
42056 (R14_LP): Likewise.
42057 (R15_LP): Likewise.
42058
b985be81
L
420592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42060
42061 * sysdeps/x86_64/x32/dl-machine.h: New file.
42062
6a4888ff
AJ
420632012-05-14 Andreas Jaeger <aj@suse.de>
42064
42065 * manual/Makefile (subdir): Remove export of subdir.
42066 (all): Remove target.
42067 (.PHONY): Remove all from list.
42068 (mkinstalldirs): Remove.
42069 (.PHONY): Remove installdirs from list.
42070 ($(inst_infodir)/libc.info): Use make-target-directory.
42071 (installdirs): Remove.
42072 (subdir_%): Remove.
42073 (glibc-targets): Remove.
42074 (lib): Remove.
42075 (stubs): Remove.
42076 ($(objpfx)stubs ../po/manual.pot): Remove.
42077 ($(objpfx)stamp%): Remove.
42078 (make-target-directory): Remove.
42079 (subdir_install): Remove.
42080 (routines): Remove.
42081 (aux): Remove.
42082 (sources): Remove.
42083 (objects): Remove.
42084 (headers): Remove.
42085
42086 [BZ #13750]
42087 * manual/.gitignore: Remove, it's not needed anymore.
42088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42089 all files in it.
42090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42091 directory.
42092 (texis): Renamed to $(objpfx)texis.
42093 (texis-path): New, contains path to generated files.
42094 (chapters.%): Use texis-path for complete path, add extra argument
42095 libc-texinfo.sh.
42096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42098 (summary,texi, stamp-summary): Use complete path of
42099 files. Generate files in build dir.
42100 (dir-add.texi): Build in build dir.
42101 (libm-err.texi,stamp-libm-err): Likewise.
42102 (version.texi, stamp-version): Likewise.
42103 (.%c.texi): Likewise.
42104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42105 (mostlyclean): Remove target.
42106 (realclean): Remove target.
42107 (generated): Add new variable with contents from mostlyclean and
42108 realclean, remove entries duplicated in common-mostlyclean, add
42109 stamp-libm-err and stamp-version.
42110 (generated-dirs): Add libc directory.
42111 ($(inst_infodir)/libc.info): Install files from build dir.
42112
42113 * manual/install.texi (Configuring and compiling): Adjust since
42114 the info files are not part of the tar ball anymore.
42115
7ac77294
AJ
421162012-05-14 Andreas Jaeger <aj@suse.de>
42117
42118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42119 variable.
42120
ffb7875d
JM
421212012-05-14 Joseph Myers <joseph@codesourcery.com>
42122
42123 [BZ #13717]
42124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42125 to 2.2.0 where earlier.
42126 * sysdeps/unix/sysv/linux/configure: Regenerated.
42127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42128 Remove conditional code.
42129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42131 Remove conditional code.
42132 [!__NR_lchown]: Likewise.
42133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42134 [__NR_lchown]: Likewise.
42135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42136 comment referencing __ASSUME_LCHOWN_SYSCALL.
42137 * sysdeps/unix/sysv/linux/i386/sigaction.c
42138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42141 Remove conditional code.
42142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42143 (__protocol_available): Remove #if 0 code.
42144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42145 conditional code.
42146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42147 * sysdeps/unix/sysv/linux/kernel-features.h
42148 (__ASSUME_GETCWD_SYSCALL): Don't define.
42149 (__ASSUME_REALTIME_SIGNALS): Likewise.
42150 (__ASSUME_PREAD_SYSCALL): Likewise.
42151 (__ASSUME_PWRITE_SYSCALL): Likewise.
42152 (__ASSUME_POLL_SYSCALL): Likewise.
42153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42155 non-SPARC.
42156 (__ASSUME_SIOCGIFNAME): Don't define.
42157 (__ASSUME_MSG_NOSIGNAL): Likewise.
42158 (__ASSUME_SENDFILE): Define unconditionally.
42159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42161 conditional code.
42162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42194 Remove conditional code.
42195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42197 Remove conditional code.
42198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42202 Remove conditional code.
42203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42205 Remove conditional code.
42206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42208 Remove conditional code.
42209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42211 Remove conditional code.
42212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42214 Remove conditional code.
42215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42219 * sysdeps/unix/sysv/linux/sigaction.c
42220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42222 * sysdeps/unix/sysv/linux/sigpending.c
42223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42225 * sysdeps/unix/sysv/linux/sigprocmask.c
42226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42228 * sysdeps/unix/sysv/linux/sigsuspend.c
42229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42232 (__libc_missing_rt_sigs): Remove.
42233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42236 Remove conditional code.
42237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42239 return 1.
42240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42244
1bfb7291
AJ
422452012-05-14 Andreas Jaeger <aj@suse.de>
42246
caae5a81
AJ
42247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42248 it's not used in glibc.
42249 (__coshm1): Likewise.
42250 (__acosh1p): Likewise.
42251 (__sgn): Likewise.
42252
1bfb7291
AJ
42253 * manual/string.texi (Copying and Concatenation): Add missing
42254 variable in concat example.
42255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42256
c044d724
L
422572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42258
144c5467 42259 [BZ #14103]
c044d724
L
42260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42261 __builtin_clzl with __builtin_clzll.
42262
2523c62b
L
422632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42264
42265 [BZ #14104]
42266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42267 libc_freeres_ptr.
42268
d7bb4c42
LD
422692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42270
42271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42275
9dc4e1fb
MF
422762012-05-14 Mike Frysinger <vapier@gentoo.org>
42277
42278 * NEWS: Update ia64 info.
42279
c7df0112
AS
422802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42281
42282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42283 used as bcopy.
42284
dc70356c
TS
422852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42286
42287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42288 * sysdeps/unix/syscalls.list (dup3): Likewise.
42289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42291
9fb1a21f
L
422922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42293
42294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42296
4822a2a5
L
422972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42298
42299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42300 thread pointer.
42301 (TLS_IE): Use mov/add instead of movq/addq to load thread
42302 pointer.
42303 (TLS_GD_PREFIX): New.
42304 (TLS_GD): Use it.
42305
842b81d6
DM
423062012-05-11 David S. Miller <davem@davemloft.net>
42307
42308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42310 (_FPU_SETCW): Likewise.
42311
1cf463cd
L
423122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42313
42314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42315 is 32-byte aligned.
42316
60cc4a18
AS
423172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42318
42319 [BZ #11837]
42320 * iconvdata/gb18030.c: Update tables.
42321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42322 characters specially.
42323 (BODY for TO_LOOP): Add encoding of missing ranges.
42324
febb44a4
TS
423252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42326
42327 [BZ #13673]
42328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42329 * sysdeps/mach/hurd/dup3.c: Likewise.
42330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42331 * sysdeps/powerpc/memmove.c:: Likewise.
42332
0a10fb9e
L
423332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42334
42335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42337
df8a552f
L
423382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42339
42340 * elf/elf.h (R_X86_64_RELATIVE64): New.
42341 (R_X86_64_NUM): Updated.
42342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42346 tst-quad1pie tst-quad2pie
42347 (modules-names): Add tst-quadmod1 tst-quadmod2.
42348 ($(objpfx)tst-quad1): New dependency.
42349 ($(objpfx)tst-quad2): Likewise.
42350 ($(objpfx)tst-quad1pie): Likewise.
42351 ($(objpfx)tst-quad2pie): Likewise.
42352 * sysdeps/x86_64/tst-quad1.c: New file.
42353 * sysdeps/x86_64/tst-quad1pie.c: New file.
42354 * sysdeps/x86_64/tst-quad2.c: Likewise.
42355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42360
f34d6f84
ST
423612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42362
f42d41d1
ST
42363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42365 * streams/stropts.h (t_scalar_t): Define type.
42366
3c3571fc
ST
42367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42368 (_PATH_PRESERVE): Set to "/var/lib".
42369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42370
61f06bd3
ST
42371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42372 instead of int.
42373
918d4d71
ST
42374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42375 if __dir_mkfile succeeded.
42376
f34d6f84
ST
42377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42378 checking for _hurd_dtablesize. Unlock it right after having
42379 finished _hurd_dtable allocation.
42380
10589b4a
TS
423812012-05-10 Thomas Schwinge <thomas@schwinge.name>
42382
674cdbc7
TS
42383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42384 * sysdeps/mach/hurd/configure: Regenerated.
42385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42386 special-casing to...
42387 * sysdeps/gnu/configure.in: ... this new file.
42388 * sysdeps/unix/sysv/linux/configure: Regenerated.
42389 * sysdeps/gnu/configure: New generated file.
42390
8e41b99f
TS
42391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42392 for Linux: use nsec instead of usec, as well as:
42393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42394 members of type struct timespec.
42395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42396 New macros.
42397 (struct stat64): Likewise.
42398 (_STATBUF_ST_NSEC): New macro.
42399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42400
10589b4a
TS
42401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42402 __strtoul_internal rather than strtoul.
42403
63643c85
PT
424042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42405
42406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42407 and reject them.
42408
3faebe6a
ST
424092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42410
42411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42412 which preserves existing values.
42413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42414
c6474b07
PT
424152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42416
42417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42418 TIMEOUT values. Return EINVAL for NFDS values either negative or
42419 greater than FD_SETSIZE.
42420
1043890b
ST
424212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42422
42423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42424 allocated, call __vm_protect to finish enabling the existing space, and
42425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42426 allocate the remainder.
42427
37ed8b9b
PT
424282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42429
42430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42432
db653660
ST
424332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42434
37ed8b9b
PT
42435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42436 sysdeps/mach/hurd/readlink.c.
b29d4053 42437
db653660
ST
42438 * posix/tst-sysconf.c (posix_options): Only use
42439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42440 _POSIX_SYNCHRONIZED_IO when they are defined
42441 * sysdeps/mach/hurd/bits/posix_opt.h:
42442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42443 (_XOPEN_REALTIME): Undefine macro.
42444 (_XOPEN_REALTIME_THREADS): Undefine macro.
42445 (_XOPEN_SHM): Undefine macro.
42446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42447 macro to -1.
42448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42449 macro to -1.
42450 (_POSIX_ASYNC_IO): Undefine macro.
42451 (_POSIX_PRIORITIZED_IO): Undefine macro.
42452 (_POSIX_SPIN_LOCKS): Define macro to -1.
42453
ee16e894
ST
42454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42455 SA_NODEFER, SA_RESETHAND.
42456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42458 F_DUPFD_CLOEXEC.
42459
6103ae3b
TS
424602012-05-10 Thomas Schwinge <thomas@schwinge.name>
42461
42462 * elf/Makefile (pldd-modules): Define unconditionally.
42463
80b4e5f3
TS
424642012-05-10 Thomas Schwinge <thomas@schwinge.name>
42465
42466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42467
edadcbd6
ST
424682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42469
42470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42471 Return ENOENT when name is empty.
42472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42473
80694780
TS
424742012-05-10 Thomas Schwinge <thomas@schwinge.name>
42475
1792c087
TS
42476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42477
80694780
TS
42478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42479
6b645f0d
ST
424802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42481
80694780
TS
42482 Fix mlock in all cases except non-readable pages.
42483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42484 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42485
6b645f0d
ST
42486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42487 (__mkdir): When path is `/', just fail with EEXIST.
42488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42489
e468f8a3
TS
424902012-05-10 Thomas Schwinge <thomas@schwinge.name>
42491
42492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42493 <sys/uio.h> (for writev).
42494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42495 and <sys/param.h> (for MIN).
42496
a4186cff
PT
424972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42498
42499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42500 REQUESTED_TIME. Properly set the remaining time and return EINTR
42501 if interrupted.
42502
510bbf14
TS
425032012-05-10 Thomas Schwinge <thomas@schwinge.name>
42504
42505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42506 Depend on against $(link-rpcuserlibs).
42507
5d5722e8
ST
425082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42509
a4186cff
PT
42510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42511 (__libc_stack_end): Do not use attribute_relro.
42512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42514 to libthread-provided value.
a4186cff
PT
42515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42516 attribute_relro.
5d5722e8 42517
37233df9
TS
425182012-05-10 Thomas Schwinge <thomas@schwinge.name>
42519
be971a2b
TS
42520 [BZ #3748]
42521 * bits/libc-lock.h (__libc_once_get): New macro.
42522 * sysdeps/mach/bits/libc-lock.h: Likewise.
42523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42525 instead of using implementation details.
42526
37233df9
TS
42527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42528 * libio/freopen.c: Likewise.
42529 * libio/freopen64.c: Likewise.
42530 * misc/syslog.c: Likewise.
42531 * nscd/connections.c: Likewise.
42532 * nscd/netgroupcache.c: Likewise.
42533 * sysdeps/posix/getcwd.c: Likewise.
42534
38de94a5
RM
425352012-05-10 Roland McGrath <roland@hack.frob.com>
42536
42537 * math/w_ilogbf.c: Add #include <limits.h>.
42538
67530489
ST
425392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42540
a4186cff 42541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42542 path instead of returning without unlocking.
42543
67530489
ST
42544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42545 immediate-write ioctls.
42546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42547
5aa3a74a
TS
425482012-05-10 Thomas Schwinge <thomas@schwinge.name>
42549
18bad2ae
TS
42550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42551 __builtin_frame_address instead of making assumptions about the
42552 location of the return address relative to DATA. Force early load of
42553 the return address.
42554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42555 __builtin_frame_address.
42556
5aa3a74a
TS
42557 dup3 for GNU Hurd.
42558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42560 implement dup3 and do some further code clean-ups.
42561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42563
ecd0de9a
ST
425642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42565
cd9fa985
ST
42566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42567
a4186cff
PT
42568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42573 d->port.lock.
802ca5a5 42574
a4186cff
PT
42575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42577 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42578
bcf55240
TS
425792012-05-10 Thomas Schwinge <thomas@schwinge.name>
42580
6960eb42
TS
42581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42583 definitions.
42584
eb43375f
TS
42585 accept4 for GNU Hurd.
42586 * include/sys/socket.h (__libc_accept4): New prototype.
42587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42588 to implement __libc_accept4.
42589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42590 __libc_accept4.
42591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42592
bcf55240
TS
42593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42596 signal-defines.sym.
42597
6178c55b
ST
425982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42599
a4186cff 42600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42601
6f080c2f
TS
426022012-05-10 Thomas Schwinge <thomas@schwinge.name>
42603
42604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42605 assertion on O_CLOEXEC flag.
42606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42607 * hurd/intern-fd.c: Likewise.
42608 * hurd/port2fd.c: Likewise.
42609
bcfe3a54
ST
426102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42611
42612 [BZ #3906]
42613 * bits/in.h (IPV6_PKTINFO): Define new macro.
42614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42615
89c9aa49
AZ
426162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42617
42618 [BZ #13954]
42619 [BZ #13955]
42620 [BZ #13956]
42621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42627 * math/libm-test.inc (logb_test) : Additional logb tests.
42628
021db4be
AJ
426292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42630 Andreas Jaeger <aj@suse.de>
42631
42632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42633 * configure: Regenerated.
42634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42635 * config.make.in (link-obsolete-rpc): New substituted variable.
42636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42640 so that libc.a contains the symbols.
42641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42643 * sunrpc/auth_none.c: Likewise.
42644 * sunrpc/auth_unix.c: Likewise.
42645 * sunrpc/authdes_prot.c: Likewise.
42646 * sunrpc/authuxprot.c: Likewise.
42647 * sunrpc/clnt_gen.c: Likewise.
42648 * sunrpc/clnt_perr.c: Likewise.
42649 * sunrpc/clnt_raw.c: Likewise.
42650 * sunrpc/clnt_simp.c: Likewise.
42651 * sunrpc/clnt_tcp.c: Likewise.
42652 * sunrpc/clnt_udp.c: Likewise.
42653 * sunrpc/clnt_unix.c: Likewise.
42654 * sunrpc/des_crypt.c: Likewise.
42655 * sunrpc/des_soft.c: Likewise.
42656 * sunrpc/get_myaddr.c: Likewise.
42657 * sunrpc/key_call.c: Likewise.
42658 * sunrpc/key_prot.c: Likewise.
42659 * sunrpc/netname.c: Likewise.
42660 * sunrpc/pm_getmaps.c: Likewise.
42661 * sunrpc/pm_getport.c: Likewise.
42662 * sunrpc/pmap_clnt.c: Likewise.
42663 * sunrpc/pmap_prot.c: Likewise.
42664 * sunrpc/pmap_prot2.c: Likewise.
42665 * sunrpc/pmap_rmt.c: Likewise.
42666 * sunrpc/publickey.c: Likewise.
42667 * sunrpc/rpc_cmsg.c: Likewise.
42668 * sunrpc/rpc_common.c: Likewise.
42669 * sunrpc/rpc_dtable.c: Likewise.
42670 * sunrpc/rpc_prot.c: Likewise.
42671 * sunrpc/rpc_thread.c: Likewise.
42672 * sunrpc/rtime.c: Likewise.
42673 * sunrpc/svc.c: Likewise.
42674 * sunrpc/svc_auth.c: Likewise.
42675 * sunrpc/svc_raw.c: Likewise.
42676 * sunrpc/svc_run.c: Likewise.
42677 * sunrpc/svc_tcp.c: Likewise.
42678 * sunrpc/svc_udp.c: Likewise.
42679 * sunrpc/svc_unix.c: Likewise.
42680 * sunrpc/svcauth_des.c: Likewise.
42681 * sunrpc/xcrypt.c: Likewise.
42682 * sunrpc/xdr.c: Likewise.
42683 * sunrpc/xdr_array.c: Likewise.
42684 * sunrpc/xdr_float.c: Likewise.
42685 * sunrpc/xdr_intXX_t.c: Likewise.
42686 * sunrpc/xdr_mem.c: Likewise.
42687 * sunrpc/xdr_rec.c: Likewise.
42688 * sunrpc/xdr_ref.c: Likewise.
42689 * sunrpc/xdr_sizeof.c: Likewise.
42690 * sunrpc/xdr_stdio.c: Likewise.
42691
b5c086a2
RM
426922012-05-10 Roland McGrath <roland@hack.frob.com>
42693
42694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42695 change. Update copyright years.
42696
6d74dd09
JM
426972012-05-10 Joseph Myers <joseph@codesourcery.com>
42698
42699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42700
28e72501
MK
427012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42702 Joseph Myers <joseph@codesourcery.com>
42703 Paul Pluzhnikov <ppluzhnikov@google.com>
42704
42705 [BZ #14012]
42706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42707 requiring rpcgen.
42708 [cross-compiling] (extra-libs): Likewise.
42709 [cross-compiling] (extra-libs-others): Likewise.
42710 [cross-compiling] (librpcsvc-routines): Likewise.
42711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42712 [cross-compiling] (omit-deps): Likewise.
42713 (sunrpc-CPPFLAGS): New variable.
42714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42716 (cross-rpcgen-objs): New variable.
42717 (extra-objs): Append $(cross-rpcgen-objs).
42718 ($(cross-rpcgen-objs)): New rule.
42719 ($(objpfx)cross-rpcgen): Likewise.
42720 (rpcgen-cmd): Define to use $(built-program-file). Expand
42721 comment.
42722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42723 ($(objpfx)x%.stmp): Likewise.
42724 * sunrpc/proto.h [IS_IN_build] (_): Define.
42725 [IS_IN_build] (_libc_intl_domainname): Likewise.
42726
c8c59454
L
427272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42728
42729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42731 and R_X86_64_TPOFF64.
42732
6f27cd16
JM
427332012-05-10 Joseph Myers <joseph@codesourcery.com>
42734
42735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42736 sysdeps/unix/sysv/syscalls.list.
42737 (stime): Likewise.
42738 (utime): Likewise.
42739 * sysdeps/unix/sysv/syscalls.list: Remove file.
42740
02467e1c
PE
427412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42742
42743 [BZ #3440]
42744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42747 (__LC_IDENTIFICATION): Make these macros useful in #if
42748 expressions, as required by C99.
42749
da392631
AS
427502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42751
42752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42754 after this.
42755
8115f29b
L
427562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42757
42758 * stdlib/longlong.h: Updated from GCC.
42759
bdd74070
AJ
427602012-05-09 Andreas Jaeger <aj@suse.de>
42761
edfe0dbe
AJ
42762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42763 default is first entry.
42764 (run_mode): Set type.
42765 (main): Remove informal message about syslog.
42766 (options): Fix typo.
42767
bcfe3a54
ST
42768 [BZ #14053]
42769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42770 to asm.
bcfe3a54
ST
42771 (lrint): Likewise.
42772 (llrintf): Likewise.
42773 (llrint): Likewise.
42774 (rint): Likewise.
42775 (rintf): Likewise.
42776 (nearbyint): Likewise.
42777 (nearbyintf): Likewise.
bdd74070 42778
91d8d69e
AJ
427792012-05-09 Andreas Jaeger <aj@suse.de>
42780 Pedro Alves <palves@redhat.com>
42781
42782 * nscd/nscd.c (run_mode): Use enum.
42783 (main): Cleanup coding style issue.
42784
bb90b80b
AJ
427852012-05-09 Alexandre Oliva <aoliva@redhat.com>
42786 Andreas Jaeger <aj@suse.de>
42787
bcfe3a54
ST
42788 * nscd/nscd.c (go_background): Replaced with...
42789 (run_mode): ... this.
bb90b80b 42790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42791 (options): Add -F --foreground.
42792 (main): Implement it.
42793 (parse_opt): Parse it.
bb90b80b 42794
1a4b75a1
AJ
427952012-05-09 Andreas Jaeger <aj@suse.de>
42796
42797 [BZ #14083]
42798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42800 -Wconversion warning.
42801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42802 Likewise.
42803
b1cc2472
JM
428042012-05-09 Joseph Myers <joseph@codesourcery.com>
42805
42806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42807 == 0.
42808 (LC_ALL): Use macro-int-constant.
42809 (LC_COLLATE): Likewise.
42810 (LC_CTYPE): Likewise.
42811 (LC_MESSAGES): Likewise.
42812 (LC_MONETARY): Likewise.
42813 (LC_NUMERIC): Likewise.
42814 (LC_TIME): Likewise.
42815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42819 Specify type.
42820 [C99-based standards] (float_t): Expect type.
42821 [C99-based standards] (double_t): Expect type.
42822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42823 type.
42824 [C99-based standards] (HUGE_VALL): Likewise.
42825 [C99-based standards] (INFINITY): Likewise.
42826 [C99-based standards] (NAN): Likewise.
42827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42828 [C99-based standards] (FP_NAN): Likewise.
42829 [C99-based standards] (FP_NORMAL): Likewise.
42830 [C99-based standards] (FP_SUBNORMAL): Likewise.
42831 [C99-based standards] (FP_ZERO): Likewise.
42832 [C99-based standards] (FP_FAST_FMA): Use
42833 optional-macro-int-constant. Specify type. Require == 1.
42834 [C99-based standards] (FP_FAST_FMAF): Likewise.
42835 [C99-based standards] (FP_FAST_FMAL): Likewise.
42836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42837 [C99-based standards] (FP_ILOGBNAN): Likewise.
42838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42839 Specify type.
42840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42841 [C99-based standards] (math_errhandling): Specify type.
42842 [ISO99 || ISO11] (signgam): Do not allow.
42843 [non-C99-based standards] (copysignf): Do not allow.
42844 [non-C99-based standards] (exp2f): Likewise.
42845 [non-C99-based standards] (log2f): Likewise.
42846 [non-C99-based standards] (modff): Allow.
42847 [non-C99-based standards] (erff): Do not allow.
42848 [non-C99-based standards] (erfcf): Likewise.
42849 [non-C99-based standards] (gammaf): Likewise.
42850 [non-C99-based standards] (hypotf): Likewise.
42851 [non-C99-based standards] (j0f): Likewise.
42852 [non-C99-based standards] (j1f): Likewise.
42853 [non-C99-based standards] (jnf): Likewise.
42854 [non-C99-based standards] (lgammaf): Likewise.
42855 [non-C99-based standards] (tgammaf): Likewise.
42856 [non-C99-based standards] (y0f): Likewise.
42857 [non-C99-based standards] (y1f): Likewise.
42858 [non-C99-based standards] (ynf): Likewise.
42859 [non-C99-based standards] (isnanf): Likewise.
42860 [non-C99-based standards] (acoshf): Likewise.
42861 [non-C99-based standards] (asinhf): Likewise.
42862 [non-C99-based standards] (atanhf): Likewise.
42863 [non-C99-based standards] (cbrtf): Likewise.
42864 [non-C99-based standards] (expm1f): Likewise.
42865 [non-C99-based standards] (ilogbf): Likewise.
42866 [non-C99-based standards] (log1pf): Likewise.
42867 [non-C99-based standards] (logbf): Likewise.
42868 [non-C99-based standards] (nextafterf): Likewise.
42869 [non-C99-based standards] (remainderf): Likewise.
42870 [non-C99-based standards] (rintf): Likewise.
42871 [non-C99-based standards] (scalbf): Likewise.
42872 [non-C99-based standards] (copysignl): Likewise.
42873 [non-C99-based standards] (exp2l): Likewise.
42874 [non-C99-based standards] (log2l): Likewise.
42875 [non-C99-based standards] (modfl): Allow.
42876 [non-C99-based standards] (erfl): Do not allow.
42877 [non-C99-based standards] (erfcl): Likewise.
42878 [non-C99-based standards] (gammal): Likewise.
42879 [non-C99-based standards] (hypotl): Likewise.
42880 [non-C99-based standards] (j0l): Likewise.
42881 [non-C99-based standards] (j1l): Likewise.
42882 [non-C99-based standards] (jnl): Likewise.
42883 [non-C99-based standards] (lgammal): Likewise.
42884 [non-C99-based standards] (tgammal): Likewise.
42885 [non-C99-based standards] (y0l): Likewise.
42886 [non-C99-based standards] (y1l): Likewise.
42887 [non-C99-based standards] (ynl): Likewise.
42888 [non-C99-based standards] (isnanl): Likewise.
42889 [non-C99-based standards] (acoshl): Likewise.
42890 [non-C99-based standards] (asinhl): Likewise.
42891 [non-C99-based standards] (atanhl): Likewise.
42892 [non-C99-based standards] (cbrtl): Likewise.
42893 [non-C99-based standards] (expm1l): Likewise.
42894 [non-C99-based standards] (ilogbl): Likewise.
42895 [non-C99-based standards] (log1pl): Likewise.
42896 [non-C99-based standards] (logbl): Likewise.
42897 [non-C99-based standards] (nextafterl): Likewise.
42898 [non-C99-based standards] (remainderl): Likewise.
42899 [non-C99-based standards] (rintl): Likewise.
42900 [non-C99-based standards] (scalbl): Likewise.
42901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42902 [non-C99-based standards] (FP_*): Do not allow.
42903 [C99-based standards] (FP_*): Change to
42904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42906 allow.
42907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42908 (SIG_ERR): Likewise.
42909 [X/Open-based standards] (SIG_HOLD): Likewise.
42910 (SIG_IGN): Likewise.
42911 (SIGABRT): Use macro-int-constant. Specify type. Require
42912 positive value.
42913 (SIGFPE): Likewise.
42914 (SIGILL): Likewise.
42915 (SIGINT): Likewise.
42916 (SIGSEGV): Likewise.
42917 (SIGTER): Likewise.
42918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42936 [X/Open-based standards] (SIGTRAP): Likewise.
42937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42942 allow.
42943
b9f1922d
IW
429442012-05-08 Ian Wienand <ianw@vmware.com>
42945
42946 [BZ #14080]
42947 * time/tzset.c (__tzset_parse_tz): Update default rules for
42948 daylight time changes in the Energy Policy Act of 2005.
42949
1db86e88
AJ
429502012-05-09 Andreas Jaeger <aj@suse.de>
42951
42952 [BZ #13983]
42953 * elf/ldconfig.c (parse_conf): Change string to make clear that
42954 ldconfig only issued a warning if ld.so.conf does not exist.
42955
dee4a4e3
DM
429562012-05-08 David S. Miller <davem@davemloft.net>
42957
ee0db190
DM
42958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42959 movxtod instead of popping the value on the stack.
42960
dee4a4e3
DM
42961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42962
6a43ec98
CD
429632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42964
42965 * config.h.in: Add HAVE_ARM_PCS_VFP.
42966
05c2c961
RMG
429672012-05-08 Roland Mc Grath <roland@hack.frob.com>
42968
bcfe3a54
ST
42969 [BZ #13979]
42970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42971 checking but the checks are disabled for any reason.
05c2c961 42972
4b30f61a
L
429732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42974
42975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42976 and ELF64_R_TYPE with ELFW(R_TYPE).
42977
eee2bc67
JM
429782012-05-08 Joseph Myers <joseph@codesourcery.com>
42979
7ea5391a
JM
42980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42981 (ulimit): Likewise.
42982
eee2bc67
JM
42983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42984 (settimeofday): Likewise.
42985
abb66a67
MF
429862012-05-08 Mike Frysinger <vapier@gentoo.org>
42987
42988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42989 a struct th_u2 inside the union, and move tu_block/tu_code into
42990 a new th_u3 union of tu_block/tu_code inside of that. Move
42991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42995 (th_stuff): Change to th_u1.tu_stuff.
42996 (th_data): Define.
42997 (th_msg): Change to th_u1.th_u2.tu_data.
42998
7f18b530
DM
429992012-05-07 David S. Miller <davem@davemloft.net>
43000
05760585
DM
43001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43002
7f18b530
DM
43003 [BZ #14074]
43004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43005 (SETUP_PIC_REG): Use it.
43006 (SETUP_PIC_REG_LEAF): Use it.
43007
495fd99f
JM
430082012-05-07 Joseph Myers <joseph@codesourcery.com>
43009
43010 [BZ #13885]
43011 [BZ #13923]
43012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43013 USE_AS_EXPM1L.
43014 (EXPL_FINITE): Likewise.
43015 (FLDLOG): Likewise.
43016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43018 e_expl.S.
43019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43020 USE_AS_EXPM1L.
43021 (EXPL_FINITE): Likewise.
43022 (FLDLOG): Likewise.
43023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43025 e_expl.S.
43026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43027 test of -max_value argument for long double.
43028 * sysdeps/i386/fpu/libm-test-ulps: Update.
43029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43030
6693d694
DM
430312012-05-06 David S. Miller <davem@davemloft.net>
43032
43033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43034 quad soft-float symbols whose references which are compiler
43035 generated.
43036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43037
6c23e11c
JM
430382012-05-06 Joseph Myers <joseph@codesourcery.com>
43039
d8b82cad
JM
43040 [BZ #13884]
43041 [BZ #13914]
43042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43043 USE_AS_EXP10L.
43044 (EXPL_FINITE): Likewise.
43045 (FLDLOG): Likewise.
43046 (c0): Likewise.
43047 (c1): Likewise.
43048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43049 Adjust comments for base varying.
43050 (__expl_finite): Change alias to EXPL_FINITE.
43051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43052 e_expl.S.
43053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43058 USE_AS_EXP10L.
43059 (EXPL_FINITE): Likewise.
43060 (FLDLOG): Likewise.
43061 (c0): Likewise.
43062 (c1): Likewise.
43063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43064 Adjust comments for base varying.
43065 (__expl_finite): Change alias to EXPL_FINITE.
43066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43067 tests for bugs.
43068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43069
6c23e11c
JM
43070 [BZ #14064]
43071 * math/libm-test.inc (check_float_internal): Correct ulp
43072 calculation for subnormal expected results.
43073
29ba805c
AJ
430742012-05-06 Andreas Jaeger <aj@suse.de>
43075
43076 * Makeconfig (+math-flags): New, set to -frounding-math.
43077 (+cflags): Add +math-flags so that all of glibc gets compiled with
43078 it.
43079
43080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43081
7b17aeda
JM
430822012-05-05 Joseph Myers <joseph@codesourcery.com>
43083
5779f134
JM
43084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43085 Disable one test.
43086
41498f4d
JM
43087 [BZ #13787]
43088 [BZ #13922]
43089 [BZ #14036]
43090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43091 (__ieee754_expl): Allow for and saturate large arguments.
43092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43093 (u_threshold): Likewise.
43094 (__exp): Call __ieee754_exp before checking for overflow and
43095 underflow.
43096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43097 (u_threshold): Likewise.
43098 (__expf): Call __ieee754_expf before checking for overflow and
43099 underflow.
43100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43101 (u_threshold): Likewise.
43102 (__expl): Call __ieee754_expl before checking for overflow and
43103 underflow.
43104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43105 (__ieee754_expl): Allow for and saturate large arguments.
43106 * math/libm-test.inc (exp_test): Add another test. Do not allow
43107 missing overflow exception on overflow.
43108 (expm1_test): Do not allow missing overflow exception on overflow.
43109
6698b8bf
JM
43110 * sysdeps/i386/fpu/e_expl.c: Move to ...
43111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43112 rather than using inline asm.
43113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43116
7b17aeda
JM
43117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43118 (nice): Likewise.
43119 (poll): Likewise.
43120 (signal): Likewise.
43121 (time): Likewise.
43122 (times): Likewise.
43123
f7c85819
JM
431242012-05-04 Joseph Myers <joseph@codesourcery.com>
43125
43126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43127 sysdeps/unix/common/syscalls.list.
43128 (fchmod): Likewise.
43129 (fchown): Likewise.
43130 (ftruncate): Likewise.
43131 (getrusage): Likewise.
43132 (gettimeofday): Likewise.
43133 (setpgid): Likewise.
43134 (setregid): Likewise.
43135 (setreuid): Likewise.
43136 (sigaction): Likewise.
43137 (truncate): Likewise.
43138 (vhangup): Likewise.
43139 * sysdeps/unix/common/syscalls.list: Remove file.
43140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43141 * sysdeps/unix/sysv/linux/Implies: Likewise.
43142
336270d0
L
431432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43144
43145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43148 Moved to ...
43149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43150 Here.
43151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43152 to ...
43153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43155 to ...
43156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43158 to ...
43159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43161 to ...
43162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43164 to ...
43165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43167 to ...
43168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43170 to ...
43171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43172 Here.
43173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43174 to ...
43175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43176 Here.
43177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43178 to ...
43179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43181 Moved to ...
43182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43183 Here.
43184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43185 to ...
43186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43187
d128e450
JM
431882012-05-04 Joseph Myers <joseph@codesourcery.com>
43189
fa8ee516
JM
43190 * sysdeps/unix/common/bits/dirent.h: Remove file.
43191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43192
d128e450
JM
43193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43196 * sysdeps/unix/bsd/isatty.c: Likewise.
43197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43200
ff8faaf0 432012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43202
62881be4 43203 [BZ #13563]
31dc8730
AZ
43204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43205 long double comparison inaccuracies.
43206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43208
6fef930c
AS
432092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43210
43211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43213
8f203e6c
JM
432142012-05-04 Joseph Myers <joseph@codesourcery.com>
43215
43216 [BZ #14049]
43217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43218 nonzero digits before rounding a hex value.
43219 * stdlib/tst-strtod.c (tests): Add another test.
43220
5197d9c2
AK
432212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43222
43223 * sysdeps/s390/fpu/libm-test-ulps: Update.
43224
f0c1dedf
AJ
432252012-05-03 Andreas Jaeger <aj@suse.de>
43226
43227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43228 does not get optimized out.
43229 (malloc_opt_barrier): New.
43230
a65ef2ae 432312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43232 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43233
2b942cb7 43234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43235 intermediate file deletion.
2b942cb7 43236 (generated): Add .symlist files.
a65ef2ae 43237
54b71e02
JM
432382012-05-03 Joseph Myers <joseph@codesourcery.com>
43239
43240 [BZ #13775]
43241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43242 Redirect under this condition.
43243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43244 [__USE_GNU] (__dprintf_chk): Not under this condition.
43245 [__USE_GNU] (__vdprintf_chk): Likewise.
43246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43247 under this condition.
43248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43250 [__USE_XOPEN2K8] (vdprintf): Likewise.
43251 [__USE_GNU] (__dprintf_chk): Not under this condition.
43252 [__USE_GNU] (__vdprintf_chk): Likewise.
43253 [__USE_GNU] (dprintf): Likewise.
43254 [__USE_GNU] (vdprintf): Likewise.
43255
d3dfcc41
RM
432562012-05-03 Roland McGrath <roland@hack.frob.com>
43257
43258 * elf/Makefile (common-generated): Set this instead of generated for
43259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43260 $(all-built-dso)-derived lists.
43261
7ac30cc5
AJ
432622012-05-03 Andreas Jaeger <aj@suse.de>
43263
0c51e550
AJ
43264 * sysdeps/i386/fpu/libm-test-ulps: Update.
43265
7ac30cc5
AJ
43266 * FAQ: Removed.
43267 * FAQ.in: Likewise.
43268 * scripts/gen-FAQ.pl: Likewise.
43269 * manual/install.texi (Installation): Point to online location of
43270 FAQ.
43271 * Makefile (files-for-dist): Remove FAQ.
43272 (FAQ): Remove.
43273
d4c2917f
AM
432742012-05-02 Allan McRae <allan@archlinux.org>
43275
43276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43277 (LDFLAGS-reldepmod5.so): Likewise.
43278 (LDFLAGS-reldep6mod1.so): Likewise.
43279 (LDFLAGS-reldep6mod4.so): Likewise.
43280 (LDFLAGS-reldep8mod3.so): Likewise.
43281 (LDFLAGS-unload4mod1.so): Likewise.
43282 (LDFLAGS-unload4mod2.so): Likewise.
43283 (LDFLAGS-tst-initorder): Likewise.
43284 (LDFLAGS-tst-initordera2.so): Likewise.
43285 (LDFLAGS-tst-initordera3.so): Likewise.
43286 (LDFLAGS-tst-initordera4.so): Likewise.
43287 (LDFLAGS-tst-initorderb2.so): Likewise.
43288 (LDFLAGS-noload): Likewise.
43289 (LDFLAGS-next): Likewise.
43290 (LDFLAGS-order2mod1.so): Likewise.
43291 (LDFLAGS-order2mod2.so): Likewise.
43292 (LDFLAGS-tst-initorder2): Likewise.
43293 (LDFLAGS-tst-initorder2a.so): Likewise.
43294 (LDFLAGS-tst-initorder2b.so): Likewise.
43295 (LDFLAGS-tst-initorder2c.so): Likewise.
43296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43297
d77f993f
DM
432982012-05-02 David S. Miller <davem@davemloft.net>
43299
43300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43301
171a70b4
PP
433022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43303
43304 [BZ #14055]
43305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43306
0be196ad
AJ
433072012-05-02 Andreas Jaeger <aj@suse.de>
43308
43309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43310 since we manipulate rounding mode.
43311 (CPPFLAGS-test-idouble.c): Likewise.
43312 (CPPFLAGS-test-ifloat.c): Likewise.
43313 (CFLAGS-test-ldouble.c): Likewise.
43314 (CFLAGS-test-double.c): Likewise.
43315 (CFLAGS-test-float.c): Likewise.
43316 (CFLAGS-test-misc.c): Likewise.
43317 (CFLAGS-test-test-fenv.c): Likewise.
43318
4f9d04aa
AZ
433192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43320
2b942cb7
RM
43321 [BZ #2550]
43322 [BZ #2570]
43323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43324 comparisons to determine direction to adjust input.
4f9d04aa 43325
82a79e7d
RM
433262012-05-01 Roland McGrath <roland@hack.frob.com>
43327
f5a01ca9
RM
43328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43329 output to the target.
43330
90fe4186
RM
43331 * scripts/localplt.awk: New file.
43332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43333 (check-localplt-CFLAGS): Variable removed.
43334 ($(all-built-dso:=.jmprel)): New static pattern rule.
43335 (generated): Add those targets.
43336 (localplt-built-dso): New variable.
43337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43338
43339 * elf/check-localplt.c: File removed.
43340
82397ed6
RM
43341 * scripts/check-execstack.awk: New file.
43342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43343 (check-execstack-CFLAGS): Variable removed.
43344 ($(objpfx)check-execstack.h): Target removed.
43345 ($(objpfx)execstack-default): New target.
43346 (generated): Add that instead of check-execstack.h.
43347 ($(all-built-dso:=.phdr)): New static pattern rule.
43348 (generated): Add those targets.
43349 * elf/check-execstack.c: File removed.
43350
82a79e7d
RM
43351 * scripts/check-textrel.awk: New file.
43352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43353 (check-textrel-CFLAGS): Variable removed.
43354 (all-built-dso): Use := to define.o
43355 ($(all-built-dso:=.dyn)): New static pattern rule.
43356 (generated): Add those targets.
43357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43358 * config.make.in (READELF): New substituted variable.
43359 * elf/check-textrel.c: File removed.
43360
62fde54f 433612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43362
615605c9
JM
43363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43364 allow.
43365 * conform/data/ctype.h-data [C99-based standards] (isblank):
43366 Expect function.
43367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43371 Specify type. Require positive value.
43372 (EILSEQ): Likewise.
43373 (ERANGE): Likewise.
43374 [ISO || POSIX] (EILSEQ): Do not expect.
43375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43376 Specify type. Require positive value.
43377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43454 Require >= 2.
43455 (FLT_ROUNDS): Expect as macro, not constant.
43456 (FLT_MANT_DIG): Use macro-int-constant.
43457 (DBL_MANT_DIG): Likewise.
43458 (LDBL_MANT_DIG): Likewise.
43459 (FLT_DIG): Likewise.
43460 (DBL_DIG): Likewise.
43461 (LDBL_DIG): Likewise.
43462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43463 (DBL_MIN_EXP): Likewise.
43464 (LDBL_MIN_EXP): Likewise.
43465 (FLT_MAX_EXP): Use macro-int-constant.
43466 (DBL_MAX_EXP): Likewise.
43467 (LDBL_MAX_EXP): Likewise.
43468 (FLT_MAX_10_EXP): Likewise.
43469 (DBL_MAX_10_EXP): Likewise.
43470 (LDBL_MAX_10_EXP): Likewise.
43471 (FLT_MAX): Use macro-constant.
43472 (DBL_MAX): Likewise.
43473 (LDBL_MAX): Likewise.
43474 (FLT_EPSILON): Use macro-constant. Give upper bound.
43475 (DBL_EPSILON): Likewise.
43476 (LDBL_EPSILON): Likewise.
43477 (FLT_MIN): Likewise.
43478 (DBL_MIN): Likewise.
43479 (LDBL_MIN): Likewise.
43480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43489 [ISO11] (FLT_TRUE_MIN): Likewise.
43490 [ISO11] (LDBL_TRUE_MIN): Likewise.
43491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43493 (SCHAR_MIN): Use macro-int-constant. Specify type.
43494 (SCHAR_MAX): Likewise.
43495 (UCHAR_MAX): Likewise.
43496 (CHAR_MIN): Likewise.
43497 (CHAR_MAX): Likewise.
43498 (MB_LEN_MAX): Use macro-int-constant.
43499 (SHRT_MIN): Use macro-int-constant. Specify type.
43500 (SHRT_MAX): Likewise.
43501 (USHRT_MAX): Likewise.
43502 (INT_MAX): Likewise.
43503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43504 bound negative.
43505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43506 bound with "U".
43507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43508 bound with "L".
43509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43510 bound negative. Suffix upper bound with "L".
43511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43512 bound with "UL".
43513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43514 Specify type.
43515 [C99-based standards] (LLONG_MAX): Likewise.
43516 [C99-based standards] (ULLONG_MAX): Likewise.
43517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43518 == 0.
43519 [ISO11] (max_align_t): Require type.
43520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43521
c9140a62
JM
43522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43523 from $CFLAGS, without defining away __attribute__ calls.
43524 (checknamespace): Use $CFLAGS_namespace.
43525
9af0bf29
JM
43526 * conform/conformtest.pl (@keywords): Only include C99 keywords
43527 for standards based on C99 or C11.
43528
343222a2
JM
43529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43530 Disable tests.
43531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43532 UNIX98]: Likewise.
43533
661f8cf0
JM
43534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43535 usability of symbols in #if.
43536
ee74b9cb
JM
43537 * conform/conformtest.pl: If macro or constant types start
43538 "promoted:", expect the symbol to be of the following type
43539 promoted by the integer promotions.
62fde54f 43540
aafc49b3
JM
43541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43542 in one place. Also handle "macro-constant".
43543
fefdf574
JM
43544 * conform/conformtest.pl: Only accept expected macro values with
43545 "==". Parse all "macro" lines in one place.
43546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43547
f2d922fe
JM
43548 * conform/conformtest.pl: Handle braced types on "constant" lines
43549 instead of handling "typed-constant".
43550 * conform/data/signal.h-data: Use "constant" instead of
43551 "typed-constant".
43552
d22956c9
JM
43553 * conform/conformtest.pl: Handle "optional-" at start of lines in
43554 one place rather than duplicating several cases. Handle each
43555 format of "macro" line with initial "optional-".
43556
028e2e38
JM
43557 * conform/conformtest.pl: Only accept expected constant or
43558 optional-constant values with "==". Parse all "constant" lines in
43559 one place. Parse all "optional-constant" lines in one place.
43560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43561 * conform/data/fmtmsg.h-data: Likewise.
43562 * conform/data/netinet/in.h-data: Likewise.
43563 * conform/data/tar.h-data: Likewise.
43564 * conform/data/limits.h-data: Use "==" form on "constant" and
43565 "optional-constant" lines.
43566
1b8f2850
JM
43567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43568 Use -std=c99 for XOPEN2K.
43569 (@knownproblems): Remove.
43570 (newtoken): Don't check %isknown.
43571
a05a144b
JM
43572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43573 Do not expect macro.
43574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43604 [XPG3] (acosh): Likewise.
43605 [XPG3] (asinh): Likewise.
43606 [XPG3] (atanh): Likewise.
43607 [XPG3] (cbrt): Likewise.
43608 [XPG3] (expm1): Likewise.
43609 [XPG3] (ilogb): Likewise.
43610 [XPG3] (log1p): Likewise.
43611 [XPG3] (logb): Likewise.
43612 [XPG3] (nextafter): Likewise.
43613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43615 [XPG3] (remainder): Likewise.
43616 [XPG3] (rint): Likewise.
43617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43624 [UNIX98 || XOPEN2K] (scalb): Expect.
43625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43762
73c5ebe3
JM
43763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43764 _XOPEN_SOURCE_EXTENDED for XPG4.
43765
39c33b6c
JM
43766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43767
62fde54f
JM
43768 * Makeconfig (localtime): Remove variable.
43769 (inst_localtime-file): Likewise.
43770
0741d64c
AS
437712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43772
43773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43774 Update.
43775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43776 Update.
43777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43778 Update.
43779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43780 Update.
43781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43782 Update.
43783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43784 Update.
43785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43786 Update.
43787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43788 Update.
43789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43790 Update.
43791
7cb029ee
JM
437922012-05-01 Joseph Myers <joseph@codesourcery.com>
43793
43794 [BZ #2550]
43795 [BZ #2570]
43796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43797 comparisons to determine direction to adjust input.
43798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43801 Likewise.
43802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43803 Likewise.
43804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43805 Likewise.
43806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43808 Likewise.
43809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43810 Likewise.
43811 * math/libm-test.inc (nexttoward_test): Add more tests.
43812
412bd966
AS
438132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43814
43815 [BZ #14040]
43816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43817 in version GLIBC_2.1, not GLIBC_2.0.
43818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43819 Likewise.
43820
9568c0c2
JM
438212012-04-30 Joseph Myers <joseph@codesourcery.com>
43822
adfbc8ac
JM
43823 [BZ #13942]
43824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43825 (1 - x) * (1 + x).
43826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43828 * math/libm-test.inc (acos_test): Add more tests.
43829 (asin_test): Likewise.
43830 * sysdeps/i386/fpu/libm-test-ulps: Update.
43831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43832
5ba3cc69
JM
43833 [BZ #14034]
43834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43835 of square root.
43836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43838 * math/libm-test.inc (acos_test_tonearest): New function.
43839 (acos_test_towardzero): Likewise.
43840 (acos_test_downward): Likewise.
43841 (acos_test_upward): Likewise.
43842 (asin_test_tonearest): Likewise.
43843 (asin_test_towardzero): Likewise.
43844 (asin_test_downward): Likewise.
43845 (asin_test_upward): Likewise.
43846 (main): Call the new functions.
43847 * sysdeps/i386/fpu/libm-test-ulps: Update.
43848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43849
9568c0c2
JM
43850 [BZ #13884]
43851 [BZ #13924]
43852 * math/e_exp10.c: Include <float.h>.
43853 (__ieee754_exp10): Handle underflow here rather than multiplying
43854 large negative argument by M_LN10.
43855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43856 of __ieee754_expf.
43857 * math/e_exp10l.c: Include <float.h>.
43858 (__ieee754_exp10l): Handle underflow here rather than multiplying
43859 large negative argument by M_LN10l.
43860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43861 spurious overflow exception on underflow.
43862
5ac3ea17
MP
438632012-04-29 Marek Polacek <polacek@redhat.com>
43864
43865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43866 (__fortify_function): New macro.
43867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43869 __extern_always_inline.
43870 * libio/bits/stdio2.h: Likewise.
43871 * libio/bits/stdio.h: Likewise.
43872 * string/string.h: Likewise.
43873 * string/bits/string3.h: Likewise.
43874 * include/stdio.h: Likewise.
43875 * stdlib/bits/stdlib.h: Likewise.
43876 * stdlib/stdlib.h: Likewise.
43877 * rt/bits/mqueue2.h: Likewise.
43878 * rt/mqueue.h: Likewise.
43879 * posix/bits/unistd.h: Likewise.
43880 * posix/unistd.h: Likewise.
43881 * io/bits/poll2.h: Likewise.
43882 * io/bits/fcntl2.h: Likewise.
43883 * io/fcntl.h: Likewise.
43884 * io/sys/poll.h: Likewise.
43885 * misc/bits/syslog.h: Likewise.
43886 * misc/bits/syslog-ldbl.h: Likewise.
43887 * misc/sys/syslog.h: Likewise.
43888 * socket/bits/socket2.h: Likewise.
43889 * socket/sys/socket.h: Likewise.
43890 * debug/tst-chk1.c: Likewise.
43891 * wcsmbs/bits/wchar2.h: Likewise.
43892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43893 * wcsmbs/wchar.h: Likewise.
43894
ecf0ebfb
AJ
438952012-04-29 Andreas Jaeger <aj@suse.de>
43896
43897 * Makerules (tests): Remove enable-check-abi protection.
43898 (check-abi-warn): Remove.
43899 (check-abi-%): Remove check-abi-warn usage.
43900
43901 * configure.in: Remove check-abi configure option.
43902 * configure: Regenerated.
43903 * config.make.in (enable-check-abi): Remove.
43904
6d5c57fa
AS
439052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43906
24c5d07e 43907 [BZ #14033]
ded5180a
AS
43908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43909 double functions to double *_finite functions.
43910
7e0d315d
AS
43911 [BZ #13941]
43912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43914 LDBL_MIN_EXP.
43915 * stdio-common/Makefile (tests): Add tst-sprintf3.
43916 * stdio-common/tst-sprintf3.c: New file.
43917
6d5c57fa
AS
43918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43920
0749ff8b
JM
439212012-04-28 Joseph Myers <joseph@codesourcery.com>
43922
43923 * conform/conformtest.pl: Remove duplicate typed-constant
43924 handling.
43925
8dbd5d7b
DM
439262012-04-28 David S. Miller <davem@davemloft.net>
43927
43928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43929 (check-abi-%): Remove AWK script prerequisite and explicit
43930 abilist directory.
43931 (check-abi): Rewrite to just diff the symlist with the abilist.
43932 (config-tls, config-abi-config): Delete, no longer used.
43933 (update-abi-%): Remove AWK script and explicit abilist directory.
43934 (update-abi): Rewrite to simply compare and conditionally copy the
43935 symlist and the sysdep abilist file. Remove update-abi-config
43936 checks.
43937 * abilist/ld.abilist: Remove.
43938 * abilist/libBrokenLocale.abilist: Remove.
43939 * abilist/libanl.abilist: Remove.
43940 * abilist/libcrypt.abilist: Remove.
43941 * abilist/libdl.abilist: Remove.
43942 * abilist/librt.abilist: Remove.
43943 * abilist/libthread_db.abilist: Remove.
43944 * abilist/libutil.abilist: Remove.
43945 * scripts/extract-abilist.awk: Remove.
43946 * scripts/merge-abilist.awk: Remove.
43947 * sysdeps/generic/libcidn.abilist: New file.
43948 * sysdeps/generic/libnss_compat.abilist: New file.
43949 * sysdeps/generic/libnss_db.abilist: New file.
43950 * sysdeps/generic/libnss_dns.abilist: New file.
43951 * sysdeps/generic/libnss_files.abilist: New file.
43952 * sysdeps/generic/libnss_hesiod.abilist: New file.
43953 * sysdeps/generic/libnss_nis.abilist: New file.
43954 * sysdeps/generic/libnss_nisplus.abilist: New file.
43955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43958 file.
43959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43968 file.
43969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43973 file.
43974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43980 file.
43981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43984 file.
43985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43987 New file.
43988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43989 New file.
43990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43991 New file.
43992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43993 New file.
43994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43995 New file.
43996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43997 New file.
43998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43999 New file.
44000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44001 New file.
44002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44003 New file.
44004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44005 New file.
44006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44007 New file.
44008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44009 New file.
44010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44011 New file.
44012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44013 file.
44014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44015 New file.
44016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44017 New file.
44018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44019 file.
44020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44021 New file.
44022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44023 New file.
44024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44025 file.
44026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44027 New file.
44028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44029 New file.
44030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44031 New file.
44032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44033 New file.
44034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44035 New file.
44036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44037 New file.
44038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44040 file.
44041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44042 New file.
44043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44044 file.
44045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44046 file.
44047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44048 file.
44049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44050 file.
44051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44052 file.
44053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44054 New file.
44055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44056 file.
44057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44058 file.
44059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44060 New file.
44061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44062 file.
44063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44065 file.
44066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44067 New file.
44068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44069 file.
44070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44071 file.
44072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44073 file.
44074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44075 file.
44076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44077 file.
44078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44079 New file.
44080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44081 file.
44082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44083 file.
44084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44085 New file.
44086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44087 file.
44088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44091 file.
44092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44104 file.
44105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44106 New file.
44107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44108 file.
44109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44110 file.
44111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44112 file.
44113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44114 file.
44115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44116 file.
44117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44118 New file.
44119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44120 New file.
44121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44122 file.
44123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44124 New file.
44125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44126 file.
44127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44129 file.
44130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44131 New file.
44132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44133 file.
44134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44135 file.
44136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44137 file.
44138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44139 file.
44140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44141 file.
44142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44143 New file.
44144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44145 New file.
44146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44147 file.
44148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44149 New file.
44150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44151 file.
44152
41d73a1b
JM
441532012-04-28 Joseph Myers <joseph@codesourcery.com>
44154
44155 * conform/conformtest.pl: Fix typo in handling typed-constant from
44156 allow-header.
44157
28aeeda4
JM
441582012-04-27 Joseph Myers <joseph@codesourcery.com>
44159
adae8f5e
JM
44160 * README: Cut down references to pre-2.6 Linux kernels and
44161 Linuxthreads. Update lists of configurations in libc and ports
44162 and sort alphabetically. Say "or newer" with Linux kernel version
44163 requirements.
44164
28aeeda4
JM
44165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44166
a462cb63
RA
441672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44168
44169 [BZ #887]
44170 * math/libm-test.inc (logb_test_downward): New test to expose
44171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44172 rounding mode.
44173
6ad3493e
JM
441742012-04-27 Joseph Myers <joseph@codesourcery.com>
44175
44176 [BZ #14027]
44177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44178 to be done.
44179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44181
2ce4f015
JM
441822012-04-26 Joseph Myers <joseph@codesourcery.com>
44183
5aeb141a
JM
44184 * sysdeps/unix/i386/brk.S: Remove file.
44185 * sysdeps/unix/i386/dl-brk.S: Likewise.
44186 * sysdeps/unix/i386/pipe.S: Likewise.
44187 * sysdeps/unix/i386/sigreturn.S: Likewise.
44188 * sysdeps/unix/i386/syscall.S: Likewise.
44189 * sysdeps/unix/i386/vfork.S: Likewise.
44190 * sysdeps/unix/i386/wait.S: Likewise.
44191
7143acae
JM
44192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44194
2ce4f015
JM
44195 * configure.in (arm*-none*): Do not allow without
44196 --enable-hacker-mode.
44197 (netbsd*): Remove case setting base_os.
44198 (386bsd*): Likewise.
44199 (freebsd*): Likewise.
44200 (bsdi*): Likewise.
44201 (osf*): Likewise.
44202 (sunos*): Likewise.
44203 (ultrix*): Likewise.
44204 (newsos*): Likewise.
44205 (dynix*): Likewise.
44206 (*bsd*): Likewise.
44207 (sysv*): Likewise.
44208 (isc*): Likewise.
44209 (esix*): Likewise.
44210 (sco*): Likewise.
44211 (minix*): Likewise.
44212 (irix4*): Likewise.
44213 (irix6*): Likewise.
44214 (solaris[2-9]*): Likewise.
44215 (none): Likewise.
44216 * configure: Regenerated.
44217
0ac229c8
AZ
442182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44219
44220 [BZ #11521]
44221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44222 overflow or cancellation in calculating denominator.
44223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44225 down expression to avoid unexpected rounding in newer GCCs.
44226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44227
33f244f4
DM
442282012-04-26 David S. Miller <davem@davemloft.net>
44229
44230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44231 long-double compat symbols.
44232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44245
cfa1f3e8
DM
442462012-04-25 David S. Miller <davem@davemloft.net>
44247
44248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44249 HWCAP_* values only after the memory barriers have been defined.
44250 (atomic_full_barrier): Define.
44251 (atomic_read_barrier): Define.
44252 (atomic_write_barrier): Define.
44253
6e236b92
SP
442542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44255
44256 * shlib-versions: Add libgcc_s version information.
44257 * sysdeps/generic/libgcc_s.h: Remove.
44258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44259 libgcc_s.h.
44260 * sysdeps/gnu/unwind-resume.c: Likewise.
44261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44262
aab39a09
DM
442632012-04-25 David S. Miller <davem@davemloft.net>
44264
44265 * sysdeps/unix/sparc/brk.S: Delete.
44266 * sysdeps/unix/sparc/dl-brk.S: Delete.
44267 * sysdeps/unix/sparc/pipe.S: Delete.
44268 * sysdeps/unix/sparc/sysdep.S: Delete.
44269 * sysdeps/unix/sparc/sysdep.h: Delete.
44270 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44272 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44274 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44275 (JUMPTARGET): Remove.
44276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44277 sysdeps/unix/sparc/sysdep.h
44278 (ENTRY, END): Remove.
44279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44280
a3cc4f48
JM
442812012-04-25 Joseph Myers <joseph@codesourcery.com>
44282
2ed8cda2
JM
44283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44285 -DIS_IN_build.
44286
35d76d59
JM
44287 * timezone/README: Update upstream location and email address for
44288 tzcode and tzdata.
44289 * timezone/zdump.c: Update from tzcode 2012b.
44290 * timezone/zic.c: Likewise.
44291
a3cc4f48
JM
44292 * configure.in (libc_cv_as_needed): Remove test.
44293 * configure: Regenerated.
44294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44295 conditional definition.
44296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44298 * config.make.in (have-as-needed): Remove variable.
44299
ceab42c3
SP
443002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44301 Paul Pluzhnikov <ppluzhnikov@google.com>
44302
44303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44304 strings correctly.
44305
3ce2865f
CLT
443062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44307
44308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44310 * sysdeps/sh/strlen.S: Likewise.
44311
f37e0d68
JM
443122012-04-24 Joseph Myers <joseph@codesourcery.com>
44313
ae186e9a
JM
44314 * sysdeps/unix/fork.S: Remove file.
44315 * sysdeps/unix/i386/fork.S: Likewise.
44316 * sysdeps/unix/sparc/fork.S: Likewise.
44317
b96914af
JM
44318 * sysdeps/unix/system.c: Remove file.
44319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44320
f37e0d68
JM
44321 * sysdeps/unix/getegid.S: Remove file.
44322 * sysdeps/unix/geteuid.S: Likewise.
44323
87ef29ca
RM
443242012-04-24 Roland McGrath <roland@hack.frob.com>
44325
83bcd236
RM
44326 * scripts/check-localplt.awk: New file.
44327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44328 of diff.
44329 * scripts/data/localplt-generic.data: Add a comment.
44330
87ef29ca
RM
44331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44332 NODE when __dir_mkfile failed.
44333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44334 Reported by Ludovic Courtès <ludo@gnu.org>.
44335
e5a6e567
AJ
443362012-04-24 Andreas Jaeger <aj@suse.de>
44337
44338 * Makerules (common-clean): Also remove gen-as-const-headers
44339 files.
44340
c1820385
JM
443412012-04-24 Joseph Myers <joseph@codesourcery.com>
44342
44343 * Makerules (native-compile): Do not change working directory for
44344 build. Use $(OUTPUT_OPTION) in command.
44345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44346
94e02fc4
AZ
443472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44348
44349 [BZ #13886]
44350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44352 * math/libm-test.inc (floor_test): Add more tests.
44353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44354
3a533ca3
JM
443552012-04-24 Joseph Myers <joseph@codesourcery.com>
44356
940ab4b3
JM
44357 * sysdeps/unix/getdents.c: Remove file.
44358 * sysdeps/unix/sysv/getdents.c: Likewise.
44359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44360
90e037bd
JM
44361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44362 sysdeps/unix/mman/syscalls.list.
44363 (mmap): Likewise.
44364 (mprotect): Likewise.
44365 (msync): Likewise.
44366 (munmap): Likewise.
44367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44368 * sysdeps/unix/mman/syscalls.list: Remove.
44369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44370
3a533ca3
JM
44371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44373 * configure: Regenerated.
44374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44375 $(libgcc_s_suffix).
44376 * config.make.in (libgcc_s_suffix): Remove variable.
44377
1ad743de
JM
443782012-04-23 Joseph Myers <joseph@codesourcery.com>
44379
4ad451e2
JM
44380 * sysdeps/unix/sysv/gethostname.c: Move to ...
44381 * sysdeps/posix/gethostname.c: ... here.
44382
5e37ce39
JM
44383 * sysdeps/unix/execve.S: Remove file.
44384
1ad743de
JM
44385 * sysdeps/unix/_exit.S: Remove file.
44386
4e681b5b
AJ
443872012-04-23 Andreas Jaeger <aj@suse.de>
44388
44389 [BZ #13739]
44390 * manual/Makefile: Remove make dist support, there's no
44391 need for a stand-alone documentation tar ball.
44392 (TEXI2DVI): Define always, it's not in Makeconfig.
44393 (dist): Removed.
44394 (tar-it): Removed.
44395 (edition): Removed.
44396 (glibc-doc-$(edition).tar): Removed
44397 (%.Z): Removed.
44398 (%.gz): Removed.
44399 (%.uu): Removed.
44400 (ETAGS): Remove, it's in Makeconfig.
44401 (move-if-change): Remove, it's in Makeconfig.
44402
38686a03 444032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44404
44405 [BZ #13970]
44406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44409 (strtod_l, strtof_l, strtold_l): Remove __wur.
44410 It is not necessarily an error to ignore strtol's return value.
44411 One can reliably look at the stored endptr to decide whether
44412 the number had valid syntax.
44413
7c0616fa
AJ
444142012-04-21 Andreas Jaeger <aj@suse.de>
44415
803cb6b7 44416 [BZ #13739]
7c0616fa
AJ
44417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44418
b0fe253f
JM
444192012-04-21 Joseph Myers <joseph@codesourcery.com>
44420
44421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44422 * sysdeps/unix/sysv/Versions: Remove file.
44423
8280f22d
MT
444242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44425
44426 [BZ #13927]
44427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44428
75ce411f 444292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44430
44431 [BZ #7064]
44432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44433 version from __vm86.
44434
097d59fa
JM
444352012-04-20 Joseph Myers <joseph@codesourcery.com>
44436
a90f3bcb
JM
44437 * sysdeps/unix/common/lxstat.c: Remove file.
44438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44439
edc7ea78
JM
44440 * sysdeps/unix/sysv/Makefile: Remove file.
44441
cb78c221
JM
44442 * sysdeps/unix/sysv/direct.h: Remove file.
44443
efa6a45f
JM
44444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44451
9c9f2d0c
JM
44452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44453
4541c83b
JM
44454 * sysdeps/unix/xmknod.c: Remove file.
44455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44456
f5d153a0
JM
44457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44458
aa746595
JM
44459 * sysdeps/unix/sysv/i386/time.S: Remove file.
44460
cce5905e
JM
44461 * sysdeps/unix/fxstat.c: Remove file.
44462 * sysdeps/unix/xstat.c: Likewise.
44463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44464
37fa3841
JM
44465 * sysdeps/unix/sysv/sigaction.c: Remove file.
44466
ff1962a3
JM
44467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44468 (sysdep_headers): Remove variable.
44469 [termio.h not in sysdep_headers] (generated): Likewise.
44470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44473 * sysdeps/unix/sysv/tcflow.c: Likewise.
44474 * sysdeps/unix/sysv/tcflush.c: Likewise.
44475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44480
e7740d31
JM
44481 * sysdeps/unix/siglist.c: Remove file.
44482
ee06f18b
JM
44483 * sysdeps/unix/getppid.S: Remove file.
44484
097d59fa
JM
44485 * sysdeps/unix/mkdir.c: Remove file.
44486 * sysdeps/unix/rmdir.c: Likewise.
44487
ff3d51ec
AS
444882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44489
44490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44491 ERR_MAX value.
44492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44493 errlist-compat value.
44494
50f81fd7
DM
444952012-04-18 David S. Miller <davem@davemloft.net>
44496
44497 * sysdeps/generic/memcopy.h (reg_char): Delete.
44498 * debug/strcat_chk.c: Use char, not reg_char.
44499 * debug/strcpy_chk.c: Likewise.
44500 * debug/strncat_chk.c: Likewise.
44501 * debug/strncpy_chk.c: Likewise.
44502 * string/memchr.c: Likewise.
44503 * string/memrchr.c: Likewise.
44504 * string/rawmemchr.c: Likewise.
44505 * string/strcat.c: Likewise.
44506 * string/strchr.c: Likewise.
44507 * string/strchrnul.c: Likewise.
44508 * string/strcmp.c: Likewise.
44509 * string/strcpy.c: Likewise.
44510 * string/strncat.c: Likewise.
44511 * string/strncmp.c: Likewise.
44512 * string/strncpy.c: Likewise.
44513
8ff41c46
WS
445142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44515
44516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44517 __builtin_memcopy is called when src and dest ranges are known to not
44518 overlap.
44519
6b652f46
WS
445202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44521
44522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44524 fwd_align_merge macro call.
44525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44526 bwd_align_merge macro call.
44527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44528
b282631e
WS
445292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44530
44531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44532 bwd_align_merge macros.
44533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44536
95aa737c
DM
445372012-04-18 David S. Miller <davem@davemloft.net>
44538
44539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44540
7a99a614
AJ
445412012-04-18 Andreas Jaeger <aj@suse.de>
44542
44543 [BZ# 6794]
44544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44547
44548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44551
44552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44554 Adjust for changed ldbl-128 files.
44555
44556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44559
e5270c23
DM
445602012-04-17 David S. Miller <davem@davemloft.net>
44561
44562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44563
fb5e92c9
AS
445642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44565
44566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44572
76da7265
AZ
445732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44574
44575 [BZ #6794]
44576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44577 * math/libm-test.inc: Add ilogb errno and exception tests.
44578 * math/w_ilogb.c: New file: ilogb wrapper.
44579 * math/w_ilogbf.c: New file: ilogbf wrapper.
44580 * math/w_ilogbl.c: New file: ilogbl wrapper.
44581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44584 exception being thrown with 0.0 as argument.
44585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44587 exception being thrown with 0.0 as argument.
44588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44590 exception being thrown with 0.0 as argument.
44591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44593 exception being thrown with 0.0 as argument.
44594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44603
0396e69d
PB
446042012-04-17 Petr Baudis <pasky@ucw.cz>
44605
44606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44607 with altivec.
44608
750b5926
MP
446092012-04-16 Marek Polacek <polacek@redhat.com>
44610
44611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44612
751728a1
MP
446132012-04-16 Marek Polacek <polacek@redhat.com>
44614
44615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44616 operands of fdivp instruction.
44617
34a27407
L
446182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44619
44620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44621 * elf/tst-auditmod3b.c: Likewise.
44622 * elf/tst-auditmod4b.c: Likewise.
44623 * elf/tst-auditmod5b.c: Likewise.
44624 * elf/tst-auditmod6b.c: Likewise.
44625 * elf/tst-auditmod6c.c: Likewise.
44626 * elf/tst-auditmod7b.c: Likewise.
44627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44628 * sysdeps/x86_64/preconfigure.in: Likewise.
44629 * sysdeps/x86_64/preconfigure: Regenerated.
44630
7e73e17d
L
446312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44632
44633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44634 __ILP32__.
44635
c7a6ab72
AB
446362012-04-13 Antoine Balestrat <merkil33@gmail.com>
44637
44638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44640
a9e8e0e0
CL
446412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44642
44643 [BZ #13973]
44644 * locale/iso-639.def: Fix gl language name. Spotted by
44645 Yaron Shahrabani.
44646
ec98af7d
RM
446472012-04-12 Roland McGrath <roland@hack.frob.com>
44648
44649 [BZ #2074]
44650 * libio/libio.h (__io_write_fn): Update comment.
44651
247c3ede
PB
446522012-04-12 Petr Baudis <pasky@ucw.cz>
44653
44654 [BZ #2074]
44655 * stdio.texi (Hook Functions): The user provided writer function
44656 is not allowed to return -1.
44657
55939d6d
DM
446582012-04-11 David S. Miller <davem@davemloft.net>
44659
44660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44661
90020f5a
MF
446622012-04-11 Mike Frysinger <vapier@gentoo.org>
44663
44664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44665 Add a leading slash to rtkaio.
44666
288f9098
JM
446672012-04-11 Jim Meyering <meyering@redhat.com>
44668
90020f5a
MF
44669 [BZ #11959]
44670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44671 It is not necessarily an error to ignore fwrite's return
44672 value. One can reliably use ferror to test for errors after
44673 the fact.
288f9098 44674
4be2b570
L
446752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44676
44677 * bits/types.h (__snseconds_t): New type.
44678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44679
44680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44682 (__SNSECONDS_T_TYPE): Likewise.
44683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44684 (__SNSECONDS_T_TYPE): Likewise.
44685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44686 (__SNSECONDS_T_TYPE): Likewise.
44687
288f9098 446882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44689
44690 [BZ #2636]
44691 * manual/time.texi (Processor Time): Return type of times is
44692 elapsed real time since an arbitrary point in the past.
44693 (CPU Time): Move CLK_TCK from here...
44694 (Processor Time): ...to here. Correct description.
44695 * manual/conf.texi (Constants for Sysconf): Correct description of
44696 _SC_CLK_TCK.
44697
d7dd4413
DM
446982012-04-10 David S. Miller <davem@davemloft.net>
44699
44700 [BZ #13967]
44701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44702 where the is a gap between DT_REL(A) and DT_JMPREL.
44703
b46068fc
L
447042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44705
44706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44709
73d65cc3
SP
447102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44711
44712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44714 (dl_main): Handle --inhibit-cache.
44715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44716 _dl_inhibit_cache.
44717 * elf/dl-load.c (_dl_map_object): Use it.
44718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44719
bcc8d661
JM
447202012-04-09 Joseph Myers <joseph@codesourcery.com>
44721
8f9a2fae
JM
44722 [BZ #13872]
44723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44724 (__ieee754_powl): Saturate large exponents rather than testing for
44725 overflow of y*log2(x).
44726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44728 exceptions.
44729
bcc8d661
JM
44730 [BZ #11521]
44731 * math/s_ctan.c: Include <float.h>.
44732 (__ctan): Avoid internal overflow or cancellation in calculating
44733 denominator.
44734 * math/s_ctanf.c: Likewise.
44735 * math/s_ctanl.c: Likewise.
44736 * math/s_ctanh.c: Likewise.
44737 * math/s_ctanhf.c: Likewise.
44738 * math/s_ctanhl.c: Likewise.
44739 * math/libm-test.inc (ctan_test): Add more tests.
44740 (ctanh_test): Likewise.
44741 * sysdeps/i386/fpu/libm-test-ulps: Update.
44742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44743
823fbbb4
AJ
447442012-04-09 Andreas Jaeger <aj@suse.de>
44745
03879793
AJ
44746 [BZ #6894]
44747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44748 is an optional BSD extension.
44749
823fbbb4
AJ
44750 [BZ #10254]
44751 * manual/stdio.texi (Opening Streams): Document additional fopen
44752 parameters.
44753
8de131cb
RM
447542012-04-09 Roland McGrath <roland@hack.frob.com>
44755
44756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44757 %eax without telling the compiler.
44758
c0ed9d7d
CD
447592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44760
44761 [BZ # 13963]
44762 * manual/install.texi: Use sourceware.org.
44763
c483f6b4
JM
447642012-04-09 Joseph Myers <joseph@codesourcery.com>
44765
d7dd9453
JM
44766 [BZ #13873]
44767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44768 (__ieee754_pow): Generate overflow and underflow using huge*huge
44769 and tiny*tiny rather than just returning constant infinity or zero
44770 for large exponents.
44771 * math/libm-test.inc (pow_test): Require overflow exceptions for
44772 applicable cases of large exponents.
44773
c483f6b4
JM
44774 [BZ #706]
44775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44776 (__ieee754_pow): Use iterative multiplication algorithm only for
44777 integer exponents with absolute value below 1024. Check for odd
44778 integer exponents when using algorithm for real exponents.
44779 * math/libm-test.inc (pow_test): Add more tests.
44780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44781
d2de7579
JM
447822012-04-08 Joseph Myers <joseph@codesourcery.com>
44783
44784 [BZ #13705]
44785 * math/libm-test.inc (exp_test): Do not allow overflow exception
44786 on underflow test.
44787
f77f1232
AJ
447882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44789
44790 [BZ #13705]
44791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44792 instead of __kernel_standard_f.
44793
3884932b
MF
447942012-04-08 Mike Frysinger <vapier@gentoo.org>
44795
44796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44797 * sysdeps/x86_64/memset_chk.S: Likewise.
44798
54472e9c
AJ
447992012-04-08 Andreas Jaeger <aj@suse.de>
44800
6ab0fbfc
AJ
44801 [BZ #10153]
44802 * manual/startup.texi (Environment Access): Describe return value
44803 for putenv and setenv.
44804
61efba8c
AJ
44805 [BZ #6895]
44806 * manual/filesys.texi (Directory Entries): Add description for
44807 DT_LNK.
44808
95c3f29a
AJ
44809 [BZ #6890]
44810 * manual/filesys.texi (Directory Entries): Clarify that it's file
44811 system not operating system in the description of DT_UNKNOWN.
44812
54472e9c
AJ
44813 [BZ #6578]
44814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44815
624254b1
SC
448162012-04-08 Stephen Compall <s11@member.fsf.org>
44817
44818 [BZ #6649]
44819 * manual/llio.texi (Opening and Closing Files): Add cross
44820 reference to explain mode argument.
44821
1e4920e0
MF
448222012-04-07 Mike Frysinger <vapier@gentoo.org>
44823
44824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44825 * sysdeps/x86_64/memset_chk.S: Likewise.
44826
5ed848f3
DM
448272012-04-07 David S. Miller <davem@davemloft.net>
44828
44829 * elf/elf.h (R_SPARC_WDISP10): Define.
44830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44831 R_SPARC_SIZE32.
44832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44833 R_SPARC_SIZE64 and R_SPARC_H34.
44834
96154cd8
CD
448352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44836
44837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44838 conditions and remove no longer applicable assertion.
44839
9904dc47
L
448402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44841
44842 * bits/byteswap.h: Include <features.h>.
44843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44845
f8887d0a
L
448462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44847
44848 * bits/byteswap.h (__bswap_16): Removed.
44849 Include <bits/byteswap-16.h> to get __bswap_16.
44850 * sysdeps/i386/bits/byteswap.h: Likewise.
44851 * sysdeps/s390/bits/byteswap.h: Likewise.
44852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44853 * bits/byteswap-16.h: New file.
44854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44857 * string/Makefile (headers): Add bits/byteswap-16.h.
44858
62470f60
PP
448592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44860
44861 [BZ #13895]
44862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44863 extra indirection.
44864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44865 * nss/tst-nss-static.c: New.
44866
4dad7bab
RM
448672012-04-06 Robert Millan <rmh@gnu.org>
44868
44869 [BZ #6486]
44870 * manual/llio.texi (File Position Primitive): lseek
44871 refers to WHENCE when it really means OFFSET.
44872
e9142a17
AJ
448732012-04-06 Andreas Jaeger <aj@suse.de>
44874
2c040eff
AJ
44875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44876 strncmp declarations.
44877
e9142a17
AJ
44878 * abilist/libc.abilist: Add __poll and __ppoll.
44879
ff9f1c5f
DM
448802012-04-05 David S. Miller <davem@davemloft.net>
44881
dcd2ae90
DM
44882 * scripts/check-local-headers.sh: Accept a host triplet in the
44883 path matched by the exclude regexp.
44884
993eb054
DM
44885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44886 definition.
44887 * sysdeps/powerpc/powerpc32/dl-machine.h
44888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44889 * sysdeps/s390/s390-32/dl-machine.h
44890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44891 * sysdeps/sparc/sparc32/dl-machine.h
44892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44893 * sysdeps/sparc/sparc64/dl-machine.h
44894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44895
ff9f1c5f
DM
44896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44897 lazy binding.
48e2e132 44898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44899 undefined symbol errors.
44900
48e2e132 44901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44902 DT_NEEDED entries.
44903
e80d6f94
MM
449042012-04-05 Michael Matz <matz@suse.de>
44905
44906 [BZ #13592]
44907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44908
349fa79f
AJ
449092012-04-05 Andreas Jaeger <aj@suse.de>
44910
44911 [BZ #13908]
44912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44913 comment.
44914
f402708f
KK
449152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44916
44917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44918 which ROUND is no valid rounding mode.
44919
2ecccfc9
KK
449202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44921
44922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44923 read again.
44924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44925
8a53f50f
KK
449262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44927
44928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44929 an exception using FPU order intentionally.
44930
449312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44932
44933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44937
d653abb7
SJ
449382012-04-05 Simon Josefsson <simon@josefsson.org>
44939
44940 [BZ #12340]
44941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44942 EINVAL when BUFLEN is too smal.
44943
c3b1bf7d
TS
449442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44945
44946 [BZ #13553]
44947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44949
b1aa60f3
AJ
449502012-04-03 Andreas Jaeger <aj@suse.de>
44951
c3b1bf7d 44952 [BZ #13938]
67f60a26
AJ
44953 * manual/setjmp.texi (System V contexts): Fix sentence.
44954
b1aa60f3
AJ
44955 [BZ #13926]
44956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44957 New macro for this case.
44958 [!__GNUC__] (__bswap_64): New inline function for this case.
44959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44960 * bits/byteswap.h: Likewise.
44961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44962 ull, guard with __GLIBC_HAVE_LONG_LONG.
44963
44964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44965 __GLIBC_HAVE_LONG_LONG.
44966
44967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44969
39c59c35
TMQMF
449702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44971
44972 [BZ #13691]
44973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44974 inptr and inend, rather than using last_ch.
44975
135ffda8
DM
449762012-04-02 David S. Miller <davem@davemloft.net>
44977
44978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44979 * stdio-common/printf-parse.h (read_int): Change return type to
44980 'int', return -1 on INT_MAX overflow.
44981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44983 overflows INT_MAX. Check for overflow of in-format-string precision
44984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44985 SIZE_MAX not INT_MAX for integer overflow test.
44986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44987 skip the construct in the format string but do not record anything.
44988 * stdio-common/bug22.c: Adjust to test both width/prevision
44989 INT_MAX overflow as well as total length INT_MAX overflow. Check
44990 explicitly for proper errno values.
44991
228c019e
TS
449922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44993
302cadd3
TS
44994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44995 CHAR_MAX.
44996 * string/test-strcmp.c [! WIDE]: Likewise.
44997 * time/tst-mktime2.c: Likewise for INT_MAX.
44998 * string/test-string.h: #include <sys/param.h> for MIN.
44999
228c019e
TS
45000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45001 * sysdeps/i386/init-first.c (init): Likewise.
45002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45004 * sysdeps/sh/init-first.c (init): Likewise.
45005
cfa633f5
UD
450062012-04-01 Ulrich Drepper <drepper@gmail.com>
45007
45008 * po/ru.po: Update from translation team.
d1635ef8 45009 * po/vi.po: Likewise.
cfa633f5 45010
6cd0a5ea
SP
450112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45012
45013 * resolv/nss_dns/dns-host.c: Merge copyright years.
45014
4b43400f
LD
450152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45016
45017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45018 Optimize memcpy with prefetch if
45019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45020 src, dst pointers have unequal 16 byte alignments.
45021
48c41d04
SP
450222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45023
45024 [BZ #13928]
45025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45026 from a CNAME entry and return the minimum ttl for the query.
45027 (gaih_getanswer_slice): Likewise.
45028
b8dc394d
JL
450292012-03-30 Jeff Law <law@redhat.com>
45030
45031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45032 due to long keys.
45033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45035
2f5a5ed0
JL
45036 * resolv/nss_dns/dns-host.c: Update copyright year.
45037
1d39e359
UD
450382012-03-30 Ulrich Drepper <drepper@gmail.com>
45039
c030f70c 45040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45041 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45042
1d39e359
UD
45043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45044 comments for sendmmsg.
45045
450462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45047
45048 [BZ #13691]
45049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45050 with only 1 character between 0x0041 and 0x01b0.
45051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45052 * wcsmbs/tst-mbsnrtowcs.c: New file.
45053
20fde227
DM
450542012-03-29 David S. Miller <davem@davemloft.net>
45055
45056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45057 small copies by hand.
45058
984a4237
JL
450592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45060
45061 [BZ #13761]
57f41c40
AS
45062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45063 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45064 group memberships.
984a4237 45065
18c9d62b
DM
450662012-03-28 David S. Miller <davem@davemloft.net>
45067
88d85d4f
DM
45068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45069 that branches into memcpy.
45070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45075 bits.
45076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45077 implementation too.
45078 * sysdeps/sparc/mempcpy.S: New file.
45079
e5aa83e1
DM
45080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45081 the IFUNC routine in the libc case.
45082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45083
88570753
DM
45084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45092
249d7567
DM
45093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45094 loop to 256 bytes instead of 64 bytes and fix test signedness.
45095
18c9d62b
DM
45096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45097 * sysdeps/sparc/sparc32/Makefile: rather than here...
45098 * sysdeps/sparc/sparc64/Makefile: and here.
45099
05f3d1f6
UD
451002012-03-28 Ulrich Drepper <drepper@gmail.com>
45101
45102 * malloc/mallocbug.c: Avoid warnings about unused variables.
45103
86ae07a8
JL
451042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45105
45106 [BZ #13760]
45107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45108 in the right place. Discard and retry query if response is
45109 larger than input buffer size.
45110
41bf21a1
JM
451112012-03-28 Joseph Myers <joseph@codesourcery.com>
45112
d6270972
JM
45113 [BZ #369]
45114 [BZ #2678]
45115 [BZ #3866]
45116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45117 x for large integer exponent.
45118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45120 sign of result as needed afterwards.
45121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45123 result for underflowing pow the same as for overflow.
45124 (__kernel_standard_l): Handle powl overflow and underflow here
45125 rather than calling __kernel_standard.
45126 * math/libm-test.inc (pow_test): Add more tests.
45127
414fca03 45128 [BZ #3868]
41bf21a1
JM
45129 [BZ #13879]
45130 [BZ #13910]
45131 [BZ #13911]
45132 [BZ #13912]
45133 [BZ #13913]
45134 [BZ #13915]
45135 [BZ #13916]
45136 [BZ #13917]
45137 [BZ #13918]
45138 [BZ #13919]
45139 [BZ #13920]
45140 [BZ #13921]
45141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45143 (__kernel_standard_l): New function.
45144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45145 __kernel_standard.
45146 * math/w_acosl.c (__acosl): Likewise.
45147 * math/w_asinl.c (__asinl): Likewise.
45148 * math/w_atan2l.c (__atan2l): Likewise.
45149 * math/w_atanhl.c (__atanhl): Likewise.
45150 * math/w_coshl.c (__coshl): Likewise.
45151 * math/w_exp10l.c (__exp10l): Likewise.
45152 * math/w_exp2l.c (__exp2l): Likewise.
45153 * math/w_fmodl.c (__fmodl): Likewise.
45154 * math/w_hypotl.c (__hypotl): Likewise.
45155 * math/w_j0l.c (__j0l, __y0l): Likewise.
45156 * math/w_j1l.c (__j1l, __y1l): Likewise.
45157 * math/w_jnl.c (__jnl, __ynl): Likewise.
45158 * math/w_lgammal.c (__lgammal): Likewise.
45159 * math/w_log10l.c (__log10l): Likewise.
45160 * math/w_log2l.c (__log2l): Likewise.
45161 * math/w_logl.c (__logl): Likewise.
45162 * math/w_powl.c (__powl): Likewise.
45163 * math/w_remainderl.c (__remainderl): Likewise.
45164 * math/w_scalbl.c (sysv_scalbl): Likewise.
45165 * math/w_sinhl.c (__sinhl): Likewise.
45166 * math/w_sqrtl.c (__sqrtl): Likewise.
45167 * math/w_tgammal.c (__tgammal): Likewise.
45168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45170 * math/libm-test.inc (acos_test): Add more tests.
45171 (acosh_test): Likewise.
45172 (asin_test): Likewise.
45173 (atanh_test): Likewise.
45174 (exp_test): Likewise.
45175 (exp10_test): Likewise.
45176 (exp2_test): Likewise.
45177 (expm1_test): Likewise.
45178 (lgamma_test): Likewise.
45179 (log_test): Likewise.
45180 (log10_test): Likewise.
45181 (log1p_test): Likewise.
45182 (log2_test): Likewise.
45183 (pow_test): Do not allow some spurious overflow exceptions.
45184 (sqrt_test): Add more tests.
45185 (tgamma_test): Likewise.
45186 (y0_test): Likewise.
45187 (y1_test): Likewise.
45188 (yn_test): Likewise.
45189
dd62fda6
AB
451902012-03-27 Anton Blanchard <anton@samba.org>
45191
45192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45193 MAP_HUGETLB.
45194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45197
1e3cdfda
AJ
451982012-03-27 David S. Miller <davem@davemloft.net>
45199
b855ab85
DM
45200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45201
1e3cdfda
AJ
45202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45203 have-as-vis3 check.
45204
452052012-03-27 Andreas Jaeger <aj@suse.de>
45206
45207 * sysdeps/x86_64/elf/configure.in: Moved to ...
45208 * sysdeps/x86_64/configure.in: ... here.
45209 * sysdeps/x86_64/elf/start.S: Moved to ...
45210 * sysdeps/x86_64/start.S: ... here.
45211 * sysdeps/x86_64/elf/configure: Delete.
45212
45213 * sysdeps/x86_64/configure.in: Merge contents from
45214 sysdeps/i386/configure.in (without i686 check).
45215
45216 * sysdeps/i386/elf/Versions: Merge into ...
45217 * sysdeps/i386/Versions: ... this.
45218 * sysdeps/i386/elf/Versions: Delete file.
45219 * sysdeps/i386/elf/start.S: Moved to ...
45220 * sysdeps/i386/start.S: ...here.
45221 * sysdeps/i386/elf/configure.in: Merge into...
45222 * sysdeps/i386/configure.in: ...here.
45223 * sysdeps/i386/elf/configure.in: Delete file.
45224 * sysdeps/i386/elf/configure: Delete file.
45225
45226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45227 * debug/backtracesyms.c: ... here.
45228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45229 * debug/backtracesymsfd.c: ... here.
45230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45231 * sysdeps/generic/ifunc-sel.h: ... here.
45232
45233 * sysdeps/unix/i386/start.c: Delete file.
45234 * sysdeps/unix/sparc/start.c: Delete file.
45235 * sysdeps/unix/start.c: Delete file.
45236
45237 * sysdeps/sh/elf/configure.in: Moved to ...
45238 * sysdeps/sh/configure.in: ... here.
45239 * sysdeps/sh/elf/start.S: Moved to ...
45240 * sysdeps/sh/start.S: ... here.
45241 * sysdeps/sh/elf/configure: Delete file.
45242
45243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45248 * sysdeps/powerpc/powerpc64/start.S: here.
45249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45254
45255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45258 * sysdeps/powerpc/powerpc32/start.S: ... here.
45259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45262
45263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45264 * sysdeps/powerpc/ifunc-sel.h: ... here.
45265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45267
45268 * sysdeps/sparc/elf/configure.in: Moved to ...
45269 * sysdeps/sparc/configure.in: ... here.
45270 * sysdeps/sparc/elf/configure: Delete file.
45271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45272 * sysdeps/sparc/sparc32/start.S: ... here.
45273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45274 * sysdeps/sparc/sparc64/start.S: ... here.
45275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45276 * sysdeps/sparc/sparc32/Makefile: ... this.
45277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45278 * sysdeps/sparc/sparc64/Makefile: ... this.
45279
45280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45285 * sysdeps/s390/s390-32/setjmp.S: ... here.
45286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45287 * sysdeps/s390/s390-32/configure.in: ... here.
45288 * sysdeps/s390/s390-32/elf/configure: Delete file.
45289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45290 * sysdeps/s390/s390-32/start.S: ... here.
45291
45292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45297 * sysdeps/s390/s390-64/setjmp.S: ... here.
45298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45299 * sysdeps/s390/s390-64/configure.in: ... here
45300 * sysdeps/s390/s390-64/elf/configure: Delete file.
45301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45302 * sysdeps/s390/s390-64/start.S: ... here.
45303 * sysdeps/s390/s390-64/elf/configure: Delete.
45304
45305 * configure.in: Remove support for elf directories in sysdeps.
45306
45307 * configure: Regenerated.
45308 * sysdeps/i386/configure: Regenerated.
45309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45311 * sysdeps/s390/s390-32/configure: Regenerated.
45312 * sysdeps/s390/s390-64/configure: Regenerated.
45313 * sysdeps/sh/configure: Regenerated.
45314 * sysdeps/sparc/configure: Regenerated.
45315 * sysdeps/x86_64/configure: Regenerated.
45316
a3f61311
AS
453172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45318
c876e002
AS
45319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45320
a3f61311
AS
45321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45322 denormal result into account.
45323
ac4c54f0
RM
453242012-03-25 Roland McGrath <roland@hack.frob.com>
45325
45326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45327 Reported by Allan McRae <allan@archlinux.org>.
45328
6a9b9c02
JL
453292012-03-23 Jeff Law <law@redhat.com>
45330
45331 * nss/getnssent.c (__nss_getent): Fix typo.
45332
4c42a0c1
DM
453332012-03-23 David S. Miller <davem@davemloft.net>
45334
45335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45336
1532c7ac
L
453372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45338
45339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45340 to pad to uint64_t for each field.
45341 (dl_tls_index): Replace unsigned long with uint64_t.
45342
3ff42526
PP
453432012-03-23 Daniel Jacobowitz <dmj@google.com>
45344 Paul Pluzhnikov <ppluzhnikov@google.com>
45345
45346 [BZ #6528]
45347 * grp/Makefile (otherlibs): Don't set it.
45348 * inet/Makefile (otherlibs): Likewise.
45349 * login/Makefile (otherlibs): Likewise.
45350 * nscd/Makefile (otherlibs): Likewise.
45351 * posix/Makefile (otherlibs): Likewise.
45352 * pwd/Makefile (otherlibs): Likewise.
45353 * rt/Makefile (otherlibs): Likewise.
45354 * sunrpc/Makefile (otherlibs): Likewise.
45355 * nss/Makefile (otherlibs): Likewise.
45356 Add libnss_files to routines and static-only-routines.
45357 ($(objpfx)getent): Remove rule.
45358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45359 static-only-routines.
45360
7c69cd14
JM
453612012-03-22 Joseph Myers <joseph@codesourcery.com>
45362
45363 [BZ #13892]
45364 * math/s_cexp.c: Include <float.h>.
45365 (__cexp): Handle exp result overflowing not necessarily
45366 overflowing both real and imaginary parts of result.
45367 * math/s_cexpf.c: Likewise.
45368 * math/s_cexpl.c: Likewise.
45369 * math/libm-test.inc (cexp_test): Add more tests.
45370 * sysdeps/i386/fpu/libm-test-ulps: Update.
45371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45372
81b035fe
L
453732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45374
45375 * include/link.h (ELFW): New macro.
45376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45378
1da7940c
L
453792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45380
45381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45382 with uint64_t.
45383
b749dbb9
L
453842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45385
45386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45387 declaration.
45388 (struct La_x32_retval): Likewise.
45389
2ff87f3f
L
453902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45391
45392 * sysdeps/x86_64/preconfigure.in: New file.
45393 * sysdeps/x86_64/preconfigure: New generated file.
45394
c0df8e69
JM
453952012-03-22 Joseph Myers <joseph@codesourcery.com>
45396
48e44791
JM
45397 [BZ #13824]
45398 * math/e_exp2l.c: Include <float.h>.
45399 (__ieee754_exp2l): Handle overflow and underflow cases
45400 separately. Only pass fractional part of argument to
45401 __ieee754_expl.
45402 * math/libm-test.inc (exp2_test): Add more tests.
45403
c0df8e69
JM
45404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45405 negating x to take absolute value.
45406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45407 Likewise.
45408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45410 Likewise.
45411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45412 computing low part if x was negated.
45413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45414
c8e43ba7
L
454152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45416
45417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45418 la_x32_gnu_pltexit.
45419 (pltexit): Cast int_retval to ptrdiff_t.
45420 * elf/tst-auditmod3b.c: Likewise.
45421 * elf/tst-auditmod4b.c: Likewise.
45422 * elf/tst-auditmod5b.c: Likewise.
45423 * elf/tst-auditmod6b.c: Likewise.
45424 * elf/tst-auditmod6c.c: Likewise.
45425 * elf/tst-auditmod7b.c: Likewise.
45426
45427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45428 and x32_gnu_pltexit.
45429
45430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45431 __ELF_NATIVE_CLASS.
45432 (La_x32_regs): New macro.
45433 (La_x32_retval): Likewise.
45434 (la_x32_gnu_pltenter): New function prototype.
45435 (la_x32_gnu_pltexit): Likewise.
45436
7998fa78
AS
454372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45438
dcb33988
AS
45439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45440 exponent.
45441
233fc563
AS
45442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45443
7998fa78
AS
45444 * configure.in (libc_cv_cc_nofma): Check for option to disable
45445 generation of FMA instructions.
45446 * configure: Regenerate.
45447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45448 * sysdeps/ieee754/dbl-64/Makefile: New file.
45449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45450 Remove brandred-fma4.
45451 (CFLAGS-brandred-fma4.c): Remove.
45452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45454 define.
45455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45456 define.
45457
8e95c99a
L
454582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45459
45460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45461 LLONG_MAX != LONG_MAX.
45462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45463 (_fitoa_word): Likewise.
45464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45465 LLONG_MAX != LONG_MAX.
45466 * stdio-common/_itowa.h: Include <_itoa.h>.
45467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45470 only if not defined.
45471 (_ITOA_WORD_TYPE): Likewise.
45472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45474
6f4db457
DM
454752012-03-21 David S. Miller <davem@davemloft.net>
45476
45477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45478
7785fe5a
L
454792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45480
45481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45482 of x86_64 when setting libc_cv_slibdir, libdir and
45483 libc_cv_localedir.
45484 * sysdeps/unix/sysv/linux/configure: Regenerated.
45485
4535cd55
JM
454862012-03-21 Joseph Myers <joseph@codesourcery.com>
45487
45488 * manual/lang.texi (Old Varargs): Remove section.
45489 (How Variadic): Update menu.
45490 (va_start): Do not mention varargs.h.
45491
17228132
TS
454922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45493 Joseph Myers <joseph@codesourcery.com>
45494
45495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45496 link test.
45497 * configure: Regenerated.
45498
8149f976
TS
454992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45500
05f3d1f6
UD
45501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45503 conformtest.pl
8149f976 45504
1a4ac776
JM
455052012-03-21 Joseph Myers <joseph@codesourcery.com>
45506
be22ce65
JM
45507 * NOTES: Remove.
45508 * Makefile (files-for-dist): Remove NOTES.
45509 (NOTES): Remove rule.
45510 * README: Don't refer to NOTES.
45511 * manual/creature.texi: Don't include macros.texi.
45512 * manual/intro.texi (creature.texi): Remove comment referring to
45513 NOTES.
45514
40b601fb
JM
45515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45517 * configure: Regenerated.
45518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45519 LIBC_TRY_CC_OPTION.
45520 (libc_cv_as_i686): Likewise.
45521 (libc_cv_cc_avx): Likewise.
45522 (libc_cv_cc_sse2avx): Likewise.
45523 (libc_cv_cc_fma4): Likewise.
45524 (libc_cv_cc_novzeroupper): Likewise.
45525 * sysdeps/i386/configure: Regenerated.
45526
1a4ac776
JM
45527 [BZ #13883]
45528 * sysdeps/i386/fpu/s_cexp.S: Remove.
45529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45531 * math/libm-test.inc (cexp_test): Add more tests.
45532 * sysdeps/i386/fpu/libm-test-ulps: Update.
45533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45534
a458e7fe
AM
455352012-03-21 Allan McRae <allan@archlinux.org>
45536
45537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45538
0cb7efc5
JM
455392012-03-21 Joseph Myers <joseph@codesourcery.com>
45540
45541 [BZ #13871]
45542 * math/w_exp2.c: Do not include <float.h>.
45543 (o_threshold, u_threshold): Remove.
45544 (__exp2): Calculate result before checking finiteness and calling
45545 __kernel_standard.
45546 * math/w_exp2f.c: Likewise.
45547 * math/w_exp2l.c: Likewise.
45548 * math/libm-test.inc (exp2_test): Require overflow exception for
45549 1e6 input.
2460d3aa
JM
45550
45551 [BZ #3866]
45552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45553 range of signed 64-bit integers before using fistpll. Remove
45554 checks for whether integers fit in mantissa bits.
45555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45556 the range of signed 32-bit integers before using fistpl. Remove
45557 checks for whether integers fit in mantissa bits.
45558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45559 (__ieee754_powl): Test for y outside the range of signed 64-bit
45560 integers before using fistpll. Reduce 64-bit values to 63-bit
45561 ones as needed.
45562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45563 divide-by-zero is raised for zero to large negative powers.
45564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45565 (__ieee754_powl): Test for y outside the range of signed 64-bit
45566 integers before using fistpll. Reduce 64-bit values to 63-bit
45567 ones as needed.
45568 * math/libm-test.inc (pow_test): Add more tests.
45569
eb96ffb0
L
455702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45571
45572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45573 <stdio-common/_itoa.h>.
45574 * debug/segfault.c: Likewise.
45575 * elf/dl-cache.c: Likewise.
45576 * elf/dl-minimal.c: Likewise.
45577 * elf/dl-misc.c: Likewise.
45578 * elf/dl-sysdep.c: Likewise.
45579 * elf/dl-version.c: Likewise.
45580 * elf/rtld.c: Likewise.
45581 * hurd/hurdsock.c: Likewise.
45582 * hurd/lookup-retry.c: Likewise.
45583 * malloc/malloc.c: Likewise.
45584 * malloc/mtrace.c: Likewise.
45585 * nscd/nscd_getgr_r.c: Likewise.
45586 * nscd/nscd_getpw_r.c: Likewise.
45587 * nscd/nscd_getserv_r.c: Likewise.
45588 * posix/getopt_init.c: Likewise.
45589 * posix/wordexp.c: Likewise.
45590 * stdio-common/_itoa.c: Likewise.
45591 * stdio-common/printf_fphex.c: Likewise.
45592 * stdio-common/vfprintf.c: Likewise.
45593 * string/_strerror.c: Likewise.
45594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45595 * sysdeps/i386/i686/hp-timing.h: Likewise.
45596 * sysdeps/mach/_strerror.c: Likewise.
45597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45598 * sysdeps/mach/hurd/sethostid.c: Likewise.
45599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45600 * sysdeps/mach/xpg-strerror.c: Likewise.
45601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45622
45623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45624
45625 * stdio-common/_itoa.h: Moved to ...
45626 * sysdeps/generic/_itoa.h: Here.
45627
45628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45629
45630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45631 instead of "_itoa.h" and "_itowa.h".
45632 * stdio-common/vfprintf.: Likewise.
45633
d1af992d
L
456342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45635
45636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45637 <bits/wordsize.h>.
45638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45639 (__signbit): Likwise.
45640 (llrintf): Likwise.
45641 (llrint): Likwise.
45642
114883e0
L
456432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45644
45645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45646 __WORDSIZE != 64.
45647
c135cc1b
JM
456482012-03-20 Joseph Myers <joseph@codesourcery.com>
45649
45650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45651 OVERFLOW_EXCEPTION_OK.
45652 * math/libm-test.inc ("Philosophy"): Update comment about
45653 exception testing.
45654 (OVERFLOW_EXCEPTION): Define.
45655 (OVERFLOW_EXCEPTION_OK): Likewise.
45656 (INVALID_EXCEPTION_OK): Renumber.
45657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45658 (IGNORE_ZERO_INF_SIGN): Likewise.
45659 (test_exceptions): Handle FE_OVERFLOW.
45660 (exp10_test): Expect overflow exceptions.
45661 (exp2_test): Likewise.
45662 (expm1_test): Likewise.
45663 (nextafter_test): Likewise.
45664 (pow_test): Likewise.
45665 (scalbn_test): Likewise.
45666 (scalbln_test): Likewise.
45667
95443d88
L
456682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45669
45670 * sysdeps/x86_64/bits/atomic.h
45671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45672 64bit integer.
45673 (atomic_exchange_acq): Likewise.
45674 (__arch_exchange_and_add_body): Likewise.
45675 (__arch_add_body): Likewise.
45676 (atomic_add_negative): Likewise.
45677 (atomic_add_zero): Likewise.
45678
490df6c4
L
456792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45680
c2722551 45681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45683
5e52b189
L
456842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45685
45686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45687 Check __x86_64__ instead of __WORDSIZE.
45688
a9879d4c
L
456892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45690
45691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45692
5df98260
DM
456932012-03-19 David S. Miller <davem@davemloft.net>
45694
e1497744
DM
45695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45696
5df98260
DM
45697 * sysdeps/sparc/fpu/fenv_private.h: New file.
45698 * sysdeps/sparc/fpu/math_private.h: Use it.
45699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45700 Remove.
57f41c40 45701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45702 (libc_feholdexcept_setroundl): Remove.
45703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45704 Remove.
45705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45707
b4c35121
L
457082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45709
45710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45711 int64_t instead of long int.
45712 (INSERT_WORDS64): Likwise.
45713
56965fd7
L
457142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45715
45716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45717 _Unwind_GetCFA return to _Unwind_Ptr first.
45718
83d1aec8
JM
457192012-03-19 Joseph Myers <joseph@codesourcery.com>
45720
1897ad44
JM
45721 [BZ #13629]
45722 * math/s_clog.c: Include <float.h>.
45723 (__clog): Scale large or subnormal inputs.
45724 * math/s_clogf.c: Likewise.
45725 * math/s_clogl.c: Likewise.
45726 * math/s_clog10.c: Include <float.h>.
45727 (M_LOG10_2): Define.
45728 (__clog10): Scale large or subnormal inputs.
45729 * math/s_clog10f.c: Likewise.
45730 * math/s_clog10l.c: Likewise.
45731 * math/libm-test.inc (clog_test): Add more tests.
45732 (clog10_test): Likewise.
45733 * sysdeps/i386/fpu/libm-test-ulps: Update.
45734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45735
7726d6a9
JM
45736 [BZ #11451]
45737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45738 x and y.
45739 * math/libm-test.inc (atan2_test): Add another test.
45740
83d1aec8
JM
45741 * Makerules (common-objdir-compile): Remove.
45742 * sysdeps/unix/Makefile (config-generated): Do not add
45743 $(unix-generated) to variable.
45744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45746 Remove rule.
45747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45748 Likewise.
45749 [generic bits/local_lim.h] (before-compile): Do not append to
45750 variable.
45751 [generic bits/local_lim.h] (common-generated): Likewise.
45752 [generic sys/param.h] (before-compile): Do not append to variable.
45753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45757 include.
45758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45760 [generic sys/param.h] ($(addprefix
45761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45762 [generic sys/param.h] (common-generated): Do not append to
45763 variable.
45764 [generic sys/param.h] (sysdep_headers): Likewise.
45765 [generic bits/errno.h] (before-compile): Do not append to
45766 variable.
45767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45768 rule.
45769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45772 [generic bits/errno.h] (common-generated): Do not append to
45773 variable.
45774 [generic bits/ioctls.h] (before-compile): Do not append to
45775 variable.
45776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45777 rule.
45778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45781 rule.
45782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45785 [generic bits/ioctls.h] (common-generated): Do not append to
45786 variable.
45787 [generic sys/syscall.h] (syscall.h): Remove variable.
45788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45789 rule.
45790 [generic sys/syscall.h] (before-compile): Do not append to
45791 variable.
45792 [generic sys/syscall.h] (common-generated): Likewise.
45793 * sysdeps/unix/errnos-tmpl.c: Remove file.
45794 * sysdeps/unix/errnos.awk: Likewise.
45795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45796 * sysdeps/unix/ioctls.awk: Likewise.
45797 * sysdeps/unix/mk-local_lim.c: Likewise.
45798 * sysdeps/unix/snarf-ioctls: Likewise.
45799
4851a949
RH
458002012-03-19 Richard Henderson <rth@twiddle.net>
45801
bd37f2ee
RH
45802 * sysdeps/i386/fpu/fenv_private.h: New file.
45803 * sysdeps/i386/fpu/math_private.h: Use it.
45804 (math_opt_barrier, math_force_eval): Remove.
45805 (libc_feholdexcept_setround_53bit): Remove.
45806 (libc_feupdateenv_53bit): Remove.
45807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45808 (math_opt_barrier, math_force_eval): Remove.
45809 (libc_feholdexcept): Remove.
45810 (libc_feholdexcept_setround): Remove.
45811 (libc_fetestexcept, libc_fesetenv): Remove.
45812 (libc_feupdateenv_test): Remove.
45813 (libc_feupdateenv, libc_feholdsetround): Remove.
45814 (libc_feresetround): Remove.
45815
d0adc922
RH
45816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45818
0fe0f1f8
RH
45819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45821 (libc_feupdateenv_testl): New.
45822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45823 (libc_feupdateenv_testf): New.
45824 (libc_feupdateenv): Use libc_feupdateenv_test.
45825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45827
eb92c487
RH
45828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45831 (libc_feresetround_noex): New.
45832 (libc_feresetround_noexf): New.
45833 (libc_feresetround_noexl): New.
45834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45838 SET_RESTORE_ROUND.
45839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45841 (__cos): Likewise.
45842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45844 SET_RESTORE_ROUND_NOEX.
45845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45846 SET_RESTORE_ROUND_NOEXF.
45847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45849 (libc_feholdsetroundf): New.
45850 (libc_feresetround, libc_feresetroundf): New.
45851
7d2e8012
RH
45852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45855
b4dabbb4
RH
45856 * sysdeps/generic/math_private.h: Include <fenv.h>.
45857 (default_libc_feholdexcept): New.
45858 (default_libc_feholdexcept_setround): New.
45859 (default_libc_fesetenv, default_libc_feupdateenv): New.
45860 (libc_feholdexcept): Only define if undefined.
45861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45863 (libc_feholdexcept_setroundl): Likewise.
45864 (libc_feholdexcept_setround_53bit): Likewise.
45865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45868 (libc_feupdateenv_53bit): Likewise.
45869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45870 (libc_feholdexcept): Convert from macro to inline function.
45871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45872 (libc_fesetenv, libc_feupdateenv): Likewise.
45873
4851a949
RH
45874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45875 not previously defined.
45876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45880 * sysdeps/ieee754/flt-32/math_private.h: New file.
45881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45882 math_private.h below SET_FLOAT_WORD.
45883 (__isnan, __isinf_ns, __finite): Remove.
45884 (__isnanf, __isinf_nsf, __finitef): Remove.
45885
e79d442e
AS
458862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45887
45888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45889
90b80344
DM
458902012-03-17 David S. Miller <davem@davemloft.net>
45891
45892 [BZ #6471]
45893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45894 for 2.16.
45895
edc21804
DM
458962012-03-16 David S. Miller <davem@davemloft.net>
45897
77e927af
DM
45898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45899 warnings.
45900
374976dd
DM
45901 [BZ #6471]
45902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45903 properly.
45904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45906 sysdep_routines when subdir is sysvipc.
45907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45908 __getshmlba helper.
45909
edc21804
DM
45910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45911
473c3ef3
L
459122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45913
45914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45915 [__LP64__].
45916
eb0f39b6
L
459172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45918
45919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45921 (__lround): Renamed to ...
45922 (__llround): This. Replace long int with long long int.
45923 Define lround functions as aliases of llround functions.
45924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45925
6b6cd74b
L
459262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45927
45928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45930 adresses to uintptr_t. Replace "long int" and "unsigned long
45931 int" with "greg_t" on va_arg.
45932
f1a77b01
L
459332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45934
45935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45937
45938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45939 Move e_machine check before EI_CLASS check. Handle x32
45940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45942 SKIP_EM_IA_64 and include
45943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45944
45945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45947 (add_system_dir): New macro.
45948
45949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45951
11b90b9f
JM
459522012-03-16 Joseph Myers <joseph@codesourcery.com>
45953
c36e1d23
JM
45954 [BZ #2551]
45955 [BZ #2552]
45956 [BZ #2553]
45957 [BZ #2554]
45958 [BZ #2562]
45959 [BZ #2563]
45960 [BZ #2565]
45961 [BZ #2566]
45962 [BZ #2576]
45963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45964 (y0): Likewise.
45965 * math/w_j0f.c (j0f): Likewise.
45966 (y0f): Likewise.
45967 * math/w_j0l.c (__j0l): Likewise.
45968 (__y0l): Likewise.
45969 * math/w_j1.c (j1): Likewise.
45970 (y1): Likewise.
45971 * math/w_j1f.c (j1f): Likewise.
45972 (y1f): Likewise.
45973 * math/w_j1l.c (__j1l): Likewise.
45974 (__y1l): Likewise.
45975 * math/w_jn.c (jn): Likewise.
45976 (yn): Likewise.
45977 * math/w_jnf.c (jnf): Likewise.
45978 (ynf): Likewise.
45979 * math/w_jnl.c (__jnl): Likewise.
45980 (__ynl): Likewise.
45981 * math/libm-test.inc (j0_test): Add more tests.
45982 (j1_test): Likewise.
45983 (jn_test): Likewise. Add trailing semicolon to existing test.
45984 (y0_test): Likewise.
45985 (y1_test): Likewise.
45986 * sysdeps/i386/fpu/libm-test-ulps: Update.
45987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45988
11b90b9f
JM
45989 [BZ #13851]
45990 [BZ #13854]
45991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45995 (__tanl): Set errno for infinite argument.
45996 * sysdeps/i386/fpu/mptan.c: Remove.
45997 * sysdeps/i386/fpu/s_tan.S: Likewise.
45998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46001 * math/libm-test.inc (tan_test): Add more tests and enable more
46002 tests for double and long double.
46003 * sysdeps/i386/fpu/libm-test-ulps: Update.
46004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46005
6a1bd2a1
JK
460062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46007
46008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46010
10a803e0
RM
460112012-03-16 Roland McGrath <roland@hack.frob.com>
46012
46013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46014 * configure.in: Use it for both main tree and add-ons.
46015 * configure: Regenerated.
46016
f196c7f7
L
460172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46018
46019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46020
8848d99d
JM
460212012-03-16 Joseph Myers <joseph@codesourcery.com>
46022
96cbe7f4
JM
46023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46024 in comment.
46025
8848d99d
JM
46026 [BZ #13851]
46027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46032 infinite argument.
46033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46035 != 0 for prec == 2.
46036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46047 * math/libm-test.inc (cos_test): Add more tests and enable more
46048 tests for long double.
46049 (sin_test): Likewise.
46050 (sincos_test): Likewise.
46051 * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46053
dd7f4703
DM
460542012-03-16 David S. Miller <davem@davemloft.net>
46055
46056 * sysdeps/sparc/fpu/math_private.h: New file.
46057
006f1daa
DM
460582012-03-15 David S. Miller <davem@davemloft.net>
46059
c0c83bc8
DM
46060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46061 file.
e6a62e18 46062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46064 file.
e6a62e18
DM
46065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46071 sysdep routines.
46072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46073
88cb87d9
DM
46074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46076
006f1daa 46077 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46079 sparc-ifunc.h
006f1daa 46080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46082 Likewise.
46083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46084 Likewise.
006f1daa
DM
46085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46089 Likewise.
006f1daa
DM
46090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46095 Likewise.
46096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46097 Likewise.
006f1daa
DM
46098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46122
11e0098e
AS
461232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46124
46125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46126 scaling.
46127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46128
e85b09d0
AJ
461292012-03-15 Andreas Jaeger <aj@suse.de>
46130
46131 [BZ #13852]
46132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46133 ieee754/flt-32 implementation for sin, cos and sincos.
46134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46139 ieee754/flt-32 implementation for tan.
46140
46141 * math/libm-test.inc (cos_test): Enable some large input tests for
46142 float as well
46143 (sin_test): Likewise.
46144 (sincos_test): Likewise.
46145 (tan_test): Add tests for large input.
46146
46147 * sysdeps/i386/fpu/libm-test-ulps: Update.
46148
81c64153
AJ
461492012-03-15 Andreas Jaeger <aj@suse.de>
46150
46151 [BZ #13658]
46152 * math/libm-test.inc (cos_test): Add more test cases.
46153 (sin_test): Likewise.
46154 (sincos_test): Likewise.
46155
7bbfa5c6
AJ
461562012-03-15 Andreas Jaeger <aj@suse.de>
46157
46158 [BZ #13837]
46159 * math/libm-test.inc (cos_test): Add a test case for large input
46160 value.
46161 (sin_test): Likewise.
46162 (sincos_test): Likewise.
46163
57f41c40
AS
461642012-03-15 Andreas Jaeger <aj@suse.de>
46165 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46166
46167 [BZ #13658]
0671f479 46168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46170 * sysdeps/i386/fpu/branred.c: Likewise.
46171 * sysdeps/i386/fpu/dosincos.c: Likewise.
46172 * sysdeps/i386/fpu/mpa.c: Likewise.
46173 * sysdeps/i386/fpu/s_cos.S: Likewise.
46174 * sysdeps/i386/fpu/s_sin.S: Likewise.
46175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46176 * sysdeps/i386/fpu/sincos32.c: Likewise.
46177
46178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46179 Define.
46180 (libc_feupdateenv_53bit): Define.
46181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46182 Define.
46183 (libc_feupdateenv_53bit): Define.
46184
46185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46186 53 bit (without extend i386 double precision).
46187
46188 * math/libm-test.inc (sincos_test): Add tests for large input.
46189 (sin): Likewise.
46190 (cos): Likewise.
46191
46192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46193
9cad04ea
AS
461942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46195
46196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46197
f7062b9a
DM
461982012-03-15 David S. Miller <davem@davemloft.net>
46199
46200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46216 file.
f7062b9a 46217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46219 file.
f7062b9a 46220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46222 file.
f7062b9a 46223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46225 file.
f7062b9a
DM
46226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46228 fmin/fmax sysdep routines.
46229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46230
7bd951ff
DM
462312012-03-14 David S. Miller <davem@davemloft.net>
46232
559398ab
DM
46233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46262 routines.
46263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46264 file.
559398ab 46265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46267 file.
559398ab 46268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46270 file.
559398ab 46271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46273 file.
559398ab 46274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46276 file.
559398ab 46277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46279 file.
46280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46281 file.
46282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46283 file.
46284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46285 file.
46286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46287 New file.
46288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46289 file.
46290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46291 file.
559398ab 46292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46294 file.
559398ab 46295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46297 file.
559398ab 46298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46300 file.
559398ab 46301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46303 VIS3 routines.
559398ab
DM
46304
46305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46306 New file.
46307
5a1c1e32
DM
46308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46309
eae47a36
DM
46310 * sysdeps/sparc/configure.in: New file.
46311 * sysdeps/sparc/configure: Generate.
46312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46313 * configure: Regenerate.
46314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46315 * config.make.in (have-as-vis3): New.
46316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46317 available use -Av9d instead of -Av9a.
46318 * sysdeps/sparc/sparc64/Makefile: Likewise.
46319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46321 New file.
46322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46323 file.
46324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46325 New file.
46326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46327 file.
eae47a36
DM
46328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46333
c0c83bc8
DM
46334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46335 fzeros/fnegs to load 0x80000000 into a float register instead of
46336 using the stack.
7bd951ff
DM
46337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46338
bd951ccb
JM
463392012-03-14 Joseph Myers <joseph@codesourcery.com>
46340
46341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46342 bits/syscall.h.
46343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46345 ($(inst_includedir)/bits/syscall.h): Remove rule.
46346 ($(objpfx)bits/syscall.d): Include instead of
46347 $(objpfx)syscall-list.d.
46348 (generated): Change syscall-list.h and syscall-list.d to
46349 bits/syscall.h and bits/syscall.d.
46350
bb4e6db2
RM
463512012-03-14 Roland McGrath <roland@hack.frob.com>
46352
46353 [BZ #13846]
46354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46355
aa4a2ae1
JM
463562012-03-14 Joseph Myers <joseph@codesourcery.com>
46357
e456826d
JM
46358 [BZ #13841]
46359 * math/s_csqrt.c: Include <float.h>.
46360 (__csqrt): Scale large or subnormal inputs.
46361 * math/s_csqrtf.c: Likewise.
46362 * math/s_csqrtl.c: Likewise.
46363 * math/libm-test.inc (csqrt_test): Add more tests.
46364 * sysdeps/i386/fpu/libm-test-ulps: Update.
46365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46366
aa4a2ae1
JM
46367 [BZ #13840]
46368 * math/libm-test.inc (hypot_test): Add more tests.
46369
7c10fd35
DM
463702012-03-13 David S. Miller <davem@davemloft.net>
46371
46372 [BZ #13840]
46373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46374 double-precision for the calculation instead of scaling.
46375
f453b98b
JM
463762012-03-13 Joseph Myers <joseph@codesourcery.com>
46377
46378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46379 manipulate bits before adding and subtracting TWO52[sx].
46380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46382 Likewise.
46383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46384
09a3453f
DM
463852012-03-13 David S. Miller <davem@davemloft.net>
46386
8e59da90
DM
46387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46390 rtld-global-offsets.h
46391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46392
2a8ab7f2
DM
46393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46394 large parameters.
46395
10f62770
DM
46396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46397
5f0bdb18
DM
46398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46399 'err' in the ifdef scope in which it is actually used.
46400
09a3453f
DM
46401 * nss/nss_db/db-init.c: Include string.h
46402
b4b2eb5e
DM
464032012-03-12 David S. Miller <davem@davemloft.net>
46404
98bb2f1c
DM
46405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46406 masking out of the most significant byte of random value used.
46407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46408 Fix coding style in previous change.
46409
b4b2eb5e
DM
46410 * sysdeps/unix/sysv/linux/kernel-features.h
46411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46413 expression.
46414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46415 later.
46416
6e226b09
DM
464172012-03-11 David S. Miller <davem@davemloft.net>
46418
a1bcbd40
DM
46419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46422 for 'resultvar' otherwise things get truncated on 64-bit.
46423
cb9d6174
DM
46424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46425 Fix masking out of the most significant byte of random value used.
46426
6e226b09
DM
46427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46428
058c132d
AS
464292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46430
46431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46432
2d2cd515
DM
464332012-03-09 David S. Miller <davem@davemloft.net>
46434
46435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46436 variables with appropriate CPP guards.
57f41c40
AS
46437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46438 from the frame pointer, not the stack pointer. Correct layout
46439 comments. Fix test on resulting framesize and the management of
46440 the outregs buffer for pltexit. Preserve floating point return
46441 values across _dl_call_pltexit call.
2d2cd515
DM
46442 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46443 framesize and the management of the outregs buffer for pltexit.
46444 Preserve floating point return values across _dl_call_pltexit
46445 call.
57f41c40
AS
46446 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46447 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46448 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46449 (print_exit): Fix format string for return register value.
46450
9a07f9d0
JM
464512012-03-10 Joseph Myers <joseph@codesourcery.com>
46452
46453 * sunrpc/Makefile (others): Add rpcgen.
46454 ($(objpfx)rpcgen): Remove special build rule and dependency on
46455 libc.
46456 * sunrpc/rpcgen.c: New file.
46457
547b5e30
PE
464582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46459
c524201a
PE
46460 [BZ #13673]
46461 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46462 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46463 * sysdeps/i386/crti.S: Likewise.
46464 * sysdeps/i386/crtn.S: Likewise.
46465 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46466 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46467 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46468 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46469 * sysdeps/sh/crti.S: Likewise.
46470 * sysdeps/sh/crtn.S: Likewise.
46471 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46472
7b6235f2
PE
46473 [BZ #13673]
46474 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46475 with URL.
46476 * locale/programs/locfile-kw.gperf: Likewise.
46477 * locale/programs/charmap-kw.h: Regenerated.
46478 * locale/programs/locfile-kw.h: Likewise.
46479
547b5e30
PE
46480 [BZ #13673]
46481 * intl/plural.y: Replace FSF snail mail address with URL.
46482 * intl/plural.c: Regenerated.
46483
5f0a5dae
RH
464842012-03-09 Richard Henderson <rth@twiddle.net>
46485
46486 * include/math_private.h: Remove file.
46487 * math/math_private.h: Move file ...
46488 * sysdeps/generic/math_private.h: ... here.
46489
b8c03620
RH
46490 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46491 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46492 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46493
4e234f5d 46494 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46495 and <math_private.h>.
46496 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46497 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46498 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46499 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46500 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46501 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46507 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46508 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46510 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46511 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46517 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46518 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46520 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46521 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46522 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46523 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46526 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46529 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46541 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46542 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46543 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46544 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46545 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46546 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46547 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46550 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46551 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46552 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46553 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46555 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46557 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46560 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46561 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46562 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46563 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46564 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46565 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46567 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46570 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46584 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46585 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46586 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46587 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46589 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46590 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46600 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46601 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46602 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46603 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46610 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46611 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46612 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46613 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46614 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46615 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46616 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46617 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46618 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46619 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46621 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46623 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46624 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46625 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46626 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46627 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46629 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46630 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46631 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46632 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46634 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46637 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46638 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46639 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46640 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46644 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46645 * sysdeps/ieee754/k_standard.c: Likewise.
46646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46653 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46662 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46669 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46671 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46673 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46676 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46677 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46679 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46683 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46684 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46685 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46686 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46688 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46689 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46690 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46691 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46692 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46693 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46694 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46696 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46697 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46698 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46699 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46700 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46701 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46702 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46703 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46713 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46716 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46718 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46719 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46723 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46728 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46729 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46731 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46732 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46733 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46737 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46738 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46739 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46740 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46741 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46742 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46743 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46744 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46745 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46747 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46750 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46762 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46765 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46766 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46767 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46768 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46773 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46776 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46778 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46781 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46788 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46794 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46795 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46798 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46806 * sysdeps/ieee754/s_lib_version.c: Likewise.
46807 * sysdeps/ieee754/s_matherr.c: Likewise.
46808 * sysdeps/ieee754/s_signgam.c: Likewise.
46809 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46811 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46812 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46813 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46814 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46815 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46816 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46817 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46818 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46819 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46820 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46821 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46822 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46823 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46824 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46825 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46826 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46827 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46830
1991fa03
JM
468312012-03-09 Joseph Myers <joseph@codesourcery.com>
46832
46833 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46834 * sunrpc/rpc_main.c: Likewise.
46835 * sunrpc/rpc_svcout.c: Likewise.
46836
60d6f5a6
DM
468372012-03-09 David S. Miller <davem@davemloft.net>
46838
46839 * include/math_private.h: New file.
46840
4962050e
JM
468412012-03-09 Joseph Myers <joseph@codesourcery.com>
46842
02a6f887
JM
46843 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46844 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46845 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46846 from <bits/socket_type.h>.
46847 (enum __socket_type): Don't define here.
46848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46850 bits/socket_type.h.
46851
c6e013c1
JM
46852 [BZ #13566]
46853 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46854 checking __USE_GNU.
46855
4962050e
JM
46856 * Makerules ($(inst_includedir)/%.h): New rule.
46857 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46858 (install-others): Remove variable setting.
46859 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46860
38842f45
RH
468612012-03-08 Richard Henderson <rth@twiddle.net>
46862
67bb6da6
RH
46863 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46864 from macro to inline function; merge with the
46865 !__LIBC_INTERNAL_MATH_INLINES version.
46866 (__ieee754_sqrtf): Likewise.
46867
15194b4b
RH
46868 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46869 to inline function.
46870 (__rintf, __floor, __floorf): Likewise.
46871
64e21ede
RH
46872 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46873 macro to inline function.
46874 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46875
38842f45
RH
46876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46877 not <math/math_private.h>.
46878
c64bf5fe
DM
468792012-03-08 David S. Miller <davem@davemloft.net>
46880
46881 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46882 copyright year.
46883 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46884
82d86f28
TS
468852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46886
46887 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46888 normalization.
46889 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46890 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46891
aea5d727
UD
468922012-03-08 Ulrich Drepper <drepper@gmail.com>
46893
46894 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46895 be defined individually, they must be defined as a block. Define
46896 S for printing a string instead of hidint the different by using a
46897 macro for adding the 'l'.
46898 * stdio-common/tst-fphex-wide.c: Adjust.
46899
70bca0a3
MP
469002012-03-07 Marek Polacek <polacek@redhat.com>
46901
46902 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46903
65b81130
MP
469042012-03-08 Marek Polacek <polacek@redhat.com>
46905
46906 [BZ #13806]
46907 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46908 * stdio-common/tst-fphex.c: Define a few macros to make the
46909 test reusable. Use them.
46910 * stdio-common/tst-fphex-wide.c: New file.
46911
07037eeb
JM
469122012-03-08 Joseph Myers <joseph@codesourcery.com>
46913
a7a93d50
JM
46914 [BZ #6911]
46915 * manual/macros.texi (gnusystems): New macro.
46916 (nongnusystems): Likewise.
46917 (gnulinuxhurdsystems): Likewise.
46918 (gnuhurdsystems): Likewise..
46919 (gnulinuxsystems): Likewise.
46920 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46921 variants of the GNU system, not "GNU system".
46922 * manual/conf.texi: Likewise.
46923 * manual/errno.texi: Likewise. Update example of errno macro
46924 expansion.
46925 * manual/filesys.texi: Likewise.
46926 (getumask): Document as specific to GNU/Hurd.
46927 * manual/install.texi: Likewise. Reword some references to
46928 GNU/Linux.
46929 * manual/intro.texi: Likewise.
46930 * manual/io.texi: Likewise.
46931 (File Name Portability): Detail which constraints are inapplicable
46932 to all GNU systems and which are only inapplicable to GNU/Hurd.
46933 * manual/job.texi: Likewise.
46934 * manual/llio.texi: Likewise.
46935 (O_NOCTTY): Document as present on GNU/Linux.
46936 * manual/maint.texi: Likewise.
46937 * manual/memory.texi: Likewise.
46938 * manual/pattern.texi: Likewise.
46939 * manual/pipe.texi: Likewise.
46940 * manual/process.texi: Likewise.
46941 * manual/resource.texi: Likewise.
46942 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46943 child on GNU/Hurd.
46944 * manual/setjmp.texi: Likewise.
46945 * manual/signal.texi: Likewise.
46946 * manual/startup.texi: Likewise.
46947 * manual/stdio.texi: Likewise.
46948 * manual/terminal.texi: Likewise.
46949 (ONLCR): Document as POSIX.
46950 (OXTABS): Document availability on GNU/Linux as XTABS.
46951 (ONOEOT): Document availability separately from other bits.
46952 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46953 * manual/time.texi: Likewise.
46954 * manual/users.texi: Likewise.
46955 * INSTALL: Regenerated.
46956 * sysdeps/gnu/errlist.c: Regenerated.
46957
07037eeb
JM
46958 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46959 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46960 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46961 puts.
46962 * configure: Regenerated.
46963
d1d3431a
JM
469642012-03-07 Joseph Myers <joseph@codesourcery.com>
46965
af6a1e37
JM
46966 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46967 default includes instead of AC_HEADER_CHECK.
46968 * sysdeps/i386/configure: Regenerated.
46969
d1d3431a
JM
46970 [BZ #10716]
46971 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46972 * math/s_cacoshf.c (__cacoshf): Likewise.
46973 * math/s_cacoshl.c (__cacoshl): Likewise.
46974 * math/s_casinh.c (__casinh): Set signs of result from argument.
46975 * math/s_casinhf.c (__casinhf): Likewise.
46976 * math/s_casinhl.c (__casinhl): Likewise.
46977 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46978 (casinh_test): Add more tests.
46979 * sysdeps/i386/fpu/libm-test-ulps: Update.
46980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46981
482ff4da
UD
469822012-03-07 Ulrich Drepper <drepper@gmail.com>
46983
872fda05
UD
46984 * po/zh_TW.po: Update from translation team.
46985
a4300c7a
UD
46986 * login/Makefile (distribute): Remove variable.
46987 * catgets/Makefile: Likewise.
46988 * mach/Makefile: Likewise.
46989 * malloc/Makefile: Likewise.
46990 * misc/Makefile: Likewise.
46991 * iconv/Makefile: Likewise.
46992 * nscd/Makefile: Likewise.
46993 * hurd/Makefile: Likewise.
46994 * manual/Makefile: Likewise.
46995 * locale/Makefile: Likewise.
46996 * intl/Makefile: Likewise.
46997 * conform/Makefile: Likewise.
46998 * nss/Makefile: Likewise.
46999 * time/Makefile: Likewise.
47000 * soft-fp/Makefile: Likewise.
47001 * dirent/Makefile: Likewise.
47002 * gmon/Makefile: Likewise.
47003 * po/Makefile: Likewise.
47004 * rt/Makefile: Likewise.
47005 * socket/Makefile: Likewise.
47006 * math/Makefile: Likewise.
47007 * signal/Makefile: Likewise.
47008 * debug/Makefile: Likewise.
47009 * elf/Makefile: Likewise.
47010 * timezone/Makefile: Likewise.
47011 * stdlib/Makefile: Likewise.
47012 * iconvdata/Makefile: Likewise.
47013 * sunrpc/Makefile: Likewise.
47014 * io/Makefile: Likewise.
47015 * argp/Makefile: Likewise.
47016 * inet/Makefile: Likewise.
47017 * hesiod/Makefile: Likewise.
47018 * grp/Makefile: Likewise.
47019 * csu/Makefile: Likewise.
47020 * wctype/Makefile: Likewise.
47021 * crypt/Makefile: Likewise.
47022 * libio/Makefile: Likewise.
47023 * string/Makefile: Likewise.
47024 * nis/Makefile: Likewise.
47025 * resolv/Makefile: Likewise.
47026 * stdio-common/Makefile: Likewise.
47027 * wcsmbs/Makefile: Likewise.
47028 * dlfcn/Makefile: Likewise.
47029 * posix/Makefile: Likewise.
47030
3b7c4e74 47031 [BZ #6959]
482ff4da
UD
47032 * timezone/Makefile: Don't install timezone files, just the programs
47033 and scripts.
47034
f72ed77d
UD
470352012-03-06 Ulrich Drepper <drepper@gmail.com>
47036
a000466f
UD
47037 * nss/databases.def: Add missing gshadow entry.
47038
f72ed77d
UD
47039 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47040
a53b7a4e
MP
470412012-03-06 Marek Polacek <polacek@redhat.com>
47042
47043 [BZ #13726]
47044 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47045 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47046 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47047 * stdio-common/tst-long-dbl-fphex.c: New file.
47048
e9258400
DM
470492012-03-06 David S. Miller <davem@davemloft.net>
47050
47051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47052 (set_obp_int): New function.
47053 (get_obp_int): New function.
47054 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47055 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47056 Avoid unused variable warnings on 'val' and use builtin_expect.
47057 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47058 __builtin_expect.
e9258400
DM
47059 (INLINE_CLONE_SYSCALL): Likewise.
47060
3bd2c723
DM
470612012-03-05 David S. Miller <davem@davemloft.net>
47062
47063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47064
bbb78d03
AS
470652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47066
884c5db4
AS
47067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47068
bbb78d03
AS
47069 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47070 only for |x| >= 40.
47071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47072
1c9f702a 470732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47074
47075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47076 Replace gettimeofday with __vdso_gettimeofday.
47077
7be16f82
RM
47078 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47079 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47080 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47081
47082 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47083 time with __vdso_time.
47084
ed58a00f
JM
470852012-03-05 Joseph Myers <joseph@codesourcery.com>
47086
47087 * manual/lang.texi (size_t): Note types to which size_t may be
47088 equivalent with the GNU C Library, but do not describe when
47089 differences between them are significant.
47090
30ee4ced
AJ
470912012-03-05 Andreas Jaeger <aj@suse.de>
47092
47093 * sysdeps/i386/fpu/libm-test-ulps: Update.
47094
b7cd39e8
JM
470952012-03-05 Joseph Myers <joseph@codesourcery.com>
47096
47097 [BZ #3976]
47098 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47099 (__ieee754_pow): Save and restore rounding mode and use
47100 round-to-nearest for main computations.
47101 * math/libm-test.inc (pow_test_tonearest): New function.
47102 (pow_test_towardzero): Likewise.
47103 (pow_test_downward): Likewise.
47104 (pow_test_upward): Likewise.
47105 (main): Call the new functions.
47106 * sysdeps/i386/fpu/libm-test-ulps: Update.
47107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47108
47109 [BZ #3976]
47110 * math/libm-test.inc (cosh_test_tonearest): New function.
47111 (cosh_test_towardzero): Likewise.
47112 (cosh_test_downward): Likewise.
47113 (cosh_test_upward): Likewise.
47114 (sinh_test_tonearest): Likewise.
47115 (sinh_test_towardzero): Likewise.
47116 (sinh_test_downward): Likewise.
47117 (sinh_test_upward): Likewise.
47118 (main): Call the new functions.
47119 * sysdeps/i386/fpu/libm-test-ulps: Update.
47120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47121
6c6a98c9
TV
471222012-03-05 Tom de Vries <tom@codesourcery.com>
47123
47124 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47125 default stack guard is set in last bytes.
47126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47127
21bb2d2e 471282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47129
21bb2d2e 47130 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47131
21bb2d2e
AJ
47132 [BZ #13656]
47133 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47134 possibly allocate from heap instead of stack.
47135 * stdio-common/bug-vfprintf-nargs.c: New file.
47136 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47137
c6922934
AS
471382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47139
47140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47141
bc957d53
MP
471422012-03-03 Marek Polacek <polacek@redhat.com>
47143
47144 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47145 * math/math_private.h: Likewise.
47146 * stdlib/tst-strtod.c: Likewise.
47147 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47148 * sysdeps/x86_64/bits/atomic.h: Likewise.
47149
6358490d
DM
471502012-03-02 David S. Miller <davem@davemloft.net>
47151
47152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47156 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47157 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47158 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47159 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47160
01ae168d
RM
471612012-03-02 Roland McGrath <roland@hack.frob.com>
47162
d9a17c07
RM
47163 [BZ #13792]
47164 * manual/examples/README: New file, says the example source files
47165 can be used under GPL>=2.
47166 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47167 line containing just "*/".
47168 * manual/examples/add.c: Add copyright header (GPL>=2).
47169 * manual/examples/argp-ex1.c: Likewise.
47170 * manual/examples/argp-ex2.c: Likewise.
47171 * manual/examples/argp-ex3.c: Likewise.
47172 * manual/examples/argp-ex4.c: Likewise.
47173 * manual/examples/atexit.c: Likewise.
47174 * manual/examples/db.c: Likewise.
47175 * manual/examples/dir.c: Likewise.
47176 * manual/examples/dir2.c: Likewise.
47177 * manual/examples/execinfo.c: Likewise.
47178 * manual/examples/filecli.c: Likewise.
47179 * manual/examples/filesrv.c: Likewise.
47180 * manual/examples/fmtmsgexpl.c: Likewise.
47181 * manual/examples/genpass.c: Likewise.
47182 * manual/examples/inetcli.c: Likewise.
47183 * manual/examples/inetsrv.c: Likewise.
47184 * manual/examples/isockad.c: Likewise.
47185 * manual/examples/longopt.c: Likewise.
47186 * manual/examples/memopen.c: Likewise.
47187 * manual/examples/memstrm.c: Likewise.
47188 * manual/examples/mkfsock.c: Likewise.
47189 * manual/examples/mkisock.c: Likewise.
47190 * manual/examples/mygetpass.c: Likewise.
47191 * manual/examples/pipe.c: Likewise.
47192 * manual/examples/popen.c: Likewise.
47193 * manual/examples/rprintf.c: Likewise.
47194 * manual/examples/search.c: Likewise.
47195 * manual/examples/select.c: Likewise.
47196 * manual/examples/setjmp.c: Likewise.
47197 * manual/examples/sigh1.c: Likewise.
47198 * manual/examples/sigusr.c: Likewise.
47199 * manual/examples/stpcpy.c: Likewise.
47200 * manual/examples/strdupa.c: Likewise.
47201 * manual/examples/strftim.c: Likewise.
47202 * manual/examples/strncat.c: Likewise.
47203 * manual/examples/subopt.c: Likewise.
47204 * manual/examples/swapcontext.c: Likewise.
47205 * manual/examples/termios.c: Likewise.
47206 * manual/examples/testopt.c: Likewise.
47207 * manual/examples/testpass.c: Likewise.
47208 * manual/examples/timeval_subtract.c: Likewise.
47209
01ae168d
RM
47210 [BZ #13792]
47211 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47212 function to ...
47213 * manual/timeval_subtract.c.texi: ... here, new file.
47214
49efa33d
DM
472152012-03-02 David S. Miller <davem@davemloft.net>
47216
47217 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47218
28afd92d
JM
472192012-03-02 Joseph Myers <joseph@codesourcery.com>
47220
804360ed
JM
47221 [BZ #3976]
47222 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47223 (__sin): Save and restore rounding mode and use round-to-nearest
47224 for all computations.
47225 (__cos): Save and restore rounding mode and use round-to-nearest
47226 for all computations.
47227 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47228 <fenv.h>.
47229 (tan): Save and restore rounding mode and use round-to-nearest for
47230 all computations.
47231 * math/libm-test.inc (cos_test_tonearest): New function.
47232 (cos_test_towardzero): Likewise.
47233 (cos_test_downward): Likewise.
47234 (cos_test_upward): Likewise.
47235 (sin_test_tonearest): Likewise.
47236 (sin_test_towardzero): Likewise.
47237 (sin_test_downward): Likewise.
47238 (sin_test_upward): Likewise.
47239 (tan_test_tonearest): Likewise.
47240 (tan_test_towardzero): Likewise.
47241 (tan_test_downward): Likewise.
47242 (tan_test_upward): Likewise.
47243 (main): Call the new functions.
47244 * sysdeps/i386/fpu/libm-test-ulps: Update.
47245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47246
a6d06d7b
JM
47247 [BZ #10135]
47248 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47249 small n, then large n, before computing and testing k+n.
47250 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47252 Likewise.
47253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47254 Likewise.
47255 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47256 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47261 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47262 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47263 * math/libm-test.inc (scalbn_test): Add more tests.
47264 (scalbln_test): Likewise.
47265
07e12bb3
JM
47266 * manual/filesys.texi (mode_t): Describe constraints on size and
47267 signedness, not exact equivalence to a particular type.
47268 (ino_t): Likewise.
47269 (ino64_t): Likewise.
47270 (dev_t): Likewise.
47271 (nlink_t): Likewise.
47272 (blkcnt_t): Likewise.
47273 (blkcnt64_t): Likewise.
47274 * manual/llio.texi (off_t): Likewise.
47275
28afd92d
JM
47276 [BZ #3976]
47277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47278 (__ieee754_exp): Save and restore rounding mode and use
47279 round-to-nearest for all computations.
47280 * math/libm-test.inc (exp_test_tonearest): New function.
47281 (exp_test_towardzero): Likewise.
47282 (exp_test_downward): Likewise.
47283 (exp_test_upward): Likewise.
47284 (main): Call the new functions.
47285 * sysdeps/i386/fpu/libm-test-ulps: Update.
47286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47287
b1eeb65d
CD
472882012-03-01 Chris Demetriou <cgd@google.com>
47289
47290 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47291 have predictable order.
47292
53362a4b
DM
472932012-03-01 David S. Miller <davem@davemloft.net>
47294
3c969083
DM
47295 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47296
759707de
DM
47297 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47298 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47299 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47300 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47301
dfdb8ff2
DM
47302 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47303 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47304 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47306 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47307 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47308 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47309 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47310 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47311
ead89f96
DM
47312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47313
7f66bd07
DM
47314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47315 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47316 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47317
53362a4b
DM
47318 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47319 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47320 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47321 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47322 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47325 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47326 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47327 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47328 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47332 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47334 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47335 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47336 * sysdeps/sparc/elf/configure: Regenerated.
47337
7b1902cb
JM
473382012-03-01 Joseph Myers <joseph@codesourcery.com>
47339
bec039bc
JM
47340 * configure.in (AS, LD): Require binutils 2.20 or later.
47341 * configure: Regenerated.
47342 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47343 as required minimum version.
47344 * INSTALL: Regenerated.
47345
7b1902cb
JM
47346 [BZ #2541]
47347 [BZ #4108]
47348 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47349 before squaring exponent.
47350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47351 bottom long double and 27 bits of top long double before squaring
47352 exponent.
47353 * math/libm-test.inc (erfc_test): Add more tests.
47354 * sysdeps/i386/fpu/libm-test-ulps: Update.
47355 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47357
f775c276
KT
473582012-03-01 Kai Tietz <ktietz@redhat.com>
47359
47360 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47361 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47362 containing bit-fields.
47363 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47364 * soft-fp/single.h (_FP_UNION_S): Likewise.
47365 * soft-fp/double.h (_FP_UNION_D): Likewise.
47366
5b8a4d4a
JM
473672012-02-29 Joseph Myers <joseph@codesourcery.com>
47368
0bab47b6
JM
47369 [BZ #13786]
47370 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47371 not include ../strcmp.S.
47372 [USE_AS_STRNCASECMP_L]: Likewise.
47373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47374 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47375 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47376 (__strncasecmp_l_ia32): Define as alias to
47377 __strncasecmp_l_nonascii.
47378
0fcad3e2
JM
47379 [BZ #5794]
47380 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47381 * sysdeps/i386/fpu/libm-test-ulps: Update.
47382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47383
5b8a4d4a
JM
47384 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47386
8fdceb2e
JL
473872012-02-29 Jeff Law <law@redhat.com>
47388
47389 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47390 out of bounds read.
47391
1f393a11
MP
473922012-02-29 Marek Polacek <polacek@redhat.com>
47393
47394 [BZ #13706]
47395 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47396 * elf/Makefile: Add rules to run tst-unused-dep.out.
47397
8847f037
DM
473982012-02-28 David S. Miller <davem@davemloft.net>
47399
47400 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47401 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47404 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47405 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47406
169d7f11
JM
474072012-02-29 Joseph Myers <joseph@codesourcery.com>
47408
47409 * math/libm-test.inc (llround_test): Move one test from
47410 lround_test. Use TEST_f_L in moved test.
47411 (lround_test): Move misplaced test to llround_test. Add testcase
47412 from bug 2561.
47413
39adf059
UD
474142012-02-28 Ulrich Drepper <drepper@gmail.com>
47415
47416 * sysdeps/x86_64/fpu/e_expf.S: New file.
47417 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47418
71b5d1c5
SB
474192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47420
47421 [BZ #13637]
47422 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47423 of remain_len that may cause incomplete multi-byte character and
47424 false match.
47425 * posix/bug-regex33.c: New file.
47426 * posix/Makefile (tests): Add bug-regex33.
47427
1f77f049
JM
474282012-02-28 Joseph Myers <joseph@codesourcery.com>
47429
47430 * manual/macros.texi: New file.
47431 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47432 * manual/libc.texinfo: Include macros.texi.
47433 * manual/creatute.texi: Likewise.
47434 * manual/install.texi: Likewise.
47435 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47436 @glibcadj{} in references to the GNU C Library.
47437 * manual/charset.texi: Likewise.
47438 * manual/conf.texi: Likewise.
47439 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47440 when not using those macros.
47441 * manual/creature.texi: Likewise.
47442 * manual/crypt.texi: Likewise.
47443 * manual/errno.texi: Likewise.
47444 * manual/filesys.texi: Likewise.
47445 * manual/header.texi: Likewise.
47446 * manual/install.texi: Likewise.
47447 * manual/intro.texi: Likewise.
47448 * manual/io.texi: Likewise.
47449 * manual/job.texi: Likewise.
47450 * manual/lang.texi: Likewise.
47451 * manual/libc.texiinfo: Likewise.
47452 * manual/llio.texi: Likewise.
47453 * manual/locale.texi: Likewise.
47454 * manual/maint.texi: Likewise.
47455 * manual/math.texi: Likewise.
47456 * manual/memory.texi: Likewise.
47457 * manual/message.texi: Likewise.
47458 * manual/nss.texi: Likewise.
47459 * manual/pattern.texi: Likewise.
47460 * manual/process.texi: Likewise.
47461 * manual/resource.texi: Likewise.
47462 * manual/search.texi: Likewise.
47463 * manual/setjmp.texi: Likewise.
47464 * manual/signal.texi: Likewise.
47465 * manual/socket.texi: Likewise.
47466 * manual/startup.texi: Likewise.
47467 * manual/stdio.texi: Likewise.
47468 * manual/string.texi: Likewise.
47469 * manual/sysinfo.texi: Likewise.
47470 * manual/syslog.texi: Likewise.
47471 * manual/terminal.texi: Likewise.
47472 * manual/time.texi: Likewise.
47473 * manual/users.texi: Likewise.
47474 * INSTALL: Regenerated.
47475 * NOTES: Regenerated.
d40c5d54 47476 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47477
450bf206
AS
474782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47479
47480 * include/dirent.h: Include <dirstream.h> before
47481 <dirent/dirent.h>.
47482
741a235b
DM
474832012-02-28 David S. Miller <davem@davemloft.net>
47484
47485 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47486 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47487 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47488 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47489
d6b5aa58
DM
474902012-02-27 David S. Miller <davem@davemloft.net>
47491
1aff59a3
DM
47492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47494 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47495 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47496
d6b5aa58
DM
47497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47498 frame pointer instead of stack pointer relative arg slot.
47499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47500 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47501 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47502
433f48bf
CD
475032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47504
47505 [BZ #3992]
47506 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47507
d674b76d
DM
475082012-02-27 David S. Miller <davem@davemloft.net>
47509
47510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47516 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47518
0e7727f7
JM
475192012-02-27 Joseph Myers <joseph@codesourcery.com>
47520
47521 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47522 later. Allow versions 5-9.
43be4ca2 47523 * configure: Regenerated.
0e7727f7
JM
47524 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47525 required minimum version and 4.6 as recommended version. Do not
47526 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47527 * INSTALL: Regenerated.
0e7727f7 47528
a78bc654
DM
475292012-02-27 David S. Miller <davem@davemloft.net>
47530
428d5830
DM
47531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47535 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47536 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47537 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47538 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47539
a78bc654
DM
47540 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47541 manipulate bits before adding and subtracting TWO112[sx].
47542 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47543
4579f81c
RM
475442012-02-27 Roland McGrath <roland@hack.frob.com>
47545
36c8acb4
RM
47546 [BZ #13775]
47547 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47548 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47549 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47550 being in POSIX, because they are in 1003.1-2008.
47551
84ad622b
RM
47552 * rt/tst-aio.c: Include <fcntl.h>.
47553 * rt/tst-aio7.c: Likewise.
47554 * rt/tst-aio64.c: Likewise.
47555
4579f81c
RM
47556 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47557
abd923db
JM
475582012-02-27 Joseph Myers <joseph@codesourcery.com>
47559
47560 * manual/install.texi (--with-headers): Describe headers as
47561 interface headers, not private headers.
47562 (Specific advice for GNU/Linux systems): Describe use of headers
47563 from "make headers_install", not private headers from older
47564 kernels.
43be4ca2 47565 * INSTALL: Regenerated.
abd923db
JM
47566 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47567 Change to 2.6.19.
47568 * sysdeps/unix/sysv/linux/configure: Regenerated.
47569
6664049b
JM
47570 * manual/llio.texi (fclean): Remove documentation.
47571
bb8b6697
JM
47572 * manual/Makefile (libc-texi-generated): New variable. Include
47573 version.texi.
47574 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47575 $(libc-texi-generated), not duplicated list of files.
47576 (version.texi, stamp-version): New rules.
47577 (realclean): Remove $(libc-texi-generated), not individual files
47578 from that list. Do not remove dir-add.texinfo.
47579 * manual/libc.texinfo: Comment out uses of edition numbers and
47580 references to printed manual. Remove last-updated dates.
47581 (EDITION): Comment out.
47582 (ISBN): Likewise.
47583 (VERSION, UPDATED): Remove.
47584 (version.texi): Include.
47585
12e5c3b9
AS
475862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47587
47588 * sysdeps/posix/spawni.c: Include <signal.h>.
47589 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47590 * sysdeps/pthread/aio_fsync.c: Likewise.
47591
4efeffc1 475922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47593
ba63ba08
UD
47594 * conform/Makefile (tests): Run only when not cross-compiling and
47595 when fast-check is not defined.
47596
d94a4670
UD
47597 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47598 * conform/data/limits.h-data: Fixes for POSIX2008.
47599 * conform/run-conformtest.sh: Run all tests.
47600 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47601 headers.
47602 * include/bits/dlfcn.h: Likewise.
47603 * include/langinfo.h: Likewise.
47604 * include/monetary.h: Likewise.
47605 * include/sys/poll.h: Likewise.
47606
47607 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47608 for __USE_GNU.
47609 * posix/spawn.h: Define __need_sigset_t.
47610 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47611 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47612 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47613 to get sigevent_t only.
47614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47615 only for __USE_GNU.
47616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47617 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47618 process_vm_writev only for __USE_GNU.
47619 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47620
47621 * conform/Makefile: For now ignore errors from run-conformtest.
47622 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47623 POSIX to avoid namespace pollution. Don't prepend headers.
47624 * conform/data/aio.h-data: Fixes for POSIX testing.
47625 * conform/data/fcntl.h-data: Likewise.
47626 * conform/data/glob.h-data: Likewise.
47627 * conform/data/grp.h-data: Likewise.
47628 * conform/data/pthread.h-data: Likewise.
47629 * conform/data/pwd.h-data: Likewise.
47630 * conform/data/signal.h-data: Likewise.
47631 * conform/data/spawn.h-data: Likewise.
47632 * conform/data/stdio.h-data: Likewise.
47633 * conform/data/stdlib.h-data: Likewise.
47634 * conform/data/stropts.h-data: Likewise.
47635 * conform/data/sys/mman.h-data: Likewise.
47636 * conform/data/sys/stat.h-data: Likewise.
47637 * conform/data/sys/types.h-data: Likewise.
47638 * conform/data/sys/wait.h-data: Likewise.
47639 * conform/data/time.h-data: Likewise.
47640 * conform/data/unistd.h-data: Likewise.
47641 * conform/data/utime.h-data: Likewise.
47642
47643 * io/sys/stat.h: fchmod was always in POSIX.
47644 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47645 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47646 * rt/aio.h: Define __need_timespec before including <time.h>.
47647 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47648 struct. Add forward declaration of pthread_attr_t and use it in
47649 sigevent.
47650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47652 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47653 always remove CLK_TCK definition.
47654
c20105c3
AS
476552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47656
47657 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47658
7a270350
UD
476592012-02-25 Ulrich Drepper <drepper@gmail.com>
47660
31341567
UD
47661 * conform/run-conformtest.sh: New file.
47662 * conform/Makefile: Run run-conformtest for tests.
47663 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47664 support.
47665
47666 * conform/data/uchar.h-data: New file.
47667 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47668 * conform/data/arpa/inet.h-data: Likewise.
47669 * conform/data/assert.h-data: Likewise.
47670 * conform/data/complex.h-data: Likewise.
47671 * conform/data/cpio.h-data: Likewise.
47672 * conform/data/ctype.h-data: Likewise.
47673 * conform/data/dirent.h-data: Likewise.
47674 * conform/data/dlfcn.h-data: Likewise.
47675 * conform/data/errno.h-data: Likewise.
47676 * conform/data/fcntl.h-data: Likewise.
47677 * conform/data/float.h-data: Likewise.
47678 * conform/data/fmtmsg.h-data: Likewise.
47679 * conform/data/fnmatch.h-data: Likewise.
47680 * conform/data/ftw.h-data: Likewise.
47681 * conform/data/glob.h-data: Likewise.
47682 * conform/data/grp.h-data: Likewise.
47683 * conform/data/iconv.h-data: Likewise.
47684 * conform/data/inttypes.h-data: Likewise.
47685 * conform/data/langinfo.h-data: Likewise.
47686 * conform/data/libgen.h-data: Likewise.
47687 * conform/data/limits.h-data: Likewise.
47688 * conform/data/locale.h-data: Likewise.
47689 * conform/data/math.h-data: Likewise.
47690 * conform/data/monetary.h-data: Likewise.
47691 * conform/data/mqueue.h-data: Likewise.
47692 * conform/data/ndbm.h-data: Likewise.
47693 * conform/data/net/if.h-data: Likewise.
47694 * conform/data/netdb.h-data: Likewise.
47695 * conform/data/netinet/in.h-data: Likewise.
47696 * conform/data/nl_types.h-data: Likewise.
47697 * conform/data/poll.h-data: Likewise.
47698 * conform/data/pthread.h-data: Likewise.
47699 * conform/data/pwd.h-data: Likewise.
47700 * conform/data/regex.h-data: Likewise.
47701 * conform/data/sched.h-data: Likewise.
47702 * conform/data/search.h-data: Likewise.
47703 * conform/data/semaphore.h-data: Likewise.
47704 * conform/data/setjmp.h-data: Likewise.
47705 * conform/data/signal.h-data: Likewise.
47706 * conform/data/spawn.h-data: Likewise.
47707 * conform/data/stdarg.h-data: Likewise.
47708 * conform/data/stdio.h-data: Likewise.
47709 * conform/data/stdlib.h-data: Likewise.
47710 * conform/data/string.h-data: Likewise.
47711 * conform/data/strings.h-data: Likewise.
47712 * conform/data/stropts.h-data: Likewise.
47713 * conform/data/sys/ipc.h-data: Likewise.
47714 * conform/data/sys/mman.h-data: Likewise.
47715 * conform/data/sys/msg.h-data: Likewise.
47716 * conform/data/sys/resource.h-data: Likewise.
47717 * conform/data/sys/select.h-data: Likewise.
47718 * conform/data/sys/sem.h-data: Likewise.
47719 * conform/data/sys/shm.h-data: Likewise.
47720 * conform/data/sys/socket.h-data: Likewise.
47721 * conform/data/sys/stat.h-data: Likewise.
47722 * conform/data/sys/statvfs.h-data: Likewise.
47723 * conform/data/sys/time.h-data: Likewise.
47724 * conform/data/sys/timeb.h-data: Likewise.
47725 * conform/data/sys/times.h-data: Likewise.
47726 * conform/data/sys/types.h-data: Likewise.
47727 * conform/data/sys/uio.h-data: Likewise.
47728 * conform/data/sys/un.h-data: Likewise.
47729 * conform/data/sys/utsname.h-data: Likewise.
47730 * conform/data/sys/wait.h-data: Likewise.
47731 * conform/data/syslog.h-data: Likewise.
47732 * conform/data/tar.h-data: Likewise.
47733 * conform/data/termios.h-data: Likewise.
47734 * conform/data/utime.h-data: Likewise.
47735 * conform/data/utmpx.h-data: Likewise.
47736 * conform/data/varargs.h-data: Likewise.
47737 * conform/data/wchar.h-data: Likewise.
47738 * conform/data/wctype.h-data: Likewise.
47739 * conform/data/wordexp.h-data: Likewise.
47740
47741 * include/stropts.h: New file.
47742 * include/uchar.h: New file.
47743 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47744 * include/assert.h: Likewise.
47745 * include/ctype.h: Likewise.
47746 * include/dirent.h: Likewise.
47747 * include/dlfcn.h: Likewise.
47748 * include/fcntl.h: Likewise.
47749 * include/fnmatch.h: Likewise.
47750 * include/glob.h: Likewise.
47751 * include/grp.h: Likewise.
47752 * include/libio.h: Likewise.
47753 * include/locale.h: Likewise.
47754 * include/math.h: Likewise.
47755 * include/net/if.h: Likewise.
47756 * include/netdb.h: Likewise.
47757 * include/netinet/in.h: Likewise.
47758 * include/pthread.h: Likewise.
47759 * include/pwd.h: Likewise.
47760 * include/regex.h: Likewise.
47761 * include/sched.h: Likewise.
47762 * include/search.h: Likewise.
47763 * include/setjmp.h: Likewise.
47764 * include/signal.h: Likewise.
47765 * include/stdio.h: Likewise.
47766 * include/stdlib.h: Likewise.
47767 * include/string.h: Likewise.
47768 * include/sys/cdefs.h: Likewise.
47769 * include/sys/mman.h: Likewise.
47770 * include/sys/msg.h: Likewise.
47771 * include/sys/resource.h: Likewise.
47772 * include/sys/select.h: Likewise.
47773 * include/sys/socket.h: Likewise.
47774 * include/sys/stat.h: Likewise.
47775 * include/sys/statvfs.h: Likewise.
47776 * include/sys/time.h: Likewise.
47777 * include/sys/times.h: Likewise.
47778 * include/sys/uio.h: Likewise.
47779 * include/sys/utsname.h: Likewise.
47780 * include/sys/wait.h: Likewise.
47781 * include/termios.h: Likewise.
47782 * include/time.h: Likewise.
47783 * include/ulimit.h: Likewise.
47784 * include/unistd.h: Likewise.
47785 * include/utime.h: Likewise.
47786 * include/wchar.h: Likewise.
47787 * include/wctype.h: Likewise.
47788 * include/wordexp.h: Likewise.
47789
47790 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47791
7a270350
UD
47792 * time/time.h: TIME_UTC must be a macro.
47793 Make timespec_get available for ISO C11 only as well.
47794
7724defc
UD
477952012-02-24 Ulrich Drepper <drepper@gmail.com>
47796
47797 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47798 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47799
6b1d1d46
JM
478002012-02-24 Joseph Myers <joseph@codesourcery.com>
47801
47802 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47803
0f8bbd69
JM
478042012-02-24 Joseph Myers <joseph@codesourcery.com>
47805
47806 * manual/texinfo.tex: Update to version 2012-01-19.16.
47807
66ab80bc
JM
478082012-02-24 Joseph Myers <joseph@codesourcery.com>
47809
47810 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47811
74981cc5
RM
478122012-02-24 Roland McGrath <roland@hack.frob.com>
47813
ee968201
RM
47814 [BZ #13738]
47815 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47816 * manual/fdl-1.3.texi: New file.
47817 * manual/fdl-1.1.texi: File removed.
47818
74981cc5
RM
47819 [BZ #13738]
47820 * manual/libc.texinfo (FDL_VERSION): New @set.
47821 Use it for mention of FDL in cover text.
47822 (Documentation License): Use it in @include file name.
47823
7bb764bc
JM
478242012-02-22 Joseph Myers <joseph@codesourcery.com>
47825 Roland McGrath <roland@hack.frob.com>
47826
47827 [BZ #5461]
57f41c40
AS
47828 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47829 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47830 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47831 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47832 name.
47833 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47834
6cbeae47
JM
478352012-02-22 Joseph Myers <joseph@codesourcery.com>
47836
47837 [BZ #2547]
47838 [BZ #11365]
47839 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47840 manipulate bits before adding and subtracting TWO23[sx].
47841 * math/libm-test.inc (nearbyint_test): Add more tests.
47842
fe45ce09
JM
478432012-02-22 Joseph Myers <joseph@codesourcery.com>
47844
47845 [BZ #2548]
47846 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47847 bits before adding and subtracting TWO23[sx].
47848 * math/libm-test.inc (rint_test): Add more tests.
47849 (rint_test_tonearest): Likewise.
47850 (rint_test_towardzero): Likewise.
47851 (rint_test_downward): Likewise.
47852 (rint_test_upward: Likewise.
47853
ff3b3d82
JM
478542012-02-22 Joseph Myers <joseph@codesourcery.com>
47855
47856 [BZ #10110]
47857 * include/stdc-predef.h: New file. Extracted from features.h.
47858 * include/features.h: Include stdc-predef.h.
47859 * Makefile (headers): Add stdc-predef.h.
47860 * CONFORMANCE (Compiler limitations): Update.
47861
ef0aab35
JM
478622012-02-22 Joseph Myers <joseph@codesourcery.com>
47863
47864 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47865
58639409
DM
478662012-02-21 David S. Miller <davem@davemloft.net>
47867
47868 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47870
c0e70b25
DM
478712012-02-20 David S. Miller <davem@davemloft.net>
47872
47873 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47874 using a normal save/restore sequence, rather than allocating a
47875 dummy stack frame just to store a frame pointer and restore.
47876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47877
fb06851d
JM
478782012-02-21 Joseph Myers <joseph@codesourcery.com>
47879
47880 * manual/install.texi: Fix stray word in line-wrapped comment.
47881
7a8b71c3
DM
478822012-02-20 David S. Miller <davem@davemloft.net>
47883
d510c123
DM
47884 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47885 both binutils and gcc support GOTDATA.
47886
0722d7c2
DM
47887 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47888 "rd %pc" in the PIC register setup sequences.
47889
3d2b3019
DM
47890 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47891 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47892 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47893 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47894 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47896 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47899 (SYSCALL_ERROR_HANDLER): Likewise.
47900 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47903 (SYSCALL_ERROR_HANDLER): Likewise.
47904
c80098a9
DM
47905 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47906 (HAVE_GCC_GOTDATA): New.
47907 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47908 relocation support in both binutils and gcc.
47909 * sysdeps/sparc/elf/configure: Regenerate.
47910
3a2545a0
DM
47911 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47912 * sysdeps/sparc/sparc32/elf/configure: Delete.
47913 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47914 * sysdeps/sparc/sparc64/elf/configure: Delete.
47915 * sysdeps/sparc/elf/configure.in: New file.
47916 * sysdeps/sparc/elf/configure: Generate.
47917
7a8b71c3
DM
47918 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47919 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47920 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47921 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47922 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47923
f1e86fca
JM
479242012-02-21 Joseph Myers <joseph@codesourcery.com>
47925
47926 * manual/install.texi: Do not mention specific glibc version
47927 numbers.
47928 * manual/libc.texinfo (VERSION, UPDATED): Update.
47929 (@copying): Use @copyright{} and range of years.
47930
0e7dfaef
JM
479312012-02-21 Joseph Myers <joseph@codesourcery.com>
47932
47933 [BZ #13695]
47934 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47935 [crti.S not in sysdirs] (generated): Do not append.
47936 [crti.S not in sysdirs] (omit-deps): Likewise.
47937 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47938 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47939 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47940 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47941 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47942 Likewise.
47943 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47944 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47945 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47946 * csu/defs.awk: Remove file.
47947 * sysdeps/generic/initfini.c: Likewise.
47948 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47949 variable.
47950 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47951 Likewise.
47952
599af3ca
JM
479532012-02-20 Joseph Myers <joseph@codesourcery.com>
47954
47955 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47956 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47957 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47960 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47961 <bits/epoll.h>.
47962 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47963 (__EPOLL_PACKED): Define to empty if not defined by
47964 <bits/epoll.h>.
47965 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47967 bits/epoll.h.
47968
0e499750
JM
479692012-02-20 Joseph Myers <joseph@codesourcery.com>
47970
47971 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47972 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47973 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47974 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47975 <bits/timerfd.h>.
47976 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47978 bits/timerfd.h.
47979
5ad91f6e
JM
479802012-02-20 Joseph Myers <joseph@codesourcery.com>
47981
47982 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47983 in C locale.
47984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47986 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47988
06b99b02
AJ
479892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47990
47991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47993
7638c0fd
AS
479942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47995
47996 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47997 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47998 defined.
47999 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48000 Likewise.
48001 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48002 entry for 2.16.
48003
92221550
AJ
480042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48005
48006 * math/w_acos.c: Use non-signaling floating-point comparisons.
48007 * math/w_acosf.c: Likewise.
48008 * math/w_acosh.c: Likewise.
48009 * math/w_acoshf.c: Likewise.
48010 * math/w_acoshl.c: Likewise.
48011 * math/w_acosl.c: Likewise.
48012 * math/w_asin.c: Likewise.
48013 * math/w_asinf.c: Likewise.
48014 * math/w_asinl.c: Likewise.
48015 * math/w_atanh.c: Likewise.
48016 * math/w_atanhf.c: Likewise.
48017 * math/w_atanhl.c: Likewise.
48018 * math/w_exp2.c: Likewise.
48019 * math/w_exp2f.c: Likewise.
48020 * math/w_exp2l.c: Likewise.
48021 * math/w_j0.c: Likewise.
48022 * math/w_j0f.c: Likewise.
48023 * math/w_j0l.c: Likewise.
48024 * math/w_j1.c: Likewise.
48025 * math/w_j1f.c: Likewise.
48026 * math/w_j1l.c: Likewise.
48027 * math/w_jn.c: Likewise.
48028 * math/w_jnf.c: Likewise.
48029 * math/w_log.c: Likewise.
48030 * math/w_log10.c: Likewise.
48031 * math/w_log10f.c: Likewise.
48032 * math/w_log10l.c: Likewise.
48033 * math/w_log2.c: Likewise.
48034 * math/w_log2f.c: Likewise.
48035 * math/w_log2l.c: Likewise.
48036 * math/w_logf.c: Likewise.
48037 * math/w_logl.c: Likewise.
48038 * math/w_sqrt.c: Likewise.
48039 * math/w_sqrtf.c: Likewise.
48040 * math/w_sqrtl.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48044 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48045 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48046
ebaf36eb
JM
480472012-02-19 Joseph Myers <joseph@codesourcery.com>
48048
48049 [BZ #9739]
48050 * manual/string.texi (strnlen): Use correct parameter name in
48051 equivalent expression.
48052
71c254a6
JM
480532012-02-19 Joseph Myers <joseph@codesourcery.com>
48054
48055 [BZ #11174]
48056 * manual/users.texi (seteuid): Consistently use neweuid for
48057 argument name.
48058
16d2c631
JM
480592012-02-19 Joseph Myers <joseph@codesourcery.com>
48060
48061 [BZ #13704]
48062 * manual/nss.texi (Services in the NSS configuration): Correct
48063 list of services in example configuration file.
48064
cd837b09
NB
480652012-02-19 Nick Bowler <nbowler@draconx.ca>
48066
48067 [BZ #11322]
48068 * manual/arith.texi: Remove statements about negative zero
48069 behaving identically to zero.
48070
02c4bbad
JM
480712012-02-18 Joseph Myers <joseph@codesourcery.com>
48072
48073 [BZ #5993]
48074 * manual/install.texi: Do not document upgrading from libc5.
48075
366842e7
JM
480762012-02-18 Joseph Myers <joseph@codesourcery.com>
48077
48078 [BZ #4596]
48079 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48080
dd54084d
DM
480812012-02-18 David S. Miller <davem@davemloft.net>
48082
48083 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48084 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48085 %o7 across the call.
48086 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48087 instead.
48088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48089 SETUP_PIC_REG_LEAF.
48090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48091 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48092 * sysdeps/sparc/crtn.S: Likewise.
48093
2bcc53a3
UD
480942012-02-17 Ulrich Drepper <drepper@gmail.com>
48095
48096 * aout/Makefile: Remove.
48097
09c093b5
RK
480982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48099
48100 [BZ #13058]
48101 * manual/examples/argp-ex1.c (main): Format definition in GNU
48102 style.
48103 * manual/examples/argp-ex2.c (main): Likewise.
48104 * manual/examples/argp-ex3.c (main): Likewise.
48105 * manual/examples/argp-ex4.c (main): Likewise.
48106 * manual/examples/longopt.c (main): Use new-style prototype
48107 definition.
48108 * manual/examples/strncat.c (main): Specify return type and use
48109 (void) for arguments.
48110 * manual/examples/subopt.c (main): Use char **argv argument.
48111
2ee633a2
JM
481122012-02-17 Joseph Myers <joseph@codesourcery.com>
48113
48114 [BZ #5077]
48115 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48116 rounding modes.
48117
0520adde
FB
481182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48119
48120 [BZ #6907]
48121 * manual/string.texi (strchr): Change when strchrnul is
48122 recommended.
48123
3f4081cd
DGM
481242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48125
48126 [BZ #174]
48127 * manual/locale.texi (setlocale): Document LOCPATH.
48128
d1b10e78
JM
481292012-02-17 Joseph Myers <joseph@codesourcery.com>
48130
48131 [BZ #10210]
48132 * manual/process.texi (execle): Move @dots{} before last argument.
48133
79c6869c
PB
481342012-02-17 Paul Bolle <pebolle@tiscali.nl>
48135
48136 [BZ #12047]
48137 * manual/charset.texi (Generic Charset Conversion): Fix typo
48138 (LC_TYPE -> LC_CTYPE).
48139
cc6e48bc
NB
481402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48141
48142 [BZ #5805]
48143 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48144 (scalbnf): Likewise.
48145 (scalbnl): Likewise.
48146 (scalbln): Likewise.
48147 (scalblnf): Likewise.
48148 (scalblnl): Likewise.
48149 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48150 (vwarnx): Likewise.
48151 (verr): Likewise.
48152 (verrx): Likewise.
48153 * manual/filesys.texi (telldir): Use braces around return type.
48154 * manual/llio.texi (mmap): Add space after comma.
48155 (mmap64): Likewise.
48156 * manual/math.texi (jn): Use @var{} on parameter names.
48157 (jnf): Likewise.
48158 (jnl): Likewise.
48159 (yn): Likewise.
48160 (ynf): Likewise.
48161 (ynl): Likewise.
48162 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48163 line.
48164 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48165 "...".
48166 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48167 (sched_get_priority_max): Likewise.
48168 * manual/signal.texi (sigvec): Add space after comma.
48169 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48170 names.
48171 (if_indextoname): Likewise.
48172 (if_freenameindex): Likewise.
48173 (sendto): Use ',' instead of '.' in prototype.
48174 * manual/startup.texi (syscall): Use @dots{} instead of literal
48175 "...".
48176 * manual/stdio.texi (__fpending): Separate initial words of
48177 paragraph from @deftypefun line.
48178 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48179 "...".
48180 (vsyslog): Use @var{} on parameter names.
48181 * manual/terminal.texi (stty): Use @var{} on parameter names.
48182 * manual/users.texi (getutmp): Use @var{} on parameter names.
48183 (getutmpx): Likewise.
48184
5b23062f
JM
481852012-02-17 Joseph Myers <joseph@codesourcery.com>
48186
48187 [BZ #6884]
48188 * manual/stdio.texi (fopen): Fix typos in description of
48189 ",ccs=STRING".
48190
8dee4833
AJ
481912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48192
48193 [BZ #4026]
48194 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48195 get clock_id definition.
48196
9078ce93
TS
481972012-02-17 Thomas Schwinge <thomas@schwinge.name>
48198
48199 [BZ #4822]
48200 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48201 (madvise): Cast every argument to void on its own.
48202
3835c55f
JM
482032012-02-17 Joseph Myers <joseph@codesourcery.com>
48204
48205 [BZ #9902]
48206 * manual/startup.texi (Exit Status): Fix typo.
48207
35c47e37
JM
482082012-02-17 Joseph Myers <joseph@codesourcery.com>
48209
48210 [BZ #10140]
48211 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48212 * manual/examples/argp-ex2.c: Likewise.
48213 * manual/examples/argp-ex3.c: Likewise.
48214
e3b69ca7
RH
482152012-02-16 Richard Henderson <rth@redhat.com>
48216
48217 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48218 * sysdeps/s390/s390-32/initfini.c: Remove.
48219 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48220 * sysdeps/s390/s390-64/initfini.c: Remove.
48221
df83af67
KK
482222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48223
48224 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48225 compiler output for sysdeps/generic/initfini.c.
48226 * sysdeps/sh/elf/initfini.c: Remove file.
48227
f63f3380
DM
482282012-02-16 David S. Miller <davem@davemloft.net>
48229
fb59b3a4
DM
48230 [BZ #11494]
48231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48232
f63f3380
DM
48233 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48234 * sysdeps/sparc/crti.S: New file.
48235 * sysdeps/sparc/crtn.S: New file.
48236 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48237 * sysdeps/sparc/sparc64/Makefile: Likewise.
48238
df6a4a4a
MF
482392012-02-15 Mike Frysinger <vapier@gentoo.org>
48240
6dd8f3dc 48241 [BZ #3335]
df6a4a4a
MF
48242 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48243
1cac7236
RM
482442012-02-15 Roland McGrath <roland@hack.frob.com>
48245
d2c736f8
RM
48246 [BZ #4822]
48247 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48248
1cac7236
RM
48249 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48250 (write, read, close): Likewise.
48251 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48252
8e475601
JM
482532012-02-15 Joseph Myers <joseph@codesourcery.com>
48254
48255 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48256 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48257 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48258 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48259 <bits/signalfd.h>.
48260 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48262 bits/signalfd.h.
48263
ed656b40
MP
482642012-02-14 Marek Polacek <polacek@redhat.com>
48265
48266 * sysdeps/x86_64/crti.S: New file.
48267 * sysdeps/x86_64/crtn.S: New file.
48268 * sysdeps/x86_64/elf/initfini.c: Remove file.
48269
2a979d3a
JM
482702012-02-13 Joseph Myers <joseph@codesourcery.com>
48271
48272 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48273 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48274 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48275 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48276 <bits/inotify.h>.
48277 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48279 bits/inotify.h.
48280
2a418ac3
JM
482812012-02-13 Joseph Myers <joseph@codesourcery.com>
48282
48283 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48284 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48285 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48286 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48287 <bits/eventfd.h>.
48288 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48290 bits/eventfd.h.
48291
fb779be7
TS
482922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48293
e19e83c5
RM
48294 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48295 __feraiseexcept instead of feraiseexcept.
7c35ffed 48296
fb779be7
TS
48297 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48298 nanosleep invocations.
48299 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48300 strings, and add error checking for a nanosleep invocations.
48301
59ba27a6
PE
483022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48303
48304 Replace FSF snail mail address with URLs, as per GNU coding standards.
48305 Most of the snail mail addresses were wrong anyway, and omitting
48306 them makes the source code easier to maintain. Almost all of the
48307 changes are to license notices and to locale LC_IDENTIFICATION
48308 addresses, except for this one:
48309 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48310 not its snail mail address.
48311
57b957eb
RH
483122012-02-09 Richard Henderson <rth@twiddle.net>
48313
af850b1c
RH
48314 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48315 of kernel-features.h.
48316
57b957eb
RH
48317 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48318
6b73181a
MP
483192012-02-08 Marek Polacek <polacek@redhat.com>
48320
48321 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48322 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48323 * sysdeps/gnu/_G_config.h: Likewise.
48324 * sysdeps/generic/_G_config.h: Likewise.
48325
26ecc33a
AS
483262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48327
6c6dbc63
AS
48328 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48329 tests.
48330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48331
e216c012
AS
48332 * sysdeps/powerpc/powerpc32/crti.S: New file.
48333 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48334 * sysdeps/powerpc/powerpc64/crti.S: New file.
48335 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48336
26ecc33a
AS
48337 * Makeconfig (have-initfini): Don't set.
48338 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48339 * configure.in (nopic_initfini): Don't substitute.
48340 * config.h.in (HAVE_INITFINI): Don't #undef.
48341 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48342 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48343
3add8e13
JM
483442012-02-08 Joseph Myers <joseph@codesourcery.com>
48345
48346 Support crti.S and crtn.S provided directly by architectures.
48347 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48348 [crti.S in sysdirs] (omit-deps): Likewise.
48349 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48350 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48351 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48352 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48353 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48354 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48355 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48356 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48357 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48358 compiler output for sysdeps/generic/initfini.c.
48359 * sysdeps/i386/elf/Makefile: Remove file.
48360 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48361
a22f12b4
MP
483622012-02-07 Marek Polacek <polacek@redhat.com>
48363
48364 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48365 * sysdeps/gnu/_G_config.h: Likewise.
48366 * sysdeps/mach/hurd/_G_config.h: Likewise.
48367
148cf100
MP
483682012-02-07 Marek Polacek <polacek@redhat.com>
48369
48370 * math/Makefile (tests): Add tst-CMPLX2.
48371 * math/tst-CMPLX2.c: New file.
48372
cfdc0dd7
AS
483732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48374
84ba42c4
AS
48375 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48376
cfdc0dd7
AS
48377 * math/libm-test.inc (jn_test): Add missing L suffix.
48378
622c86f4
MP
483792012-02-06 Marek Polacek <polacek@redhat.com>
48380
48381 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48382 * sysdeps/i386/fpu/e_powf.S: Likewise.
48383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48384 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48385 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48386 * sysdeps/i386/fpu/e_pow.S: Likewise.
48387 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48388 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48389 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48390 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48391 * sysdeps/i386/fpu/e_log2.S: Likewise.
48392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48393 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48394 * sysdeps/i386/fpu/e_powl.S: Likewise.
48395 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48396 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48397 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48398 * sysdeps/i386/fpu/e_logl.S: Likewise.
48399 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48400 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48401 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48402 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48404 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48405 * sysdeps/i386/fpu/e_log.S: Likewise.
48406 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48407 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48408 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48409 * sysdeps/i386/fpu/e_logf.S: Likewise.
48410 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48411 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48412 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48413 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48414 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48415 * sysdeps/i386/fpu/e_log10.S: Likewise.
48416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48421 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48422 * sysdeps/i386/asm-syntax.h: Likewise.
48423 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48424 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48425 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48426 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48427 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48428 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48429 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48430 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48431 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48432 * sysdeps/powerpc/sysdep.h: Likewise.
48433 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48434 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48435
d4a54ac6
JM
484362012-02-06 Joseph Myers <joseph@codesourcery.com>
48437
48438 [BZ #411]
48439 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48440
314054ea
JM
484412012-02-06 Joseph Myers <joseph@codesourcery.com>
48442
48443 * sysdeps/i386/sysdep.h: Include <features.h>.
48444 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48445 version.
48446
d8e0ca50
JM
484472012-02-05 Joseph Myers <joseph@codesourcery.com>
48448
48449 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48450 Define.
48451 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48452 LOAD_PIC_REG_STR.
48453
b1da7dd9
JM
484542012-02-03 Joseph Myers <joseph@codesourcery.com>
48455
48456 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48457 (SETUP_PIC_REG): Use GET_PC_THUNK.
48458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48459 macro.
48460
9a1d9254
JM
484612012-02-03 Joseph Myers <joseph@codesourcery.com>
48462
48463 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48464 for non-PIC compilation.
48465 (SETUP_PIC_REG): Add .p2align directive.
48466 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48467 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48468 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48469 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48471 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48472 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48480 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48481 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48482 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48483 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48484 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48485 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48486 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48487 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48488 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48489 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48492 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48494 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48495 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48496 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48497 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48498 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48499 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48500 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48507
65dc3b75
JM
485082012-02-03 Joseph Myers <joseph@codesourcery.com>
48509
48510 * math/tst-CMPLX.c: Include <stdio.h>.
48511
d55bf177
JM
485122012-01-31 Joseph Myers <joseph@codesourcery.com>
48513
48514 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48515 float.
48516 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48517 * sysdeps/sparc/bits/mathdef.h: Likewise.
48518
69db4f8f
MP
485192012-01-31 Marek Polacek <polacek@redhat.com>
48520
48521 * libio/libio.h: Don't define _PARAMS.
48522 * locale/programs/config.h: Don't define PARAMS.
48523 * stdlib/strtol_l.c: Likewise.
48524 (__strtol_l): Remove PARAMS from the prototype.
48525
41b81892
UD
485262012-01-31 Ulrich Drepper <drepper@gmail.com>
48527
3b49edc0
UD
48528 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48529 names. Just use the correct names. Remove unnecessary wrapper
48530 functions.
48531 * malloc/arena.c: Likewise.
48532 * malloc/hooks.c: Likewise.
48533
41b81892
UD
48534 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48535 ARENA_TEST says not to. Simplify test for creation of a new arena.
48536 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48537
27a25b6e
UD
485382012-01-30 Ulrich Drepper <drepper@gmail.com>
48539
48540 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48541 into tail calls.
48542 (update_get_addr): New function.
48543 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48544 GET_ADDR_MODULE parameter.
48545
c8a89e7d
JM
485462012-01-30 Joseph Myers <joseph@codesourcery.com>
48547
48548 * crypt/cert.c: Remove __STDC__ conditionals.
48549 * crypt/crypt-entry.c: Likewise.
48550 * crypt/crypt_util.c: Likewise.
48551 * libio/filedoalloc.c: Likewise.
48552 * libio/fileops.c: Likewise.
48553 * libio/genops.c: Likewise.
48554 * libio/iofclose.c: Likewise.
48555 * libio/iofdopen.c: Likewise.
48556 * libio/iofopen.c: Likewise.
48557 * libio/iofopen64.c: Likewise.
48558 * libio/iogetdelim.c: Likewise.
48559 * libio/iopopen.c: Likewise.
48560 * libio/obprintf.c: Likewise.
48561 * libio/oldfileops.c: Likewise.
48562 * libio/oldiofclose.c: Likewise.
48563 * libio/oldiofdopen.c: Likewise.
48564 * libio/oldiofopen.c: Likewise.
48565 * libio/oldiopopen.c: Likewise.
48566 * libio/wfiledoalloc.c: Likewise.
48567 * libio/wgenops.c: Likewise.
48568 * locale/programs/xmalloc.c: Likewise.
48569 * misc/syslog.c: Likewise.
48570 * stdio-common/xbug.c: Likewise.
48571 * string/memchr.c: Likewise.
48572 * string/memcmp.c: Likewise.
48573 * string/memrchr.c: Likewise.
48574 * string/rawmemchr.c: Likewise.
48575 * sysdeps/posix/getcwd.c: Likewise.
48576 * time/strftime_l.c: Likewise.
48577
3b100462
JM
485782012-01-30 Joseph Myers <joseph@codesourcery.com>
48579
48580 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48581 * config.make.in (config-cflags-sse2avx): Define.
48582 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48583 Fix typo.
48584
607998af
CM
485852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48586
48587 * scripts/config.guess: Update from upstream config git repository.
48588 * scripts/config.sub: Likewise.
48589
3601428f
CM
485902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48591
3ac8b282
CM
48592 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48593 (EM_NUM): Update.
48594 (R_TILEPRO_*, R_TILEGX_*): New macros.
48595
e034841e
CM
48596 * scripts/firstversions.awk: Fix bug in version range handling.
48597
540d7568
CM
48598 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48599
3601428f
CM
48600 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48601
463de862
CM
48602 * include/sys/epoll.h: New file.
48603 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48604 libc_hidden_def.
48605
73139a76
UD
486062012-01-28 Ulrich Drepper <drepper@gmail.com>
48607
96bc5b45
UD
48608 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48609 Avoid unnecessary __WORDSIZE == 64 test.
48610 (fmaxf): Use VEX format if possible.
48611 (fmax): Likewise.
48612 (fminf): Likewise.
48613 (fmin): Likewise.
48614
56f6f6a2
UD
48615 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48616 * math/math_private.h: Remove libc_fegetround* and
48617 libc_fesetround*.
48618 * sysdeps/i386/configure.in: Check for -msse2avx.
48619 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48620 also if SSE2AVX is defined.
48621 Remove libc_fegetround* and libc_fesetround*.
48622 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48623 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48625 of HAS_YMM_USABLE.
48626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48627 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48629 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48631
73139a76
UD
48632 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48633
d73f93a4
AZ
486342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48635
48636 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48637 size is not set.
48638 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48639
6ee65ed6
UD
486402012-01-27 Ulrich Drepper <drepper@gmail.com>
48641
48642 [BZ #13618]
48643 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48644 relocation.
48645 * Makeconfig (libm): Define.
48646 * elf/Makefile: Add rules to build and run tst-relsort1.
48647 * elf/tst-relsort1.c: New file.
48648 * elf/tst-relsort1mod1.c: New file.
48649 * elf/tst-relsort1mod2.c: New file.
48650
8db21882
JM
486512012-01-27 Joseph Myers <joseph@codesourcery.com>
48652
48653 * math/s_ldexp.c: Remove __STDC__ conditionals.
48654 * math/s_ldexpf.c: Likewise.
48655 * math/s_ldexpl.c: Likewise.
48656 * math/s_nextafter.c: Likewise.
48657 * math/s_nexttowardf.c: Likewise.
48658 * math/s_significand.c: Likewise.
48659 * math/s_significandf.c: Likewise.
48660 * math/s_significandl.c: Likewise.
48661 * math/w_jnl.c: Likewise.
48662 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48663 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48664 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48665 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48666 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48668 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48669 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48670 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48671 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48672 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48674 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48675 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48676 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48677 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48678 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48679 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48681 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48682 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48683 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48690 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48692 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48693 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48695 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48696 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48698 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48700 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48701 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48702 * sysdeps/ieee754/k_standard.c: Likewise.
48703 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48707 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48708 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48709 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48710 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48712 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48722 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48764 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48769 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48776 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48777 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48778 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48781 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48782 * sysdeps/ieee754/s_matherr.c: Likewise.
48783 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48784 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48787
965a54a4
JM
487882012-01-26 Joseph Myers <joseph@codesourcery.com>
48789
48790 * crypt/md5.h: Remove __STDC__ conditionals.
48791 * libio/libioP.h: Likewise.
48792 * locale/programs/config.h: Likewise.
48793 * sysdeps/generic/sysdep.h: Likewise.
48794 * sysdeps/i386/asm-syntax.h: Likewise.
48795 * sysdeps/s390/asm-syntax.h: Likewise.
48796 * sysdeps/unix/sysdep.h: Likewise.
48797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48799
7071ad79
JM
488002012-01-26 Joseph Myers <joseph@codesourcery.com>
48801
48802 * libio/libio.h: Remove __STDC__ conditionals.
48803 * malloc/obstack.h: Likewise.
48804 * math/complex.h: Likewise.
48805 * math/math.h: Likewise.
48806 * sysdeps/generic/_G_config.h: Likewise.
48807 * sysdeps/gnu/_G_config.h: Likewise.
48808 * sysdeps/mach/hurd/_G_config.h: Likewise.
48809 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48810 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48811 * sysdeps/sparc/bits/mathdef.h: Likewise.
48812
afc5ed09
UD
488132012-01-26 Ulrich Drepper <drepper@gmail.com>
48814
48815 [BZ #13583]
48816 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48817 Clean up HAS_* macros.
afc5ed09 48818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48819 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48820 possible.
48821 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48822 HAS_AVX.
48823 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48824 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48826 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48828
bdb6de1d
JM
488292012-01-25 Joseph Myers <joseph@codesourcery.com>
48830
48831 * elf/tst-unique3.cc (gets): Remove declaration.
48832 * elf/tst-unique3lib.cc (gets): Likewise.
48833 * elf/tst-unique3lib2.cc (gets): Likewise.
48834 * elf/tst-unique4.cc (gets): Likewise.
48835
b15549e6
UD
488362012-01-24 Ulrich Drepper <drepper@gmail.com>
48837
48838 * include/stdio.h: Add C++ protection. Add gets declarations and
48839 definitions.
48840 * debug/tst-chk1.c: Don't declare gets here.
48841 * stdio-common/tst-gets.c: Likewise.
48842
a037381f
JM
488432012-01-24 Joseph Myers <joseph@codesourcery.com>
48844
48845 * posix/glob: Remove directory.
48846
f1d4aa75
JM
488472012-01-24 Joseph Myers <joseph@codesourcery.com>
48848
48849 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48850
81c0c964
PT
488512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48852
48853 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48854 of the non-standard EPFNOSUPPORT.
48855
0ea698ae
ST
488562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48857
48858 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48859 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48860 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48861
d220b117
UD
488622012-01-21 Ulrich Drepper <drepper@gmail.com>
48863
48864 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48865
3e1aa84e
UD
488662012-01-20 Ulrich Drepper <drepper@gmail.com>
48867
48868 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48869 transient errors.
48870 * nscd/grpcache.c (cache_addgr): Likewise.
48871 * nscd/hstcache.c (cache_addhst): Likewise.
48872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48873 * nscd/pwdcache.c (cache_addpw): Likewise.
48874 * nscd/servicescache.c (cache_addserv): Likewise.
48875
400aa020
UD
488762012-01-16 Ulrich Drepper <drepper@gmail.com>
48877
d77e7869
UD
48878 * malloc/malloc.c: Various cleanups.
48879 * malloc/hooks.c: Likewise.
48880
400aa020
UD
48881 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48882 * stdlib/bug-fmtmsg1.c: New file.
48883
48884 * stdlib/fmtmsg.c (init): Add missing unlock.
48885 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48886
e0a309cf
MP
488872012-01-12 Marek Polacek <polacek@redhat.com>
48888
48889 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48890 and _GNU_SOURCE.
48891
929d11c7
WS
488922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48893
48894 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48895 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48896 macro to ensure uniqueness of label name.
48897 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48898 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48899
41d0e869
UD
489002012-01-11 Ulrich Drepper <drepper@gmail.com>
48901
0cc5ed3b
UD
48902 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48903
41d0e869
UD
48904 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48905 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48908
a47a831a
UD
489092012-01-10 Ulrich Drepper <drepper@gmail.com>
48910
daa891c0
UD
48911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48912
48913 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48914 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48915 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48916
e58ef0f2
UD
48917 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48918
a47a831a 48919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48920 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48923
48924 * math/bits/math-finite.h: Add ldexp support.
48925
a0bfc9c7
MP
489262012-01-10 Marek Polacek <polacek@redhat.com>
48927
48928 * locale/programs/localedef.h (show_archive_content): Add noreturn
48929 attribute.
48930
d6e97a1d
UD
489312012-01-09 Ulrich Drepper <drepper@gmail.com>
48932
48933 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48934
d5835c26
UD
489352012-01-08 Ulrich Drepper <drepper@gmail.com>
48936
e5f484c6
UD
48937 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48938
d5835c26
UD
48939 * io/Makefile (headers): Add bits/poll2.h.
48940
d1f741e9
WS
489412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48942
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48944 typo #include statement.
48945
ec09c1c4
UD
489462012-01-08 Ulrich Drepper <drepper@gmail.com>
48947
48948 * include/sys/cdefs.h: Define __attribute_alloc_size.
48949 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48950 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48951 * elf/pldd.c: Likewise.
48952 * iconv/iconv_charmap.c: Likewise.
48953 * iconv/iconvconfig.c: Likewise.
48954 * iconv/strtab.c: Likewise.
48955 * locale/programs/locale.c: Likewise.
48956 * locale/programs/localedef.h: Likewise.
48957 * locale/programs/simple-hash.c: Likewise.
48958 * nscd/nscd.h: Likewise.
48959 * nss/makedb.c: Likewise.
48960 * sysdeps/generic/ldconfig.h: Likewise.
48961 * locale/programs/localedef.c: Remove xmalloc prototype.
48962 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48963
20b38e03
PP
489642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48965
48966 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48967 appropriate.
48968
a0da5fe1
UD
489692012-01-08 Ulrich Drepper <drepper@gmail.com>
48970
1d5a644a 48971 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48972 * math/tst-CMPLX.c: New file.
1d5a644a 48973
8784a6db
UD
48974 * math/complex.h (CMPLXL): Fix typo.
48975
d9a216c0
UD
48976 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48977 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48978 GLIBC_2.16.
48979 * debug/tst-chk1.c: Add poll and ppoll tests.
48980 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48981 * include/sys/poll.h: Add hidden proto for ppoll.
48982 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48983 * sysdeps/mach/hurd/ppoll.c: Likewise.
48984 * io/ppoll.c: Likewise.
48985 * debug/poll_chk.c: New file.
48986 * debug/ppoll_chk.c: New file.
48987 * include/bits/poll2.h: New file.
48988 * io/bits/poll2.h: New file.
48989
ac097f5c
UD
48990 [BZ #1350]
48991 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48992
2119dcfa
UD
48993 * configure.in: static is always set to yes. Remove.
48994 * config.make.in: Don't set build-static.
48995 * Makeconfig: Remove use of build-static.
48996 * dlfcn/Makefile: Likewise.
48997 * elf/Makefile: Likewise.
48998 * math/Makefile: Likewise.
48999 * misc/Makefile: Likewise.
49000 * nptl/Makefile: Likewise.
49001 * sysdeps/mach/hurd/Makefile: Likewise.
49002
121766a9
UD
49003 * configure.in: PWD_P is not used anymore.
49004 * config.make.in: Remove PWD_P entry.
49005
51a1d39c 49006 * configure.in: Remove last remnants of RANLIB.
8720d066 49007 No need to check for signed size_t anymore.
215f4bdc
UD
49008 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49009 and IA-64.
3857022a 49010 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49011 * aclocal.m4: Likewise.
49012
d3ed7225
UD
49013 * wcsmbs/mbrtoc16.c: Implement using towc function.
49014 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49015 * wcsmbs/wcsmbsload.c: Likewise.
49016 * iconv/gconv_simple.c: Likewise.
49017 * iconv/gconv_int.h: Likewise.
49018 * iconv/gconv_builtin.h: Likewise.
49019 * iconv/iconv_prog.c: Remove CHAR16 handling.
49020
49021 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49022
49023 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49024
a0da5fe1
UD
49025 * configure.in: Remove --with-elf and --enable-bounded options.
49026 Dont set base_machine for ia64. More non-ELF conditions removed.
49027 Remove testing and setting of leading underscore information.
49028 * config.make.in (build-bounded): Set to no.
49029 * config.h.in: Remove NO_UNDERSCORES entry.
49030 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49031 them.
49032 * csu/start.c: Remove !NO_UNDERSCORE code.
49033 * locale/localeinfo.h: Likewise.
49034 * sysdeps/generic/machine-gmon.h: Likewise.
49035 * sysdeps/generic/sysdep.h: Likewise.
49036 * sysdeps/i386/sysdep.h: Likewise.
49037 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49038 * sysdeps/mach/sysdep.h: Likewise.
49039 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49041 * sysdeps/sh/sysdep.h: Likewise.
49042 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49043 * sysdeps/unix/i386/sysdep.S: Likewise.
49044 * sysdeps/unix/sparc/start.c: Likewise.
49045 * sysdeps/unix/sparc/sysdep.S: Likewise.
49046 * sysdeps/unix/sparc/sysdep.h: Likewise.
49047 * sysdeps/unix/start.c: Likewise.
49048 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49049 * sysdeps/x86_64/sysdep.h: Likewise.
49050
df78418a
UD
490512012-01-07 Ulrich Drepper <drepper@gmail.com>
49052
a784e502
UD
49053 [BZ #13553]
49054 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49055 for non-gcc.
49056 * argp/argp-fmtstream.h: Use const instead __const.
49057 * argp/argp.h: Likewise.
49058 * assert/assert.h: Likewise.
49059 * bits/fenv.h: Likewise.
49060 * bits/sched.h: Likewise.
49061 * bits/sigset.h: Likewise.
49062 * bits/sigthread.h: Likewise.
49063 * catgets/nl_types.h: Likewise.
49064 * conform/data/pthread.h-data: Likewise.
49065 * crypt/crypt-private.h: Likewise.
49066 * crypt/crypt.h: Likewise.
49067 * crypt/crypt_util.c: Likewise.
49068 * ctype/ctype.h: Likewise.
49069 * debug/execinfo.h: Likewise.
49070 * debug/mbsnrtowcs_chk.c: Likewise.
49071 * debug/mbsrtowcs_chk.c: Likewise.
49072 * debug/wcsnrtombs_chk.c: Likewise.
49073 * debug/wcsrtombs_chk.c: Likewise.
49074 * debug/wcstombs_chk.c: Likewise.
49075 * dirent/dirent.h: Likewise.
49076 * dlfcn/dlfcn.h: Likewise.
49077 * elf/neededtest4.c: Likewise.
49078 * grp/grp.h: Likewise.
49079 * gshadow/gshadow.h: Likewise.
49080 * iconv/gconv.h: Likewise.
49081 * iconv/gconv_int.h: Likewise.
49082 * iconv/gconv_simple.c: Likewise.
49083 * iconv/iconv.h: Likewise.
49084 * iconv/loop.c: Likewise.
49085 * iconv/skeleton.c: Likewise.
49086 * include/aio.h: Likewise.
49087 * include/aliases.h: Likewise.
49088 * include/argz.h: Likewise.
49089 * include/arpa/inet.h: Likewise.
49090 * include/assert.h: Likewise.
49091 * include/dirent.h: Likewise.
49092 * include/dlfcn.h: Likewise.
49093 * include/execinfo.h: Likewise.
49094 * include/fcntl.h: Likewise.
49095 * include/fenv.h: Likewise.
49096 * include/glob.h: Likewise.
49097 * include/grp.h: Likewise.
49098 * include/libintl.h: Likewise.
49099 * include/mntent.h: Likewise.
49100 * include/netdb.h: Likewise.
49101 * include/pwd.h: Likewise.
49102 * include/rpc/netdb.h: Likewise.
49103 * include/sched.h: Likewise.
49104 * include/search.h: Likewise.
49105 * include/shadow.h: Likewise.
49106 * include/signal.h: Likewise.
49107 * include/stdio.h: Likewise.
49108 * include/stdlib.h: Likewise.
49109 * include/string.h: Likewise.
49110 * include/sys/socket.h: Likewise.
49111 * include/sys/stat.h: Likewise.
49112 * include/sys/statfs.h: Likewise.
49113 * include/sys/statvfs.h: Likewise.
49114 * include/sys/syslog.h: Likewise.
49115 * include/sys/time.h: Likewise.
49116 * include/sys/uio.h: Likewise.
49117 * include/time.h: Likewise.
49118 * include/unistd.h: Likewise.
49119 * include/utmp.h: Likewise.
49120 * include/wchar.h: Likewise.
49121 * include/wctype.h: Likewise.
49122 * inet/aliases.h: Likewise.
49123 * inet/arpa/inet.h: Likewise.
49124 * inet/netinet/ether.h: Likewise.
49125 * inet/netinet/in.h: Likewise.
49126 * intl/libintl.h: Likewise.
49127 * io/bits/fcntl2.h: Likewise.
49128 * io/fcntl.h: Likewise.
49129 * io/ftw.h: Likewise.
49130 * io/sys/poll.h: Likewise.
49131 * io/sys/stat.h: Likewise.
49132 * io/sys/statfs.h: Likewise.
49133 * io/sys/statvfs.h: Likewise.
49134 * io/utime.h: Likewise.
49135 * libio/bits/stdio.h: Likewise.
49136 * libio/bits/stdio2.h: Likewise.
49137 * libio/libio.h: Likewise.
49138 * libio/libioP.h: Likewise.
49139 * libio/stdio.h: Likewise.
49140 * locale/lc-ctype.c: Likewise.
49141 * locale/locale.h: Likewise.
49142 * login/utmp.h: Likewise.
49143 * malloc/arena.c: Likewise.
49144 * malloc/malloc.c: Likewise.
49145 * malloc/malloc.h: Likewise.
49146 * malloc/mcheck.c: Likewise.
49147 * malloc/mtrace.c: Likewise.
49148 * math/bits/mathcalls.h: Likewise.
49149 * math/fenv.h: Likewise.
49150 * math/math_private.h: Likewise.
49151 * misc/bits/error.h: Likewise.
49152 * misc/bits/syslog.h: Likewise.
49153 * misc/err.h: Likewise.
49154 * misc/error.h: Likewise.
49155 * misc/fstab.h: Likewise.
49156 * misc/mntent.h: Likewise.
49157 * misc/regexp.h: Likewise.
49158 * misc/search.h: Likewise.
49159 * misc/sgtty.h: Likewise.
49160 * misc/sys/mman.h: Likewise.
49161 * misc/sys/syslog.h: Likewise.
49162 * misc/sys/uio.h: Likewise.
49163 * misc/sys/xattr.h: Likewise.
49164 * misc/ttyent.h: Likewise.
49165 * nis/rpcsvc/ypclnt.h: Likewise.
49166 * nss/nss.h: Likewise.
49167 * posix/bits/unistd.h: Likewise.
49168 * posix/fnmatch.h: Likewise.
49169 * posix/glob.h: Likewise.
49170 * posix/sched.h: Likewise.
49171 * posix/spawn.h: Likewise.
49172 * posix/sys/wait.h: Likewise.
49173 * posix/unistd.h: Likewise.
49174 * posix/wordexp.h: Likewise.
49175 * pwd/pwd.h: Likewise.
49176 * resolv/netdb.h: Likewise.
49177 * resource/sys/resource.h: Likewise.
49178 * rt/aio.h: Likewise.
49179 * rt/bits/mqueue2.h: Likewise.
49180 * rt/mqueue.h: Likewise.
49181 * shadow/shadow.h: Likewise.
49182 * signal/signal.h: Likewise.
49183 * socket/send.c: Likewise.
49184 * socket/sendto.c: Likewise.
49185 * socket/sys/socket.h: Likewise.
49186 * stdio-common/printf.h: Likewise.
49187 * stdlib/bits/stdlib.h: Likewise.
49188 * stdlib/fmtmsg.h: Likewise.
49189 * stdlib/monetary.h: Likewise.
49190 * stdlib/stdlib.h: Likewise.
49191 * stdlib/ucontext.h: Likewise.
49192 * streams/stropts.h: Likewise.
49193 * string/argz.h: Likewise.
49194 * string/bits/string2.h: Likewise.
49195 * string/string.h: Likewise.
49196 * string/strings.h: Likewise.
49197 * sunrpc/rpc/auth.h: Likewise.
49198 * sunrpc/rpc/auth_des.h: Likewise.
49199 * sunrpc/rpc/clnt.h: Likewise.
49200 * sunrpc/rpc/netdb.h: Likewise.
49201 * sunrpc/rpc/pmap_clnt.h: Likewise.
49202 * sunrpc/rpc/xdr.h: Likewise.
49203 * sysdeps/generic/inttypes.h: Likewise.
49204 * sysdeps/generic/net/if.h: Likewise.
49205 * sysdeps/generic/sys/swap.h: Likewise.
49206 * sysdeps/gnu/net/if.h: Likewise.
49207 * sysdeps/gnu/utmpx.h: Likewise.
49208 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49209 * sysdeps/i386/i486/bits/string.h: Likewise.
49210 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49211 * sysdeps/s390/bits/string.h: Likewise.
49212 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49213 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49214 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49215 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49216 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49217 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49218 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49219 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49220 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49221 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49222 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49223 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49224 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49225 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49226 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49227 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49228 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49230 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49231 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49233 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49234 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49235 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49236 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49237 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49238 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49240 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49242 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49243 * sysvipc/sys/ipc.h: Likewise.
49244 * sysvipc/sys/msg.h: Likewise.
49245 * sysvipc/sys/sem.h: Likewise.
49246 * sysvipc/sys/shm.h: Likewise.
49247 * termios/termios.h: Likewise.
49248 * time/sys/time.h: Likewise.
49249 * time/time.h: Likewise.
49250 * wcsmbs/bits/wchar2.h: Likewise.
49251 * wcsmbs/uchar.h: Likewise.
49252 * wcsmbs/wchar.h: Likewise.
49253 * wctype/wctype.h: Likewise.
49254
0269750c
UD
49255 [BZ #13551]
49256 * Makeconfig: Remove all but ELF support including AIX support.
49257 * Makerules: Likewise.
49258 * config.h.in: Likewise.
49259 * config.make.in: Likewise.
49260 * configure: Likewise.
49261 * configure.in: Likewise.
49262 * csu/Makefile: Likewise.
49263 * csu/version.c: Likewise.
49264 * debug/Makefile: Likewise.
49265 * dlfcn/Makefile: Likewise.
49266 * elf/Makefile: Likewise.
49267 * extra-lib.mk: Likewise.
49268 * iconv/Makefile: Likewise.
49269 * include/libc-symbols.h: Likewise.
49270 * include/shlib-compat.h: Likewise.
49271 * resolv/Makefile: Likewise.
49272 * resolv/res_libc.c: Likewise.
49273 * rt/Makefile: Likewise.
49274 * sysdeps/i386/asm-syntax.h: Likewise.
49275 * sysdeps/i386/sysdep.h: Likewise.
49276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49277 * sysdeps/mach/sysdep.h: Likewise.
49278 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49279 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49280 * sysdeps/s390/asm-syntax.h: Likewise.
49281 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49282 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49283 * sysdeps/sh/sysdep.h: Likewise.
49284 * sysdeps/unix/sparc/sysdep.h: Likewise.
49285 * sysdeps/wordsize-32/divdi3.c: Likewise.
49286 * sysdeps/x86_64/sysdep.h: Likewise.
49287
00bbd29b
UD
49288 * argp/Versions: Remove _argp_unlock_xxx.
49289
49290 [BZ #13559]
49291 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49292 * abilist/libBrokenLocale.abilist: Likewise.
49293 * abilist/libanl.abilist: Likewise.
49294 * abilist/libc.abilist: Likewise.
49295 * abilist/libcrypt.abilist: Likewise.
49296 * abilist/libdl.abilist: Likewise.
49297 * abilist/libm.abilist: Likewise.
49298 * abilist/libnsl.abilist: Likewise.
49299 * abilist/libpthread.abilist: Likewise.
49300 * abilist/libresolv.abilist: Likewise.
49301 * abilist/librt.abilist: Likewise.
49302 * abilist/libthread_db.abilist: Likewise.
49303 * abilist/libutil.abilist: Likewise.
49304 * abilist/libnss_db.abilist: New file.
49305
49306 * scripts/abilist.awk: Add support for indirect functions.
49307
a2693a0e
UD
49308 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49309
3f05895f
UD
49310 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49311
ecb6fb48
UD
49312 * shlib-versions: Remove entries for ports architectures.
49313
664f8cb9
UD
49314 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49315 files in ports.
49316 * elf/stackguard-macros.h: Remove support for IA-64.
49317 * elf/tst-auditmod1.c: Likewise.
49318 * sysdeps/generic/ldsodefs.h: Likewise.
49319
7ae81d88
UD
49320 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49321 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49322 configure files.
49323
bdeba135
UD
49324 [BZ #13552]
49325 * configure.in: Remove --enable-omitfp support.
49326 * FAQ.in: Adjust.
49327 * config.make.in: Likewise.
49328 * Makeconfig: Likewise.
49329 * manual/install.texi: Likewise.
49330
d75a0a62
UD
49331 In case anyone cares, the IA-64 architecture could move to ports.
49332 * sysdeps/ia64/*: Removed.
49333 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49334 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49335
dcc9756b
UD
49336 [BZ #13555]
49337 * configure.in: Remove entries for unsupported architectures.
49338
d3761ebc 49339 [BZ #13533]
9954432e
UD
49340 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49341 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49342 routines.
49343 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49344 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49345 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49346 fall back to using wcrtomb.
49347 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49348 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49349 renaming.
49350 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49351 * wcsmbs/tst-c16c32-1.c: New file.
49352
49353 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49354 local variable.
49355
c3a87236
UD
49356 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49357
28926a1b
UD
49358 * elf/tst-unique3.cc: Add explicit declaration of gets.
49359 * elf/tst-unique3lib.cc: Likewise.
49360 * elf/tst-unique3lib2.cc: Likewise.
49361 * elf/tst-unique4.cc: Likewise.
49362
df78418a
UD
49363 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49364
8ecd6b2a
JM
493652012-01-06 Joseph Myers <joseph@codesourcery.com>
49366
49367 [BZ #13566]
49368 * assert/assert.h (static_assert): Don't define for C++.
49369 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49370 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49371
9f115170
UD
493722012-01-03 Ulrich Drepper <drepper@gmail.com>
49373
5e0d0300
UD
49374 * iconv/loop.c (single loop): Fix assertion in storing of
49375 remaining bytes.
49376
9f115170
UD
49377 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49378
81fb02b0
UD
493792012-01-01 Ulrich Drepper <drepper@gmail.com>
49380
49381 * posix/getconf.c: Update copyright year.
49382 * nss/getent.c: Likewise.
a316c1f6 49383 * nss/makedb.c: Likewise.
81fb02b0
UD
49384 * iconv/iconvconfig.c: Likewise.
49385 * iconv/iconv_prog.c: Likewise.
49386 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49387 * elf/pldd.c: Likewise.
49388 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49389 * catgets/gencat.c: Likewise.
49390 * csu/version.c: Likewise.
49391 * elf/ldd.bash.in: Likewise.
49392 * elf/sprof.c (print_version): Likewise.
49393 * locale/programs/locale.c: Likewise.
49394 * locale/programs/localedef.c: Likewise.
a316c1f6 49395 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49396 * nscd/nscd.c (print_version): Likewise.
49397 * debug/xtrace.sh: Likewise.
49398 * malloc/memusage.sh: Likewise.
49399 * malloc/mtrace.pl: Likewise.
49400 * debug/catchsegv.sh: Likewise.
49401
2ba92745
JJ
494022011-12-30 Jakub Jelinek <jakub@redhat.com>
49403
49404 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49405 pure attribute.
49406
dadebdae
UD
494072011-12-24 Ulrich Drepper <drepper@gmail.com>
49408
d3761ebc 49409 [BZ #13533]
db6af3eb
UD
49410 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49411 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49412 transformations.
49413 * iconv/gconv_int.h: Likewise.
49414 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49415 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49416 from libc for GLIBC_2.16.
49417 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49418 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49419 * wcsmbs/uchar.h: Really define mbstate_t.
49420 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49421 * wcsmbs/c16rtomb.c: New file.
49422 * wcsmbs/mbrtoc16.c: New file.
49423 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49424 for C/POSIX locale.
49425 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49426 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49427
dadebdae
UD
49428 * wcsmbs/wchar.h: Add missing __restrict.
49429
67371b56
UD
494302011-12-23 Ulrich Drepper <drepper@gmail.com>
49431
74033a25
UD
49432 [BZ #13532]
49433 * time/Makefile (routines): Add timespec_get.
49434 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49435 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49436 timespec for ISO C11.
49437 * time/timespec_get.c: New file.
49438 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49439 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49440
380d7e87
UD
49441 [BZ #13531]
49442 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49443 * stdlib/stdlib.h: Declare aligned_alloc.
49444 * Versions.def: Add GLIBC_2.16 for libc.
49445 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49446
4e9e7a35
UD
49447 [BZ 13527]
49448 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49449 ISO C11.
49450
380d7e87 49451 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49452 code.
49453
03a71829
UD
49454 [BZ #13528]
49455 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49456
839e283e
UD
49457 [BZ #13529]
49458 * assert/assert.h (static_assert): Define.
49459
ce5294e2 49460 * version.h: Update for 2.16 development version.
90fa7312 49461
8d44e150 49462 [BZ #13526]
d7809905
UD
49463 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49464 _ISOC11_SOURCE.
49465
c0da14cd
UD
49466 * version.h (RELEASE): Bump for 2.15 release.
49467 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49468
530a3249
MP
49469 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49470 Patch by Marek Polacek <mpolacek@redhat.com>.
49471
67371b56
UD
49472 * bits/byteswap.h: Protect long long constants with __extension__.
49473 * sysdeps/i386/bits/byteswap.h: Likewise.
49474 * sysdeps/ia64/bits/byteswap.h: Likewise.
49475 * sysdeps/s390/bits/byteswap.h: Likewise.
49476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49477
15db4de1
LD
494782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49479
49480 [BZ #13540]
bbe315ea
LD
49481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49482 destination buffer.
15db4de1
LD
49483 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49484
2b2596b1
MP
494852011-12-23 Marek Polacek <polacek@redhat.com>
49486
49487 * elf/dl-addr.c (determine_info): Add inline keyword.
49488 * elf/tst-auditmod4b.c (check_avx): Likewise.
49489 * elf/tst-auditmod6b.c (check_avx): Likewise.
49490 * elf/tst-auditmod6c.c (check_avx): Likewise.
49491 * elf/tst-auditmod7b.c (check_avx): Likewise.
49492
70c6c246
UD
494932011-12-23 Ulrich Drepper <drepper@gmail.com>
49494
49495 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49496 !__SSE_MATH__.
49497
c044cf14
LD
494982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49499
15db4de1 49500 [BZ #13540]
c044cf14
LD
49501 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49502 processing for last bytes.
49503
6b13d9d9
BH
495042011-08-06 Bruno Haible <bruno@clisp.org>
49505
d455f537
BH
49506 [BZ #13061]
49507 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49508 U+0385, not to U+1FEE.
49509
6b13d9d9
BH
49510 [BZ #13062]
49511 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49512 entry for U+00A5 U+0301.
49513
db910efd
UD
495142011-12-22 Ulrich Drepper <drepper@gmail.com>
49515
27deeafc
UD
49516 [BZ #13166]
49517 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49518 buffer for the output is too small.
49519
aed9d171
UD
49520 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49521 optimization.
49522
db910efd
UD
49523 [BZ #13185]
49524 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49525 SSE flags if possible.
49526
2bd779ae
LD
495272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49528
e7f9dac3 49529 [BZ #13540]
2bd779ae
LD
49530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49531 processing for last bytes.
49532
154bfc16
JM
495332011-12-22 Joseph Myers <joseph@codesourcery.com>
49534
49535 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49536 (syscall-list-default-options, syscall-list-default-condition)
49537 (syscall-list-includes): Define.
49538 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49539 list of ABIs and options and #if conditions for each ABI. Do not
49540 handle common syscalls between ABIs specially.
49541 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49542 Remove.
49543 (syscall-list-variants, syscall-list-32bit-options)
49544 (syscall-list-32bit-condition, syscall-list-64bit-options)
49545 (syscall-list-64bit-condition): Define.
49546 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49547 (syscall-list-variants, syscall-list-32bit-options)
49548 (syscall-list-32bit-condition, syscall-list-64bit-options)
49549 (syscall-list-64bit-condition): Define.
49550 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49551 Remove.
49552 (syscall-list-variants, syscall-list-32bit-options)
49553 (syscall-list-32bit-condition, syscall-list-64bit-options)
49554 (syscall-list-64bit-condition): Define.
49555 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49556 Remove.
49557 (syscall-list-variants, syscall-list-32bit-options)
49558 (syscall-list-32bit-condition, syscall-list-64bit-options)
49559 (syscall-list-64bit-condition): Define.
49560
21eaf3a5
UD
495612011-12-22 Ulrich Drepper <drepper@gmail.com>
49562
16c6f992
UD
49563 * locale/iso-639.def: Add brx entry.
49564
41043168
UD
49565 [BZ #13328]
49566 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49567 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49568
21eaf3a5
UD
49569 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49570 __feraiseexcept_renamed.
49571
e3a851a2
UD
495722011-12-21 Ulrich Drepper <drepper@gmail.com>
49573
4920765e
UD
49574 [BZ #13538]
49575 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49576 EPOLLET with unsigned values.
49577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49579
e3a851a2
UD
49580 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49581 to large cancellation.
49582 * math/s_cacoshf.c: Likewise.
49583 * math/s_cacoshl.c: Likewise.
49584
b27e24b8
RK
495852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49586
49587 [BZ #13305]
aebefeee 49588 [BZ #12786]
b27e24b8
RK
49589 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49590 * math/s_cacoshf.c: Likewise.
49591 * math/s_cacoshl.c: Likewise.
49592
ee190f67
UD
495932011-12-21 Ulrich Drepper <drepper@gmail.com>
49594
49595 [BZ #13439]
49596 * iconv/gconv.h: Define __GCONV_SWAP.
49597 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49598 * iconvdata/utf-16.c: Likewise.
49599 * iconvdata/utf-32.c: Likewise.
49600
707f25df
AS
496012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49602
49603 [BZ #13524]
49604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49605 numerator after shifting it by one limb.
49606
d2daaa1e
RÁE
496072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49608
49609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49610 under [__USE_EXTERN_INLINES].
49611
a4647e72
UD
496122011-12-17 Ulrich Drepper <drepper@gmail.com>
49613
49614 [BZ #13446]
49615 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49616
f0b264f1
AZ
496172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49618
49619 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49620 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49621 optimized code.
49622 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49623 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49624 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49625 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49626 for strncasecmp/strncasecmp_l compilation.
49627 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49628 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49629
8ef4f244
MP
496302011-12-08 Marek Polacek <mpolacek@redhat.com>
49631
49632 [BZ #13484]
49633 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49634 of __asm__.
49635
97ac2654
UD
496362011-12-17 Ulrich Drepper <drepper@gmail.com>
49637
49638 [BZ #13506]
49639 * time/tzfile.c (__tzfile_read): Check values from file header.
49640
91d2a845
WS
496412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49642
49643 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49644 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49645 * powerpc/powerpc32/dl-start.S: Likewise.
49646 * powerpc/powerpc32/elf/start.S: Likewise.
49647 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49648 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49649 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49650 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49651 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49652 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49653 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49654 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49655 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49656 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49657 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49658 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49659 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49660 * powerpc/powerpc32/memset.S: Likewise.
49661 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49662 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49663 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49664 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49665 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49666 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49667 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49668 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49669 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49670 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49671 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49672 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49673 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49674
a1267ba1
AZ
496752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49676
49677 * math/libm-test.inc: Added more nearbyint tests.
49678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49682
ad8ac1bd
RL
496832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49684
49685 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49686 FD_CLOEXEC.
49687
1d3e4b61
UD
496882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49689
49690 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49691 Add wcscpy-ssse3 wcscpy-c.
49692 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49693 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49694 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49695 * sysdeps/x86_64/wcschr.S: New file.
49696 * sysdeps/x86_64/wcsrchr.S: New file.
49697 * string/test-strcmp.c: Remove checking of wcscmp function for
49698 wrong alignments.
49699 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49700 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49701 wcsrchr-sse2 wcsrchr-c.
49702 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49703 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49704 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49705 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49706 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49707 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49708 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49709 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49710 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49711 * wcsmbc/wcschr.c (WCSCHR): New macro.
49712
5b330a2d
UD
497132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49714
49715 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49716 * wcsmbs/test-wcsrchr.c: New file.
49717 * string/test-strrchr.c: Add wcsrchr support.
49718 (WIDE): New macro.
49719 * wcsmbs/test-wcscpy.c: New file.
49720 * string/test-strcpy.c: Add wcscpy support.
49721 (WIDE): New macro.
26428b7c 49722
f039c043
UD
497232011-12-10 Ulrich Drepper <drepper@gmail.com>
49724
49725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49726 the inner loop.
49727
850fb039
AS
497282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49729
49730 [BZ #13472]
49731 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49732
4efbd5cb
UD
497332011-12-04 Ulrich Drepper <drepper@gmail.com>
49734
52ff5dd0 49735 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49736 Minor optimizations.
52ff5dd0 49737
4efbd5cb
UD
49738 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49739 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49740 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49741
8a426e12
UD
497422011-12-03 Ulrich Drepper <drepper@gmail.com>
49743
aff2453d
UD
49744 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49745 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49746 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49747 for gcc to avoid warnings.
49748 * inet/Makefile (tests): Add tst-checks.
49749 * inet/tst-checks.c: New file.
49750
49751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49752 warning.
49753
49754 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49755 __wmemcmp_sse2.
49756
49757 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49758 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49759
8a426e12
UD
49760 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49761
9bea3473
UD
497622011-12-02 Ulrich Drepper <drepper@gmail.com>
49763
3a965496
UD
49764 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49765 problem.
49766
9bea3473
UD
49767 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49768
f101631b
UD
497692011-11-29 Joseph Myers <joseph@codesourcery.com>
49770
49771 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49772 conditional on GCC version.
49773 (__arch_compare_and_exchange_val_8_acq)
49774 (__arch_compare_and_exchange_val_16_acq)
49775 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49776 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49777 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49778
a98275aa
UD
497792011-12-02 Joseph Myers <joseph@codesourcery.com>
49780
49781 * sysdeps/sh/backtrace.c: New file.
49782
d4cc29a2
AS
497832011-12-02 Andreas Schwab <schwab@redhat.com>
49784
49785 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49786 parenthesis.
49787
6257af2d
AS
497882011-12-01 Andreas Schwab <schwab@redhat.com>
49789
49790 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49791 falling back to utime.
49792
b5f44c1a
AS
497932011-11-30 Andreas Schwab <schwab@redhat.com>
49794
49795 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49796 expectations for float.
49797
f3a6cc0a
AS
497982011-11-29 Andreas Schwab <schwab@redhat.com>
49799
49800 * locale/weight.h (findidx): Add parameter len.
49801 * locale/weightwc.h (findidx): Likewise.
49802 * posix/fnmatch_loop.c (FCT): Adjust caller.
49803 * posix/regcomp.c (build_equiv_class): Likewise.
49804 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49805 * posix/regexec.c (check_node_accept_bytes): Likewise.
49806 * string/strcoll_l.c (STRCOLL): Likewise.
49807 * string/strxfrm_l.c (STRXFRM): Likewise.
49808
9d65ea3a
UD
498092011-11-17 Ulrich Drepper <drepper@gmail.com>
49810
49811 * Makefile.in: Remove CVSOPT handling.
49812 * configure.in: Remove use of AC_REVISION.
49813 * iconvdata/Makefile (distribute): No need to filter out CVS.
49814 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49815 handling.
49816
5583a086
AS
498172011-11-16 Andreas Schwab <schwab@redhat.com>
49818
49819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49820 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49821 [USE_AS_STRNCASECMP_L]: Likewise.
49822 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49823 NO_TLS_DIRECT_SEG_REFS.
49824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49825 Fix argument offsets for non-PIC.
49826 [USE_AS_STRNCASECMP_L]: Likewise.
49827 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49828 NO_TLS_DIRECT_SEG_REFS.
49829
d62a8200
UD
498302011-11-15 Ulrich Drepper <drepper@gmail.com>
49831
9d65ea3a 49832 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49833 O_CLOEXEC.
49834 * locale/loadlocale.c (_nl_load_locale): Likewise.
49835
09f93bd3
AS
498362011-11-15 Andreas Schwab <schwab@redhat.com>
49837
446514f9
AS
49838 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49839 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49840 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49841 (SYSCALL_GETTIME): Set errno on error.
49842
09f93bd3
AS
49843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49844 count references to noai6ai_cached.
49845
312be3f9
UD
498462011-11-15 Ulrich Drepper <drepper@gmail.com>
49847
49848 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49849
49850 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49851 FD_CLOEXEC for /proc/self/maps.
49852
49853 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49854 FD_CLOEXEC for /proc/meminfo.
49855
49856 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49857 gai.conf.
49858
49859 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49860 FD_CLOEXEC for given file.
49861
49862 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49863
49864 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49865 FD_CLOEXEC for /etc/hosts.
49866 (_gethtent): Likewise.
49867
49868 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49869
49870 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49871 cancellation and set FD_CLOEXEC for /etc/netgroup.
49872
49873 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49874 reading /etc/publickey.
49875
49876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49877 allow cancellation when reading /etc/group.
49878
49879 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49880 cancellation.
49881 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49882
49883 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49884 when using data file.
49885
49886 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49887
49888 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49889 (write_nis_obj): Use "c" and "e" in fopen.
49890
49891 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49892
49893 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49894
49895 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49896
49897 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49898
49899 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49900 locale.alias.
49901
49902 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49903
49904 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49905
49906 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49907
49908 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49909 file parsing and set FD_CLOEXEC.
49910
82af0fa8
UD
499112011-11-14 Ulrich Drepper <drepper@gmail.com>
49912
49913 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49914
a5fb313c
AS
499152011-11-14 Andreas Schwab <schwab@redhat.com>
49916
49917 * malloc/arena.c (arena_get2): Don't call reused_arena when
49918 _int_new_arena failed.
49919
6abf3465
UD
499202011-11-14 Ulrich Drepper <drepper@gmail.com>
49921
49922 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49923 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49928 to compile strcasecmp and strncasecmp.
49929 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49930 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49931
49932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49933
76e3966e
UD
499342011-11-13 Ulrich Drepper <drepper@gmail.com>
49935
49936 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49937 locale-defines.sym to gen-as-const-headers.
49938 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49939 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49941 to compile strcasecmp and strncasecmp.
49942 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49943 strcasecmp_l and strncasecmp_l.
49944 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49945 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49946 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49947 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49948 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49949 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49950 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49951 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49952 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49953 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49954 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49955
ab26144e
UD
499562011-11-12 Ulrich Drepper <drepper@gmail.com>
49957
7edb22ef
UD
49958 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49959 result of SYSDEP_GETTIME_CPU to retval.
49960 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49961 parameter list to macro. Remove trailing semicolon. Adjust users.
49962
9694fc44
UD
49963 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49964 variable.
49965
8ad89ef8
UD
49966 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49967 mantissa words.
49968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49969
0c822ef9
UD
49970 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49971 from unused variable.
49972
874e0564
UD
49973 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49974 DWARF definitions.
49975 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49976 for assembling.
49977
3a2edc79
UD
49978 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49979 over namespaces.
49980
f3c2577f
UD
49981 * sunrpc/rpc_prot.c (rejected): Fix case value.
49982
294ce126
UD
49983 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49984 unsigned long long int to avoid warnings in shift.
49985
5e2b63c6
UD
49986 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49987 of use of trans.
49988 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49989 variable tmp.
49990
e7f4b08e
UD
49991 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49992 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49993 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49994
ab26144e
UD
49995 * nis/nis_table.c (nis_list): Use variable of correct type for
49996 result of __follow_path call.
49997
8a6d5255
AZ
499982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49999
50000 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50001 of math functions ceil, trunc, floor, round, and sqrt, when
50002 avaliable on the platform.
50003 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50004 name clash.
50005 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50007 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50008
aaddc98c
MP
500092011-10-30 Marek Polacek <mpolacek@redhat.com>
50010
50011 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50013
95b7042b
RM
500142011-11-11 Roland McGrath <roland@hack.frob.com>
50015
50016 * include/unistd.h: Fix __readlink return type.
50017 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50018
57769839
UD
500192011-11-11 Ulrich Drepper <drepper@gmail.com>
50020
50021 * stdlib/ucontext.h: Undo last change for makecontext.
50022
edc5984d
AS
500232011-11-11 Andreas Schwab <schwab@redhat.com>
50024
98591e58
AS
50025 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50026
edc5984d
AS
50027 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50028 * setjmp/setjmp.h: Mark functions as non-leaf.
50029 * setjmp/bits/setjmp2.h: Likewise.
50030 * stdlib/ucontext.h: Likewise.
50031
77cdc054
AS
500322011-11-10 Andreas Schwab <schwab@redhat.com>
50033
50034 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50035 (reused_arena): Don't check arena limit.
50036 (arena_get2): Atomically check arena limit.
50037
fe72eebd
UD
500382011-11-08 Ulrich Drepper <drepper@gmail.com>
50039
5f078c32
UD
50040 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50041 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50042
fe72eebd
UD
50043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50044 instructions.
50045
ae1bc2fa
AS
500462011-11-07 Andreas Schwab <schwab@redhat.com>
50047
7583a88d
AS
50048 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50049 handler when locking.
50050
ae1bc2fa
AS
50051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50052 Fix size of allocated buffer.
50053
10fb0bfa
AS
500542011-11-04 Andreas Schwab <schwab@redhat.com>
50055
998832a4
AS
50056 [BZ #10103]
50057 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50058 declarations for long double functions.
50059 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50060
10fb0bfa
AS
50061 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50062
3d7ba52b
AS
500632011-11-03 Andreas Schwab <schwab@redhat.com>
50064
a9ae54a1
AS
50065 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50066 installed.
50067
3d7ba52b
AS
50068 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50069 is disabled.
50070
bc8db248
ST
500712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50072
50073 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50074
45b96dd6
AS
500752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50076
647776f6
AS
50077 * include/alloca.h (stackinfo_alloca_round): Define.
50078 (extend_alloca): Use it.
50079 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50080 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50081 here.
50082
d91a8b93
AS
50083 * scripts/check-local-headers.sh: Ignore libaudit.h.
50084
45b96dd6
AS
50085 * nscd/Makefile (extra-objs): Make recursively expanded.
50086
432d41ce
UD
500872011-11-01 Ulrich Drepper <drepper@gmail.com>
50088
34372fc6
UD
50089 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50091
fadb59f8
UD
50092 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50093 * posix/tst-rfc3484-2.c: Likewise.
50094 * posix/tst-rfc3484-3.c: Likewise.
50095
78239589
UD
50096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50097 process_vm_writev.
50098 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50099 process_vm_writev.
50100 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50101 process_vm_writev from libc using GLIBC_2.15 version.
50102
432d41ce
UD
50103 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50104
02f9c6cf
PP
501052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50106
50107 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50108 stack usage.
50109
3a2c0242
UD
501102011-10-31 Ulrich Drepper <drepper@gmail.com>
50111
f4ec4833
UD
50112 [BZ #13367]
50113 * nss/getent.c (initgroups_keys): Show error message in case no group
50114 names are given.
50115
3a2c0242
UD
50116 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50117 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50118 __bump_nl_timestamp.
50119 * nscd/connections (nscd_init): When host database is served open
50120 netlink socket and request notification about configuration changes.
50121 (main_loop_poll): Track netlink file descriptor and bump timestamp
50122 in case data becomes available.
50123 (main_loop_epoll): Likewise.
50124 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50125 (database_pers_head): Add extra_data fileds.
50126 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50128 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50129 Adjust caller.
50130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50131 in6ai data, call __free_in6ai.
50132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50133 Add -DHAVE_NETLINK.
50134 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50135 interface information. Reuse previous data if netlink timestamp
50136 is not changed.
50137 (__bump_nl_timestamp): New function.
50138 (__free_in6ai): New function.
50139
636064eb
UD
501402011-10-30 Ulrich Drepper <drepper@gmail.com>
50141
50142 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50143 close_not_cancel_no_status here.
50144 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50145
9beb2334
UD
501462011-10-29 Ulrich Drepper <drepper@gmail.com>
50147
6ef76f3b
UD
50148 [BZ #13276]
50149 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50150 return value.
50151
0ffc4f3e 50152 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50153 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50154 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50155
cb95113e
UD
501562011-07-03 Andreas Jaeger <aj@suse.de>
50157
50158 [BZ #10709]
50159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50160 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50161 * math/libm-test.inc (sin_test): Add test case.
50162
a1b560ff
UD
501632011-10-29 Ulrich Drepper <drepper@gmail.com>
50164
c9aaface
UD
50165 [BZ #13337]
50166 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50167 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50168
d272e7f1
UD
50169 * elf/chroot_canon.c (chroot_canon): Cleanups.
50170
1bc33071
UD
50171 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50172
1760874d
TJ
50173 [BZ #13335]
50174 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50176
51d91b18
UD
50177 * string/test-strchr.c: Make usable for strchrnul testing.
50178 * string/test-strchrnul.c: New file.
50179 * string/Makefile (strop-tests): Add strchrnul.
50180
a1b560ff 50181 * po/it.po: Update from translation team.
b611fb81 50182 * po/es.po: Likewise.
a1b560ff 50183
a5b81e1f
UD
501842011-10-28 Ulrich Drepper <drepper@gmail.com>
50185
fd52bc6d
UD
50186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50187 the three constants needed as parameters. Drop the others.
50188 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50189 __m128i_strloadu_tolower.
52e4b9eb
UD
50190 Create and initialize variable zero and use it in all the places
50191 where _mm_setzero_si128 was used.
fd52bc6d 50192
a5b81e1f
UD
50193 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50194 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50195 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50196 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50197 anymore.
50198 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50199 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50200 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50201 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50202 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50203 __mpranred, __mptan.
50204 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50205 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50206 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50207 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50208 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50209 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50211 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50212 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50213
b4343346
AS
502142011-10-28 Andreas Schwab <schwab@redhat.com>
50215
0c92d8a8
AS
50216 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50217 redefine if SHARED.
50218 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50219
b4343346
AS
50220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50221 wide char related routines to wcsmbs subdir.
50222
3871f58f
AS
502232011-10-27 Andreas Schwab <schwab@redhat.com>
50224
50225 [BZ #13344]
50226 * misc/sys/cdefs.h (__THROWNL): Define.
50227 * posix/unistd.h: Use __THREADNL instead of __THREAD
50228 for memory synchronization functions.
50229
94d44d9f
RM
502302011-10-26 Roland McGrath <roland@hack.frob.com>
50231
21b64b15 50232 [BZ #13349]
94d44d9f
RM
50233 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50234 doesn't exist.
50235 * manual/stdio.texi (Obstack Streams): Node removed.
50236
f6ce9294
AS
502372011-10-26 Andreas Schwab <schwab@redhat.com>
50238
80479147
AS
50239 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50240 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50242
f6ce9294
AS
50243 * math/math_private.h (math_force_eval): Allow non-addressable
50244 arguments.
50245 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50246
618280a1
UD
502472011-10-25 Ulrich Drepper <drepper@gmail.com>
50248
e0016b11
UD
50249 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50250 file is not needed.
50251
50252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50257 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50259 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50260 Add AVX variants.
50261 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50262 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50263 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50264 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50265 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50266 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50267 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50268 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50269 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50270 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50271 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50272 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50274 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50275 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50276 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50277 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50279 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50280
50281 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50282 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50283
618280a1
UD
50284 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50285 place. Use VEX encoding when compiling for AVX.
50286
37822576
AS
502872011-10-25 Andreas Schwab <schwab@redhat.com>
50288
1f1e1947
AS
50289 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50290 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50291
37822576
AS
50292 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50293
31ea014d
UD
502942011-10-25 Ulrich Drepper <drepper@gmail.com>
50295
d7826aa1 50296 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50297 useless if() expression.
d7826aa1
UD
50298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50299 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50300 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50306 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50308 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50309 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50310 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50311 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50312 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50317
31ea014d
UD
50318 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50319
16437fec
AS
503202011-10-25 Andreas Schwab <schwab@redhat.com>
50321
50322 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50323 condition.
50324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50325
31d3cc00
UD
503262011-10-25 Ulrich Drepper <drepper@gmail.com>
50327
50328 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50329 .text section. Avoid duplicate constants.
50330 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50338 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50342 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50343 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50344 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50346 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50347 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50354 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50355 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50356 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50357 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50359 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50360 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50361 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50362 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50363 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50364 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50366 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50368 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50369 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50371 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50372 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50374 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50375
58985aa9
UD
503762011-10-24 Ulrich Drepper <drepper@gmail.com>
50377
202c9deb
UD
50378 * sysdeps/x86_64/dla.h: Move to ...
50379 * sysdeps/x86_64/fpu/dla.h: ...here.
50380 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50381 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50382
af968f62
UD
50383 * config.make.in: Add have-mfma4 entry.
50384 * configure.in: Substitute libc_cv_cc_fma4.
50385 * math/Makefile (dbl-only-routines): Add sincostab.
50386 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50387 Use __sincostab not sincos.
50388 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50389 name is a macro.
50390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50394 using __copysign.
50395 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50396 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50397 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50398 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50399 and __inv.
50400 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50401 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50402 __copysign.
50403 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50404 define aliases when function name is a macro.
50405 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50406 sysdeps/ieee754/dbl-64/sincos.tbl.
50407 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50408 fma4-enabled routines.
50409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50410 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50411 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50412 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50413 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50414 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50415 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50416 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50417 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50418 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50419 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50421 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50422 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50424 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50425 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50427 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50429 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50430 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50431 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50432 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50436 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50437 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50438 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50439
58985aa9
UD
50440 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50441 rename.
50442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50450
a201fbcf
AS
504512011-10-24 Andreas Schwab <schwab@redhat.com>
50452
50453 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50454
fc2ee42a
LD
504552011-10-23 Ulrich Drepper <drepper@gmail.com>
50456
bb3129bd
UD
50457 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50458
0275fff8
UD
50459 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50460 prediction.
50461 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50462
2fa2ae85
UD
50463 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50464 Remove unused variable magic_bits.
50465 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50466
fc2ee42a
LD
50467 * string/strnlen.c: Define and use STRNLEN macro.
50468 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50469 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50471 * wcsmbs/wcslen.c: Define and use WCSLEN.
50472 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50473 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50474 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50475 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50476 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50477 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50479
ce7dd29f
LD
504802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50481
50482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50483 strnlen-sse2-no-bsf.
50484 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50486 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50487 Add strnlen support.
50488 (USE_AS_STRNLEN): New macro.
50489 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50490 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50491 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50492 * sysdeps/x86_64/wcslen.S: New file.
50493
979c70a3
MZ
504942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50495
50496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50497 XMM-moves are used for copying on small sizes.
50498
2d09f82f
LD
504992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50500
50501 * wcsmbs/Makefile (strop-tests): Add wcschr.
50502 * wcsmbs/test-wcschr.c: New file.
50503 * string/test-strchr.c: Update.
50504 Add wcschr support.
50505 (WIDE): New macro.
50506
619fccca
LD
505072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50508
2d09f82f 50509 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50510 * wcsmbs/test-wcslen.c: New file.
50511 * string/test-strlen.c: Update.
50512 Add wcslen support.
50513 (WIDE): New macro.
50514
09f699ea
UD
505152011-10-23 Ulrich Drepper <drepper@gmail.com>
50516
50517 * po/it.po: Update from translation team.
50518
95584d3b
LD
505192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50520
50521 * sysdeps/x86_64/wcscmp.S: Update.
50522 Fix wrong comparison semantics.
50523 wcscmp shall use signed comparison not unsigned.
50524 Don't use substraction to avoid overflow bug.
50525 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50526 * wcsmbc/wcscmp.c: Likewise.
50527 * string/test-strcmp.c: Likewise.
50528 Add new tests to check cases with negative values.
50529
c8b3296b
UD
505302011-10-23 Ulrich Drepper <drepper@gmail.com>
50531
50532 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50533 * sysdeps/x86_64/dla.h: ...here. New file.
50534 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50543
246ad57a
AS
505442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50545
50546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50547 __ynl_finite aliases.
50548
a1a87169
UD
505492011-10-22 Ulrich Drepper <drepper@gmail.com>
50550
0d355eb7
UD
50551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50552
a1a87169
UD
50553 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50554 define DLA_FMA.
50555 [DLA_FMA] (EMULV): Use DLA_FMA.
50556 [DLA_FMA] (MUL12): Use EMULV.
50557 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50558 that are not needed.
50559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50566
ee2aafe0
AS
505672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50568
50569 * math/s_nan.c: Undef __nan.
50570 * math/s_nanf.c: Undef __nanf.
50571 * math/s_nanl.c: Undef __nanl.
50572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50573 "math_private.h".
50574
bc62c2fb
UD
505752011-10-22 Ulrich Drepper <drepper@gmail.com>
50576
77425c63
UD
50577 * math/s_catan.c: Add branch predictions.
50578 * math/s_catanf.c: Likewise.
50579 * math/s_catanh.c: Likewise.
50580 * math/s_catanhf.c: Likewise.
50581 * math/s_catanhl.c: Likewise.
50582 * math/s_catanl.c: Likewise.
50583 * math/s_cexp.c: Likewise.
50584 * math/s_cexpf.c: Likewise.
50585 * math/s_cexpl.c: Likewise.
50586 * math/s_clog.c: Likewise.
50587 * math/s_clog10.c: Likewise.
50588 * math/s_clog10f.c: Likewise.
50589 * math/s_clog10l.c: Likewise.
50590 * math/s_clogf.c: Likewise.
50591 * math/s_clogl.c: Likewise.
50592 * math/s_csqrt.c: Likewise.
50593 * math/s_csqrtf.c: Likewise.
50594 * math/s_csqrtl.c: Likewise.
50595 * math/s_ctanf.c: Likewise.
50596 * math/s_ctanh.c: Likewise.
50597 * math/s_ctanhf.c: Likewise.
50598 * math/s_ctanhl.c: Likewise.
50599 * math/s_ctanl.c: Likewise.
50600
bc62c2fb
UD
50601 * math/math_private.h: Define __nan, __nanf, __nanl.
50602 * math/s_cacosh.c: Include <math_private.h>.
50603 * math/s_cacoshl.c: Likewise.
50604 * math/s_casinh.c: Likewise.
50605 * math/s_casinhf.c: Likewise.
50606 * math/s_casinhl.c: Likewise.
50607 * math/s_ccos.c: Rely entire on ccosh.
50608 * math/s_ccosf.c: Rely entire on ccoshf.
50609 * math/s_ccosl.c: Rely entirely on ccoshl.
50610 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50611 Remove tests for FE_INVALID.
50612 * math/s_ccoshf.c: Likewise.
50613 * math/s_ccoshl.c: Likewise.
50614 * math/s_csin.c: Likewise.
50615 * math/s_csinf.c: Likewise.
50616 * math/s_csinh.c Likewise.
50617 * math/s_csinhf.c: Likewise.
50618 * math/s_csinhl.c: Likewise.
50619 * math/s_csinl.c: Likewise.
50620 * math/s_ctan.c: Likewise.
50621 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50622 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50623 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50624
8ec250a4
UD
506252011-10-21 Ulrich Drepper <drepper@gmail.com>
50626
c196fed8
UD
50627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50628 compilation problems.
50629
8ec250a4
UD
50630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50631 __builtin_expect.
50632
8d4f46c6
UD
506332011-10-20 Ulrich Drepper <drepper@gmail.com>
50634
ed72b654
UD
50635 * sysdeps/i386/configure.in: Test for -mfma4 option.
50636 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50637 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50638 COMMON_CPUID_INDEX_80000001.
50639 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50640 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50641 use it if FMA3 is not supported.
50642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50643
8d4f46c6
UD
50644 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50645 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50646
d45c60c2
AS
506472011-10-20 Andreas Schwab <schwab@redhat.com>
50648
50649 [BZ #12892]
50650 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50651 it would create a cycle with a link time dependency.
50652
d9a4d2ab
UD
506532011-10-19 Ulrich Drepper <drepper@gmail.com>
50654
855d1560
UD
50655 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50656 instruction.
50657 * string/Makefile (strop-tests): Add rawmemchr.
50658 * string/test-rawmemchr.c: New file.
50659
d9a4d2ab
UD
50660 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50661 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50662 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50663 when compiling str{,n}casecmp and when AVX is available. Hook up
50664 new optimized code in initializers.
50665
8f3b1ffe
AS
506662011-10-19 Andreas Schwab <schwab@redhat.com>
50667
50668 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50669 __feraiseexcept instead of feraiseexcept.
50670
d38f1dba
UD
506712011-10-18 Ulrich Drepper <drepper@gmail.com>
50672
d9a8d0ab
UD
50673 * math/math_private.h: Define defaults for libc_fetestexcept and
50674 libc_feupdateenv.
50675 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50676 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50677 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50678 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50680 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50681 libc_fetestexcept and libc_feupdateenv.
50682
4855e3dd
UD
50683 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50684 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50685 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50686 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50687 libc_feholdexcept_setround.
50688
581d30e3
UD
50689 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50690 Add s_nearbyint-c and s_nearbyintf-c.
50691 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50692 nearbyintf inlines.
50693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50695 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50697
d38f1dba
UD
50698 * math/math_private.h: Define defaults for libc_fegetround,
50699 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50700 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50701 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50703 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50704 standard functions.
50705 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50706 Remove comments and hacks for old compiler versions.
50707 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50708 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50709 libc_feholdexceptl.
50710
caa6c9d8
AS
507112011-10-18 Andreas Schwab <schwab@redhat.com>
50712
50713 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50714 (__feraiseexcept_renamed): Add __NTH.
50715 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50716 namespace violations.
50717
97c066e6
UD
507182011-10-17 Ulrich Drepper <drepper@gmail.com>
50719
99ce7b04
UD
50720 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50721
1004d182
UD
50722 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50723
228a984d
UD
50724 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50725 recently added interfaces.
50726 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50727
c8553a6a
UD
50728 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50729 about macro parameter expansion.
50730
ed22dcf6
UD
50731 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50732 __NO_MATH_INLINES is defined. Cleanups.
50733
50734 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50735 and __floorf is target has SSE4.1.
50736 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50737 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50738 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50739 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50740
b171c137
UD
50741 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50742 name.
50743 (floorf): Likewise.
50744
97c066e6
UD
50745 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50746
629f62ef
AS
507472011-10-17 Andreas Schwab <schwab@redhat.com>
50748
49a43d80
AS
50749 * misc/sys/cdefs.h: Fix last change.
50750
629f62ef
AS
50751 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50752 database lookup.
50753
e453f6cd
UD
507542011-10-16 Ulrich Drepper <drepper@gmail.com>
50755
aa78043a
UD
50756 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50757
ad0f5cad
UD
50758 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50764 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50765 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50766 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50767 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50768 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50769 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50770 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50773 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50774 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50775 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50776 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50777 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50778 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50779 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50780
50781 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50782 ceil, ceilf, floor, floorf.
50783
50784 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50785 Perform IRELATIVE relocations last.
50786
e453f6cd
UD
50787 * elf/do-rel.h: Add another parameter nrelative, replacing the
50788 local variable with the same name. Change name of the function
50789 to end in Rel or Rela (uppercase).
50790 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50791 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50792 elf_dynamic_do_##reloc function.
50793
fd5bdc09
UD
507942011-10-15 Ulrich Drepper <drepper@gmail.com>
50795
79b195b5
UD
50796 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50797 is sufficient, at least on modern CPUs.
50798
d4a28569
UD
50799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50800
b61099b5
UD
50801 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50802 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50803
bcf01e6d
UD
50804 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50805 __expl_finite.
50806 * math/bits/math-finite.h: Add entries for exp.
50807 * math/e_expl.c: Add __*_finite alias.
50808 * sysdeps/i386/fpu/e_exp.S: Likewise.
50809 * sysdeps/i386/fpu/e_expf.S: Likewise.
50810 * sysdeps/i386/fpu/e_expl.c: Likewise.
50811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50812 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50815 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50816 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50817 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50818
ba1a0d59
UD
50819 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50820 is sufficient, at least on modern CPUs.
50821
fd5bdc09
UD
50822 * ctype/ctype-info.c (__ctype_init): Define.
50823 * include/ctype.h (__ctype_init): Declare.
50824 (__ctype_b_loc): The variable is always initialized.
50825 (__ctype_toupper_loc): Likewise.
50826 (__ctype_tolower_loc): Likewise.
50827 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50828 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50829
7872cfb0
AS
508302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50831
b468825a
AS
50832 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50833
7872cfb0
AS
50834 * configure.in: Also look in $cxxmachine/include for C++ system
50835 headers.
50836
be13f7bf
LD
508372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50838
50839 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50840 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50841 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50842 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50843 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50844 (USE_AS_WMEMCMP): New macro.
50845 Fixing indents.
50846 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50847 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50848 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50849 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50851 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50852 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50853 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50854 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50855 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50856 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50857 (USE_AS_WMEMCMP): New macro.
50858 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50859 * sysdeps/string/test-memcmp.c: Update.
50860 Fix simple_wmemcmp.
50861 Add new tests.
50862 * wcsmbs/wmemcmp.c: Update.
50863 (WMEMCMP): New macro.
50864 Fix overflow bug.
50865
556a2007
AJ
508662011-10-12 Andreas Jaeger <aj@suse.de>
50867
50868 [BZ #13268]
50869 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50870
538faaa7
UD
508712011-10-15 Ulrich Drepper <drepper@gmail.com>
50872
ab6737ff
UD
50873 * libio/iofwide.c (do_length): Avoid warning.
50874
538faaa7
UD
50875 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50876
396a21b1
UD
508772011-10-14 Ulrich Drepper <drepper@gmail.com>
50878
cdf2901f
UD
50879 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50880
38ad40ce
UD
50881 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50882 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50883 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50884 * sysdeps/i386/i686/fpu/e_log.S: New file.
50885 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50886 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50887
396a21b1
UD
50888 * ctype/ctype.h: Add support for inlined isXXX functions when
50889 compiling C++ code.
50890
6b1f68c9
AS
508912011-10-14 Andreas Schwab <schwab@redhat.com>
50892
349290c0
AS
50893 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50894
6b1f68c9
AS
50895 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50896
f2282d42
RM
508972011-10-13 Roland McGrath <roland@hack.frob.com>
50898
50899 [BZ #13291]
50900 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50901
5298ffa8
AS
509022011-10-13 Andreas Schwab <schwab@redhat.com>
50903
714fad23
AS
50904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50905 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50906 feraiseexcept.
50907
81dcc7fb
AS
50908 * sysdeps/x86_64/memrchr.S: Check for zero size.
50909
5298ffa8
AS
50910 * string/stratcliff.c: Add memrchr tests.
50911
951fbcec
LD
509122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50913
50914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50915 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50916 rawmemchr-sse2 rawmemchr-sse2-bsf.
50917 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50918 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50919 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50920 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50921 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50922 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50923 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50924 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50925 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50927 * string/memrchr.c (MEMRCHR): New macro.
50928
0ac5ae23
UD
509292011-10-12 Ulrich Drepper <drepper@gmail.com>
50930
50931 Add integration with gcc's -ffinite-math-only and optimize wrapper
50932 functions in libm.
50933 * Versions.def: Define GLIBC_2.15 version for libm.
50934 * math/Makefile (headers): Add bits/math-finite.h.
50935 * math/bits/math-finite.h: New file.
50936 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50937 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50938 * math/e_acoshl.c: Add __*_finite alias.
50939 * math/e_acosl.c: Likewise.
50940 * math/e_asinl.c: Likewise.
50941 * math/e_atan2l.c: Likewise.
50942 * math/e_atanhl.c: Likewise.
50943 * math/e_coshl.c: Likewise.
50944 * math/e_exp10.c: Likewise.
50945 * math/e_exp10f.c: Likewise.
50946 * math/e_exp10l.c: Likewise.
50947 * math/e_exp2l.c: Likewise.
50948 * math/e_fmodl.c: Likewise.
50949 * math/e_gammal_r.c: Likewise.
50950 * math/e_hypotl.c: Likewise.
50951 * math/e_j0l.c: Likewise.
50952 * math/e_j1l.c: Likewise.
50953 * math/e_jnl.c: Likewise.
50954 * math/e_lgammal_r.c: Likewise.
50955 * math/e_log10l.c: Likewise.
50956 * math/e_log2l.c: Likewise.
50957 * math/e_logl.c: Likewise.
50958 * math/e_powl.c: Likewise.
50959 * math/e_sinhl.c: Likewise.
50960 * math/e_sqrtl.c: Likewise.
50961 * math/e_scalb.c: Completely rewritten and optimized.
50962 * math/e_scalbf.c: Likewise.
50963 * math/e_scalbl.c: Likewise.
50964 * math/w_acos.c: Likewise.
50965 * math/w_acosf.c: Likewise.
50966 * math/w_acosl.c: Likewise.
50967 * math/w_acosh.c: Likewise.
50968 * math/w_acoshf.c: Likewise.
50969 * math/w_acoshl.c: Likewise.
50970 * math/w_asin.c: Likewise.
50971 * math/w_asinf.c: Likewise.
50972 * math/w_asinl.c: Likewise.
50973 * math/w_atan2.c: Likewise.
50974 * math/w_atan2f.c: Likewise.
50975 * math/w_atan2l.c: Likewise.
50976 * math/w_atanh.c: Likewise.
50977 * math/w_atanhf.c: Likewise.
50978 * math/w_atanhl.c: Likewise.
50979 * math/w_exp10.c: Likewise.
50980 * math/w_exp10f.c: Likewise.
50981 * math/w_exp10l.c: Likewise.
50982 * math/w_fmod.c: Likewise.
50983 * math/w_fmodf.c: Likewise.
50984 * math/w_fmodl.c: Likewise.
50985 * math/w_j0.c: Likewise.
50986 * math/w_j0f.c: Likewise.
50987 * math/w_j0l.c: Likewise.
50988 * math/w_j1.c: Likewise.
50989 * math/w_j1f.c: Likewise.
50990 * math/w_j1l.c: Likewise.
50991 * math/w_jn.c: Likewise.
50992 * math/w_jnf.c: Likewise.
50993 * math/w_log.c: Likewise.
50994 * math/w_logf.c: Likewise.
50995 * math/w_logl.c: Likewise.
50996 * math/w_log10.c: Likewise.
50997 * math/w_log10f.c: Likewise.
50998 * math/w_log10l.c: Likewise.
50999 * math/w_log2.c: Likewise.
51000 * math/w_log2f.c: Likewise.
51001 * math/w_log2l.c: Likewise.
51002 * math/w_pow.c: Likewise.
51003 * math/w_powf.c: Likewise.
51004 * math/w_powl.c: Likewise.
51005 * math/w_remainder.c: Likewise.
51006 * math/w_remainderf.c: Likewise.
51007 * math/w_remainderl.c: Likewise.
51008 * math/w_scalb.c: Likewise.
51009 * math/w_scalbf.c: Likewise.
51010 * math/w_scalbl.c: Likewise.
51011 * math/w_sqrt.c: Likewise.
51012 * math/w_sqrtf.c: Likewise.
51013 * math/w_sqrtl.c: Likewise.
51014 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51015 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51016 used.
51017 * math/math_private.h: Declare __kernel_standard_f.
51018 * math/w_cosh.c: Remove cruft and optimize a bit.
51019 * math/w_coshf.c: Likewise.
51020 * math/w_coshl.c: Likewise.
51021 * math/w_exp2.c: Likewise.
51022 * math/w_exp2f.c: Likewise.
51023 * math/w_exp2l.c: Likewise.
51024 * math/w_hypot.c: Likewise.
51025 * math/w_hypotf.c: Likewise.
51026 * math/w_hypotl.c: Likewise.
51027 * math/w_lgamma.c: Likewise.
51028 * math/w_lgamma_r.c: Likewise.
51029 * math/w_lgammaf.c: Likewise.
51030 * math/w_lgammaf_r.c: Likewise.
51031 * math/w_lgammal.c: Likewise.
51032 * math/w_lgammal_r.c: Likewise.
51033 * math/w_sinh.c: Likewise.
51034 * math/w_sinhf.c: Likewise.
51035 * math/w_sinhl.c: Likewise.
51036 * math/w_tgamma.c: Likewise.
51037 * math/w_tgammaf.c: Likewise.
51038 * math/w_tgammal.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51041 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51042 Minor optimizations. Pretty printing. Remove cruft.
51043 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51044 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51045 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51047 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51048 * sysdeps/i386/fpu/e_asin.S: Likewise.
51049 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51050 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51051 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51052 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51053 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51054 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51056 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51057 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51058 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51059 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51060 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51061 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51062 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51063 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51064 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51065 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51066 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51067 * sysdeps/i386/fpu/e_log.S: Likewise.
51068 * sysdeps/i386/fpu/e_log10.S: Likewise.
51069 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51071 * sysdeps/i386/fpu/e_log2.S: Likewise.
51072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51073 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51074 * sysdeps/i386/fpu/e_logf.S: Likewise.
51075 * sysdeps/i386/fpu/e_logl.S: Likewise.
51076 * sysdeps/i386/fpu/e_pow.S: Likewise.
51077 * sysdeps/i386/fpu/e_powf.S: Likewise.
51078 * sysdeps/i386/fpu/e_powl.S: Likewise.
51079 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51080 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51081 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51083 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51085 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51086 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51087 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51088 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51091 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51092 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51093 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51094 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51095 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51096 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51101 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51102 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51104 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51105 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51106 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51108 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51109 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51112 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51113 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51114 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51115 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51116 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51117 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51118 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51119 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51120 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51122 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51123 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51124 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51125 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51126 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51127 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51128 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51129 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51130 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51131 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51133 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51134 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51135 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51136 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51137 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51138 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51139 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51140 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51141 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51143 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51144 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51145 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51146 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51147 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51148 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51149 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51155 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51157 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51159 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51162 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51166 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51167 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51169 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51170 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51171 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51172 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51173 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51174 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51175 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51176 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51177 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51181 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51182 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51183 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51184 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51185 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51186 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51187 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51188 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51189 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51190 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51191 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51192 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51193 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51194 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51195 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51196 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51197 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51198 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51199 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51200 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51201 (__isnanf): Likewise.
51202 (__isinf_ns): Likewise.
51203 (__isinf_nsf): Likewise.
51204 (__finite): Likewise.
51205 (__finitef): Likewise.
51206 (__ieee754_sqrt): Define as macro.
51207 (__ieee754_sqrtf): Define as macro.
51208 (__ieee754_sqrtl): Define as macro.
51209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51210 inlined copy.
51211 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51212 __FINITE_MATH_ONLY__ consistent.
51213 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51214
12cc2fcd
AS
512152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51216
a843a204
AS
51217 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51218 of rawmemchr.
51219
12cc2fcd
AS
51220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51221
c853acd5
UD
512222011-10-09 Ulrich Drepper <drepper@gmail.com>
51223
51224 * po/ja.po: Update from translation team.
51225
c658d255
RM
512262011-10-08 Roland McGrath <roland@hack.frob.com>
51227
110946e4
RM
51228 * locale/programs/locarchive.c (prepare_address_space): New function.
51229 (create_archive, enlarge_archive, open_archive): Use it.
51230
50604220
RM
51231 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51232 inside [SHARED], where it is used.
51233
c658d255
RM
51234 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51235
51236 * nss/getent.c (netgroup_keys): Remove unused variable.
51237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51238
6a621eb7
UD
512392011-10-08 Ulrich Drepper <drepper@gmail.com>
51240
7edb55ce
UD
51241 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51244 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51245 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51246 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51247 * math/Makefile (libm-calls): Add s_isinf_ns.
51248 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51249 * math/multc3.c: Likewise.
51250 * math/s_casin.c: Likewise.
51251 * math/s_casinf.c: Likewise.
51252 * math/s_casinl.c: Likewise.
51253 * math/s_ccos.c: Likewise.
51254 * math/s_ccosf.c: Likewise.
51255 * math/s_ccosl.c: Likewise.
51256 * math/s_ctan.c: Likewise.
51257 * math/s_ctanf.c: Likewise.
51258 * math/s_ctanh.c: Likewise.
51259 * math/s_ctanhf.c: Likewise.
51260 * math/s_ctanhl.c: Likewise.
51261 * math/s_ctanl.c: Likewise.
51262 * math/w_fmod.c: Likewise.
51263 * math/w_fmodf.c: Likewise.
51264 * math/w_fmodl.c: Likewise.
51265 * math/w_remainder.c: Likewise.
51266 * math/w_remainderf.c: Likewise.
51267 * math/w_remainderl.c: Likewise.
51268 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51269 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51272 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51273 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51274 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51275 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51276
187da0ae
UD
51277 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51278 of the number.
51279 * stdio-common/printf_fphex.c: Likewise.
51280 * stdio-common/printf_size.c: Likewise.
51281
9277c064
UD
51282 * math/e_exp10.c: Include math_private.h using <...> not "...".
51283 * math/e_exp10f.c: Likewise.
51284 * math/e_exp10l.c: Likewise.
51285 * math/e_exp2l.c: Likewise.
51286 * math/e_j0l.c: Likewise.
51287 * math/e_j1l.c: Likewise.
51288 * math/e_jnl.c: Likewise.
51289 * math/e_lgammal_r.c: Likewise.
51290 * math/e_rem_pio2l.c: Likewise.
51291 * math/e_scalb.c: Likewise.
51292 * math/e_scalbf.c: Likewise.
51293 * math/e_scalbl.c: Likewise.
51294 * math/k_cosl.c: Likewise.
51295 * math/k_sinl.c: Likewise.
51296 * math/k_tanl.c: Likewise.
51297 * math/s_cacoshf.c: Likewise.
51298 * math/s_catan.c: Likewise.
51299 * math/s_catanf.c: Likewise.
51300 * math/s_catanh.c: Likewise.
51301 * math/s_catanhf.c: Likewise.
51302 * math/s_catanhl.c: Likewise.
51303 * math/s_catanl.c: Likewise.
51304 * math/s_ccosh.c: Likewise.
51305 * math/s_ccoshf.c: Likewise.
51306 * math/s_ccoshl.c: Likewise.
51307 * math/s_cexp.c: Likewise.
51308 * math/s_cexpf.c: Likewise.
51309 * math/s_cexpl.c: Likewise.
51310 * math/s_clog.c: Likewise.
51311 * math/s_clog10.c: Likewise.
51312 * math/s_clog10f.c: Likewise.
51313 * math/s_clog10l.c: Likewise.
51314 * math/s_clogf.c: Likewise.
51315 * math/s_clogl.c: Likewise.
51316 * math/s_csin.c: Likewise.
51317 * math/s_csinf.c: Likewise.
51318 * math/s_csinh.c: Likewise.
51319 * math/s_csinhf.c: Likewise.
51320 * math/s_csinhl.c: Likewise.
51321 * math/s_csinl.c: Likewise.
51322 * math/s_csqrt.c: Likewise.
51323 * math/s_csqrtf.c: Likewise.
51324 * math/s_csqrtl.c: Likewise.
51325 * math/s_ctan.c: Likewise.
51326 * math/s_ctanf.c: Likewise.
51327 * math/s_ctanh.c: Likewise.
51328 * math/s_ctanhf.c: Likewise.
51329 * math/s_ctanhl.c: Likewise.
51330 * math/s_ctanl.c: Likewise.
51331 * math/s_ldexp.c: Likewise.
51332 * math/s_ldexpf.c: Likewise.
51333 * math/s_ldexpl.c: Likewise.
51334 * math/s_significand.c: Likewise.
51335 * math/s_significandf.c: Likewise.
51336 * math/s_significandl.c: Likewise.
51337 * math/w_acos.c: Likewise.
51338 * math/w_acosf.c: Likewise.
51339 * math/w_acosh.c: Likewise.
51340 * math/w_acoshf.c: Likewise.
51341 * math/w_acoshl.c: Likewise.
51342 * math/w_acosl.c: Likewise.
51343 * math/w_asin.c: Likewise.
51344 * math/w_asinf.c: Likewise.
51345 * math/w_asinl.c: Likewise.
51346 * math/w_atan2.c: Likewise.
51347 * math/w_atan2f.c: Likewise.
51348 * math/w_atan2l.c: Likewise.
51349 * math/w_atanh.c: Likewise.
51350 * math/w_atanhf.c: Likewise.
51351 * math/w_atanhl.c: Likewise.
51352 * math/w_cosh.c: Likewise.
51353 * math/w_coshf.c: Likewise.
51354 * math/w_coshl.c: Likewise.
51355 * math/w_dremf.c: Likewise.
51356 * math/w_exp10.c: Likewise.
51357 * math/w_exp10f.c: Likewise.
51358 * math/w_exp10l.c: Likewise.
51359 * math/w_exp2.c: Likewise.
51360 * math/w_exp2f.c: Likewise.
51361 * math/w_fmod.c: Likewise.
51362 * math/w_fmodf.c: Likewise.
51363 * math/w_fmodl.c: Likewise.
51364 * math/w_hypot.c: Likewise.
51365 * math/w_hypotf.c: Likewise.
51366 * math/w_hypotl.c: Likewise.
51367 * math/w_j0.c: Likewise.
51368 * math/w_j0f.c: Likewise.
51369 * math/w_j0l.c: Likewise.
51370 * math/w_j1.c: Likewise.
51371 * math/w_j1f.c: Likewise.
51372 * math/w_j1l.c: Likewise.
51373 * math/w_jn.c: Likewise.
51374 * math/w_jnf.c: Likewise.
51375 * math/w_jnl.c: Likewise.
51376 * math/w_lgamma.c: Likewise.
51377 * math/w_lgamma_r.c: Likewise.
51378 * math/w_lgammaf.c: Likewise.
51379 * math/w_lgammaf_r.c: Likewise.
51380 * math/w_lgammal.c: Likewise.
51381 * math/w_lgammal_r.c: Likewise.
51382 * math/w_log.c: Likewise.
51383 * math/w_log10.c: Likewise.
51384 * math/w_log10f.c: Likewise.
51385 * math/w_log10l.c: Likewise.
51386 * math/w_log2.c: Likewise.
51387 * math/w_log2f.c: Likewise.
51388 * math/w_log2l.c: Likewise.
51389 * math/w_logf.c: Likewise.
51390 * math/w_logl.c: Likewise.
51391 * math/w_pow.c: Likewise.
51392 * math/w_powf.c: Likewise.
51393 * math/w_powl.c: Likewise.
51394 * math/w_remainder.c: Likewise.
51395 * math/w_remainderf.c: Likewise.
51396 * math/w_remainderl.c: Likewise.
51397 * math/w_scalb.c: Likewise.
51398 * math/w_scalbf.c: Likewise.
51399 * math/w_scalbl.c: Likewise.
51400 * math/w_sinh.c: Likewise.
51401 * math/w_sinhf.c: Likewise.
51402 * math/w_sinhl.c: Likewise.
51403 * math/w_sqrt.c: Likewise.
51404 * math/w_sqrtf.c: Likewise.
51405 * math/w_sqrtl.c: Likewise.
51406 * math/w_tgamma.c: Likewise.
51407 * math/w_tgammaf.c: Likewise.
51408 * math/w_tgammal.c: Likewise.
51409
6a621eb7
UD
51410 * po/ja.po: Update from translation team.
51411
bf582445
AJ
514122011-09-29 Andreas Jaeger <aj@suse.de>
51413
f9efbf3a
AJ
51414 [BZ #13179]
51415 * sunrpc/netname.c (netname2host): Fix logic.
51416
bf582445
AJ
51417 [BZ #6779]
51418 [BZ #6783]
51419 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51420 correctly.
51421 * math/w_remainder.c (__remainder): Likewise.
51422 * math/w_remainderf.c (__remainderf): Likewise.
51423 * math/libm-test.inc (remainder_test): Add test cases.
51424
48693bea
AK
514252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51426
51427 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51428 sdiv_qrnnd.
51429
42622229
LD
514302011-10-07 Ulrich Drepper <drepper@gmail.com>
51431
51432 * string/test-memcmp.c: Avoid unncessary #defines.
51433 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51434
093ecf92
LD
514352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51436
51437 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51438 Use new sse2 version for core i3 - i7 as it's faster
51439 than sse42 version.
51440 (bit_Prefer_PMINUB_for_stringop): New.
51441 * sysdeps/x86_64/rawmemchr.S: Update.
51442 Replace with faster SSE2 version.
51443 * sysdeps/x86_64/memrchr.S: New file.
51444 * sysdeps/x86_64/memchr.S: Update.
51445 Replace with faster SSE2 version.
51446
fde56e5c
MP
514472011-09-12 Marek Polacek <mpolacek@redhat.com>
51448
51449 * elf/dl-load.c (lose): Add cast to avoid warning.
51450
21fd49a9
UD
514512011-10-07 Ulrich Drepper <drepper@gmail.com>
51452
5a06e643
UD
51453 * po/ca.po: Update from translation team.
51454
684ae515
UD
51455 * inet/getnetgrent_r.c: Hook up nscd.
51456 * nscd/Makefile (routines): Add nscd_netgroup.
51457 (nscd-modules): Add netgroupcache.
51458 (CFLAGS-netgroupcache.c): Define.
51459 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51460 (cache_search): Add const to second parameter.
51461 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51462 INNETGR.
51463 (dbs): Add netgrdb entry.
51464 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51465 (verify_persistent_db): Handle netgrdb.
51466 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51467 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51468 GETFDNETGR.
51469 (netgroup_response_header): Define.
51470 (innetgroup_response_header): Define.
51471 (datahead): Add netgroup_response_header and innetgroup_response_header
51472 elements.
51473 * nscd/nscd.conf: Add entries for netgroup cache.
51474 * nscd/nscd.h (dbtype): Add netgrdb.
51475 (_PATH_NSCD_NETGROUP_DB): Define.
51476 (netgroup_iov_disabled): Declare.
51477 (xmalloc, xcalloc, xrealloc): Move declarations here.
51478 (cache_search): Adjust prototype.
51479 Add netgroup-related prototypes.
51480 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51481 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51482 (__nscd_innetgr): Declare.
51483 * nscd/selinux.c (perms): Use access_vector_t as element type and
51484 add netgroup-related initializers.
51485 * nscd/netgroupcache.c: New file.
51486 * nscd/nscd_netgroup.c: New file.
51487 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51488 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51489 For four parameters use innetgr.
51490 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51491 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51492 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51493 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51494
21fd49a9
UD
51495 * nscd/connections.c (register_traced_file): Don't register file
51496 for disabled databases.
51497
054c0457
UD
514982011-10-06 Ulrich Drepper <drepper@gmail.com>
51499
32b63198
UD
51500 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51501
054c0457
UD
51502 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51503 from tree and freeing node.
51504
64031225
JO
515052011-09-25 Jiri Olsa <jolsa@redhat.com>
51506
51507 * nss/nsswitch.c (__nss_database_lookup): Handle
51508 nss_parse_service_list out of memory case.
51509
0490345c
JO
515102011-09-15 Jiri Olsa <jolsa@redhat.com>
51511
51512 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51513 out of memory case.
51514
3a62d00d
AS
515152011-10-04 Andreas Schwab <schwab@redhat.com>
51516
51517 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51518 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51519 pass it down.
51520 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51521 elf_machine_rela, elf_machine_lazy_rel.
51522 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51523 (ELF_DYNAMIC_DO_REL): Likewise.
51524 (ELF_DYNAMIC_DO_RELA): Likewise.
51525 (ELF_DYNAMIC_RELOCATE): Likewise.
51526 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51527 to ELF_DYNAMIC_DO_REL.
51528 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51529 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51530 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51531 elf_machine_rela.
51532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51533 skip_ifunc, don't call ifunc function if non-zero.
51534 (elf_machine_rela): Likewise.
51535 (elf_machine_lazy_rel): Likewise.
51536 (elf_machine_lazy_rela): Likewise.
51537 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51538 (elf_machine_lazy_rel): Likewise.
51539 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51540 Likewise.
51541 (elf_machine_lazy_rel): Likewise.
51542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51543 Likewise.
51544 (elf_machine_lazy_rel): Likewise.
51545 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51546 (elf_machine_lazy_rel): Likewise.
51547 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51548 (elf_machine_lazy_rel): Likewise.
51549 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51550 (elf_machine_lazy_rel): Likewise.
51551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51552 (elf_machine_lazy_rel): Likewise.
51553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51554 (elf_machine_lazy_rel): Likewise.
51555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51556 (elf_machine_lazy_rel): Likewise.
51557
68577918
UD
515582011-09-28 Ulrich Drepper <drepper@gmail.com>
51559
51560 * nss/nss_files/files-init.c (_nss_files_init): Use static
51561 initialization for all the *_traced_file variables.
51562
68822d74
AS
515632011-09-28 Andreas Schwab <schwab@redhat.com>
51564
51565 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51566
2056100b
RM
515672011-09-27 Roland McGrath <roland@hack.frob.com>
51568
51569 [BZ #13226]
51570 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51571
32c76b63
AS
515722011-09-27 Andreas Schwab <schwab@redhat.com>
51573
51574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51575 Reread the line before reparsing it.
51576
bf972c9d
AS
515772011-09-26 Andreas Schwab <schwab@redhat.com>
51578
51579 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51580
e057a1b5
JM
515812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51582 Maxim Kuvyrkov <maxim@codesourcery.com>
51583 Joseph Myers <joseph@codesourcery.com>
51584
51585 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51586 if needed for __stack_chk_guard.
51587
bc7e1c36
RM
515882011-09-19 Roland McGrath <roland@hack.frob.com>
51589
ecb1482f
RM
51590 * sysdeps/posix/spawni.c (script_execute): Always define it.
51591 It will be optimized away if unused.
51592 (maybe_script_execute): New function.
51593 (__spawni): Call it.
51594
bc7e1c36
RM
51595 * Makerules: Don't include tls.make.
51596 (config-tls): Always set to thread.
51597 * tls.make.c: File removed.
51598
1c3b002b
MF
515992011-09-19 Mike Frysinger <vapier@gentoo.org>
51600
51601 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51602 * config.make.in (CPPFLAGS-config): New substituted variable.
51603
2840865d
UD
516042011-09-15 Ulrich Drepper <drepper@gmail.com>
51605
88738eb6
UD
51606 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51607
cbf645a6 51608 [BZ #13192]
2840865d
UD
51609 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51610 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51611
b402e91a
RM
516122011-09-15 Roland McGrath <roland@hack.frob.com>
51613
51614 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51615 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51617 (CALL_FAIL): Likewise.
51618 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51619 (CALL_FAIL): Macro removed.
51620 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51621
4c1a1f71
UD
516222011-09-15 Ulrich Drepper <drepper@gmail.com>
51623
51624 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51625 for __FINITE_MATH_ONLY__ == 1.
51626
edc121be
AS
516272011-09-15 Andreas Schwab <schwab@redhat.com>
51628
51629 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51630 __ieee754_sqrt instead of sqrt.
51631 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51632 __ieee754_sqrtf instead of sqrtf.
51633 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51634 __floorf instead of floorf.
51635 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51636 __floorf, __truncf instead of floorf, truncf.
51637
cd205654
UD
516382011-09-14 Ulrich Drepper <drepper@gmail.com>
51639
ee4d0315
UD
51640 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51641
cd205654
UD
51642 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51643 __extern_always_inline.
51644 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51645 32-bit.
51646
48b67d71
AS
516472011-09-14 Andreas Schwab <schwab@redhat.com>
51648
51649 * elf/rtld.c (dl_main): Also relocate in dependency order when
51650 doing symbol dependency testing.
51651
1ae12c75
AS
516522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51653
51654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51655 Always define `refsym'.
51656
995a80df
AS
516572011-09-13 Andreas Schwab <schwab@redhat.com>
51658
e529793b
AS
51659 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51660 (__FD_ELT): Renamed from __FDELT.
51661 * misc/bits/select2.h (__FD_ELT): Likewise.
51662 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51663 __FD_MASK instead of __FDELT, __FDMASK.
51664 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51665 Likewise.
51666 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51667 Likewise.
51668
52d4fef8
AS
51669 * elf/Makefile (gen-ldd): Fix pattern.
51670
995a80df
AS
51671 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51672 (init_tls): Likewise.
51673
8682f8b0
UD
516742011-09-12 Ulrich Drepper <drepper@gmail.com>
51675
51676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51677
de82006d
AS
516782011-09-12 Andreas Schwab <schwab@redhat.com>
51679
a7c8e6a1
AS
51680 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51681 `struct cmsghdr *' instead of `void *'.
51682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51683 Likewise.
51684
0f31fe77
AS
516852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51686
51687 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51688 if non-absolute.
51689 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51690 ldd_rewrite_script.
0f31fe77 51691
32b4c839
UD
516922011-09-11 Ulrich Drepper <drepper@gmail.com>
51693
83cd1420
UD
51694 * configure.in: Remove --with-tls option.
51695 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51696 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51697 out in case it is missing.
51698 * sysdeps/ia64/elf/configure.in: Likewise.
51699 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51700 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51701 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51702 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51703 * sysdeps/sh/elf/configure.in: Likewise.
51704 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51705 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51706 * sysdeps/x86_64/elf/configure.in: Likewise.
51707 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51708 * sysdeps/mach/hurd/tls.h: Likewise.
51709
633f745d
UD
51710 [BZ #13067]
51711 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51712
f318beb8
UD
51713 [BZ #13090]
51714 * configure.in: Fix use of AC_INIT.
51715
32b4c839
UD
51716 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51717
3ce1f295
UD
517182011-09-10 Ulrich Drepper <drepper@gmail.com>
51719
bb016596
UD
51720 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51721 __set_errno.
8e58439c
UD
51722 * malloc/hooks.c: Likewise.
51723
aebae053 51724 [BZ #11929]
02d46fc4
UD
51725 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51726 variables statically.
51727 (narenas): Initialize.
51728 (list_lock): Initialize.
bb016596
UD
51729 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51730 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51731 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51732 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51733 Add initializers to main_arena and mp_.
51734 (malloc_state): Remove pagesize member. Change all users to use
51735 GLRO(dl_pagesize).
51736
51737 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51738 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51739 is always initialized.
51740
22a89187
UD
51741 * malloc/malloc.c: Removed unused configurations and dead code.
51742 * malloc/arena.c: Likewise.
51743 * malloc/hooks.c: Likewise.
02d46fc4 51744 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51745
d063d164
UD
51746 * include/tls.h: Removed. USE___THREAD must always be defined.
51747 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51748 * elf/dl-libc.c: Likewise.
51749 * elf/dl-tsd.c: Likewise.
51750 * include/errno.h: Likewise.
51751 * include/netdb.h: Likewise.
51752 * include/resolv.h: Likewise.
51753 * inet/herrno-loc.c: Likewise.
51754 * inet/herrno.c: Likewise.
51755 * malloc/arena.c: Likewise.
51756 * malloc/hooks.c: Likewise.
51757 * malloc/malloc.c: Likewise.
51758 * resolv/res-state.c: Likewise.
51759 * resolv/res_libc.c: Likewise.
51760 * sysdeps/i386/dl-machine.h: Likewise.
51761 * sysdeps/ia64/dl-machine.h: Likewise.
51762 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51763 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51764 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51765 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51766 * sysdeps/sh/dl-machine.h: Likewise.
51767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51768 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51769 * sysdeps/unix/i386/sysdep.S: Likewise.
51770 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51771 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51776 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51780 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51781 * sysdeps/x86_64/dl-machine.h: Likewise.
51782 * tls.make.c: Likewise.
51783
3ce1f295
UD
51784 * configure.in: Remove --with-__thread option. Make tests for
51785 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51786 tls_model attribute fail if no support is available. Remove
51787 USE_IN_LIBIO.
51788 * Makeconfig: Adjust for dropped configure option. All features are
51789 now mandatory.
51790 * Makerules: Likewise.
51791 * Versions.def: Likewise.
51792 * argp/argp-fmtstream.c: Likewise.
51793 * argp/argp-fmtstream.h: Likewise.
51794 * argp/argp-help.c: Likewise.
51795 * assert/assert.c: Likewise.
51796 * config.h.in: Likewise.
51797 * config.make.in: Likewise.
51798 * configure: Likewise.
51799 * configure.in: Likewise.
51800 * csu/Versions: Likewise.
51801 * csu/init.c: Likewise.
51802 * elf/tst-audit2.c: Likewise.
51803 * elf/tst-tls10.c: Likewise.
51804 * elf/tst-tls10.h: Likewise.
51805 * elf/tst-tls11.c: Likewise.
51806 * elf/tst-tls12.c: Likewise.
51807 * elf/tst-tls14.c: Likewise.
51808 * elf/tst-tlsmod11.c: Likewise.
51809 * elf/tst-tlsmod12.c: Likewise.
51810 * elf/tst-tlsmod13.c: Likewise.
51811 * elf/tst-tlsmod13a.c: Likewise.
51812 * elf/tst-tlsmod14a.c: Likewise.
51813 * elf/tst-tlsmod15b.c: Likewise.
51814 * elf/tst-tlsmod16a.c: Likewise.
51815 * elf/tst-tlsmod16b.c: Likewise.
51816 * elf/tst-tlsmod7.c: Likewise.
51817 * elf/tst-tlsmod8.c: Likewise.
51818 * elf/tst-tlsmod9.c: Likewise.
51819 * gmon/gmon.c: Likewise.
51820 * grp/fgetgrent_r.c: Likewise.
51821 * grp/putgrent.c: Likewise.
51822 * hurd/fopenport.c: Likewise.
51823 * include/libc-symbols.h: Likewise.
51824 * include/tls.h: Likewise.
51825 * intl/gettextP.h: Likewise.
51826 * intl/loadinfo.h: Likewise.
51827 * locale/global-locale.c: Likewise.
51828 * locale/localeinfo.h: Likewise.
51829 * mach/devstream.c: Likewise.
51830 * malloc/arena.c: Likewise.
51831 * malloc/set-freeres.c: Likewise.
51832 * misc/err.c: Likewise.
51833 * misc/getttyent.c: Likewise.
51834 * misc/mntent_r.c: Likewise.
51835 * posix/getopt.c: Likewise.
51836 * posix/wordexp.c: Likewise.
51837 * pwd/fgetpwent_r.c: Likewise.
51838 * resolv/Versions: Likewise.
51839 * resolv/res_hconf.c: Likewise.
51840 * shadow/fgetspent_r.c: Likewise.
51841 * shadow/putspent.c: Likewise.
51842 * stdio-common/printf_fphex.c: Likewise.
51843 * stdio-common/tmpfile.c: Likewise.
51844 * stdlib/abort.c: Likewise.
51845 * stdlib/fmtmsg.c: Likewise.
51846 * sunrpc/auth_unix.c: Likewise.
51847 * sunrpc/clnt_perr.c: Likewise.
51848 * sunrpc/clnt_tcp.c: Likewise.
51849 * sunrpc/clnt_udp.c: Likewise.
51850 * sunrpc/clnt_unix.c: Likewise.
51851 * sunrpc/openchild.c: Likewise.
51852 * sunrpc/svc_simple.c: Likewise.
51853 * sunrpc/svc_tcp.c: Likewise.
51854 * sunrpc/svc_udp.c: Likewise.
51855 * sunrpc/svc_unix.c: Likewise.
51856 * sunrpc/xdr.c: Likewise.
51857 * sunrpc/xdr_array.c: Likewise.
51858 * sunrpc/xdr_rec.c: Likewise.
51859 * sunrpc/xdr_ref.c: Likewise.
51860 * sunrpc/xdr_stdio.c: Likewise.
51861
1248c1c4
PB
518622011-09-09 Ulrich Drepper <drepper@gmail.com>
51863
51864 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51865
518662011-07-03 Andreas Jaeger <aj@suse.de>
51867
51868 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51869 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51870 regenerate with gen-libm-tests.pl.
51871
518722010-05-12 Petr Baudis <pasky@suse.cz>
51873
51874 [BZ #11589]
51875 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51876 around j0() zero points by switching to j1().
51877 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51878 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51881
f22e1074
UD
518822011-09-09 Ulrich Drepper <drepper@gmail.com>
51883
f19009c1
UD
51884 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51885 instead of 0.
51886 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51887 instead of 0.
f19009c1
UD
51888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51889 Patch in part by Pavel Roskin <proski@gnu.org>.
51890
3f8cc204
UD
51891 [BZ #13138]
51892 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51893 realloc.
51894 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51895 Free memory block if necessary.
51896
f22e1074
UD
51897 [BZ #12847]
51898 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51899 be NULL. Don't lock in this case.
51900
0a2349f9
RM
519012011-09-09 Roland McGrath <roland@hack.frob.com>
51902
51903 * elf/elf.h (ELFOSABI_GNU): New macro.
51904 (ELFOSABI_LINUX): Define to that.
51905
f3cdd467
DZ
519062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51907
51908 * string/strncat.c (strncat): Undef the symbol in case it has been
51909 defined in bits/string.h.
51910
74718d13
UD
519112011-09-09 Ulrich Drepper <drepper@gmail.com>
51912
633e9e0f
UD
51913 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51914
0a2349f9 51915 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51916 link map.
51917
f9924780
AJ
519182011-08-17 Andreas Jaeger <aj@suse.de>
51919
51920 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51921
7f5517aa
PP
519222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51923 Ian Lance Taylor <iant@google.com>
51924
51925 * math/libm-test.inc (lround_test): New testcase.
51926 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51927
762011fe
UD
519282011-09-08 Ulrich Drepper <drepper@gmail.com>
51929
92963737
UD
51930 * Makefile: Remove support for automatic cvs check-ins.
51931 * Makerules: Likewise.
51932 * config.make.in: Likewise.
51933 * configure.in: Likewise.
51934 * intl/Makefile: Likewise.
51935 * locale/Makefile: Likewise.
51936 * po/Makefile: Likewise.
51937 * posix/Makefile: Likewise.
51938 * sysdeps/gnu/Makefile: Likewise.
51939 * sysdeps/mach/hurd/Makefile: Likewise.
51940 * sysdeps/sparc/sparc32/Makefile: Likewise.
51941
b0727fd8
JS
51942 [BZ #13118]
51943 * posix/Makefile (bug-regex32-ENV): Define.
51944 Patch by John Stanley <jpsinthemix@verizon.net>.
51945
a0f33f99
UD
51946 * misc/Makefile (headers): Add bits/select2.h.
51947 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51948 * misc/bits/select2.h: New file.
51949 * include/bits/select2.h: New file.
51950 * debug/Makefile (routines): Add fdelt_chk.
51951 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51952 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51953 FD_ISSET.
51954 * debug/fdelt_chk.c: New file.
51955
762011fe
UD
51956 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51957 * wcsmbs/test-wmemcmp.c: Likewise.
51958 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51959 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51960
519612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51962
51963 * string/Makefile (strop-tests): Add memcmp.
51964 * string/test-wmemcmp.c: New file.
51965 * string/test-memcmp.c: Add wmemcmp support.
51966
7f513ec8
RM
519672011-09-08 Roland McGrath <roland@hack.frob.com>
51968
0442afb4
RM
51969 [BZ #13153]
51970 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51971 2011-07-19 change.
51972
7f513ec8
RM
51973 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51974 garbage value in a __mach_port_mod_refs call in the cases of the
51975 task-self and thread-self ports.
51976
a12b2239
ST
519772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51978
51979 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51980
610f9ab4
AS
519812011-09-08 Andreas Schwab <schwab@redhat.com>
51982
7f513ec8 51983 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51984
48882a1a
LD
519852011-09-07 Ulrich Drepper <drepper@gmail.com>
51986
b49865be
UD
51987 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51988
fdc86bc9
UD
51989 * elf/dl-libc.c (dlerror_run): Pass back error code from
51990 dl_catch_error.
51991
c966526a
UD
51992 [BZ #13123]
51993 * elf/dl-load.c (lose): Free l_origin if it is valid.
51994
48882a1a
LD
51995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51996 names.
51997 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52000 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52001 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52002 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52003
77a2a8b4
AZ
520042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52005
52006 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52007 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52008 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52009 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52010 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52011 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52012 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52013 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52014 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52015 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52016
24f579d8
AM
520172011-08-15 Alan Modra <amodra@gmail.com>
52018
52019 [BZ #13092]
52020 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52021 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52022 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52023 ppc_mcount to static-only-routines.
52024 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52025 __mcount_internal.
52026 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52027 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52028
3d4837df
UD
520292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52030
52031 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52032 for finite and infinity parameters.
52033
22700377
WS
520342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52035
52036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52037 and add nop instructions for throughput optimization.
52038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52039
5025581e
WS
520402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52041
52042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52043 aligned copy for power7 with vector-scalar instructions.
52044 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52045
08a300c9
L
520462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52047
52048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52049 AVX check.
52050
59178ef9
AS
520512011-09-07 Andreas Schwab <schwab@redhat.com>
52052
52053 [BZ #13144]
52054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52055 last change.
52056
e38ba7ab
UD
520572011-09-07 Ulrich Drepper <drepper@gmail.com>
52058
52059 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52060 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52061 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52062 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52063 clock_gettime.
52064
d53a73ac
UD
520652011-09-06 Ulrich Drepper <drepper@gmail.com>
52066
fc8bffcc
UD
52067 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52068 Forgot to demangle the pointer.
52069
ceaa0c5d
UD
52070 * sysdeps/i386/sysdep.h: Define atom_text_section.
52071 * sysdeps/x86_64/sysdep.h: Likewise.
52072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52073 section with atom_text_section.
52074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52075 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52076 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52077 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52079
a77d3c17
UD
52080 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52082 already be defined. Change to take two parameters and don't assign
52083 result to variable. Adjust all users.
52084 Define INTERNAL_GETTIME if not already defined.
52085 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52086 call.
52087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52088 HAVE_CLOCK_GETTIME_VSYSCALL.
52089 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52090
d53a73ac
UD
52091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52092 gettimeofday vsyscall, just use time.
52093
a8f84144
AS
520942011-09-06 Andreas Schwab <schwab@redhat.com>
52095
52096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52097 <errno.h>.
52098
ef606249
UD
520992011-09-06 Ulrich Drepper <drepper@gmail.com>
52100
52101 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52102 syscall on x86-64.
52103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52104 syscall.
52105 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52107 syscall if possible.
52108
6585cb60
UD
521092011-09-05 Ulrich Drepper <drepper@gmail.com>
52110
52111 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52112 e_ident. Don't pass to find_mapsXX.
52113 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52114
a5f524e4
LD
521152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52116
52117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52118 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52119 * sysdeps/x86_64/multiarch/strchr.S: Update.
52120 Check bit_slow_BSF bit.
52121 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52122 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52124
554881ef
UD
521252011-09-05 Ulrich Drepper <drepper@gmail.com>
52126
d96de963
UD
52127 [BZ #13134]
52128 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52129 before glibc 2.15.
52130 (tryshell): Define.
52131 (__spawni): Change last parameter to be flag. Test
52132 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52133 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52134 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52135 * posix/spawni.c: Likewise.
52136 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52137 * posix/spawnp.c: Likewise. Change normal version to use
52138 SPAWN_XFLAGS_USE_PATH.
52139 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52140 SPAWN_XFLAGS_TRY_SHELL.
52141
d48e5868
UD
52142 [BZ #13150]
52143 * posix/glob.h: Remove gcc 1.x support.
52144
554881ef
UD
52145 [BZ #13068]
52146 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52147
693fb948
LD
521482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52149
52150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52151 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52152 strrchr-sse2-bsf
52153 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52154 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52155 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52157 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52158 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52159
1b48c537
UD
521602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52161
49d42c37
UD
52162 * sysdeps/x86_64/wcscmp.S: New file.
52163
1b48c537
UD
52164 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52165 wcscmp-c wcscmp-sse2
52166 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52167 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52168 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52169 * wcsmbs/wcscmp.c: Allow renaming.
52170
15c95c5d
DM
521712011-09-05 David S. Miller <davem@davemloft.net>
52172
52173 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52174 stack slot, rather than the struct return pointer slot.
52175 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52176 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52178 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52179
2f0ad8f3
UD
521802011-09-05 Ulrich Drepper <drepper@gmail.com>
52181
d88ae418
UD
52182 * po/ja.po: Update from translation team.
52183
2f0ad8f3
UD
52184 [BZ #13144]
52185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52186 kernel in 64-bit binaries.
52187
5f4318d1
DM
521882011-09-01 David S. Miller <davem@davemloft.net>
52189
52190 * elf/elf.h (HWCAP_SPARC_*): Move to..
52191 * sysdeps/sparc/sysdep.h: this new file and add new values.
52192 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52193 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52194 _DL_HWCAP_COUNT to 24.
52195 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52196 entries.
52197 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52198 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52199 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52201 instead of magic constants.
52202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52203
3ba57516
DM
522042011-08-31 David S. Miller <davem@davemloft.net>
52205
52206 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52208 Reimplement to do errno handling inline.
52209 (SYSCALL_ERROR_HANDLER): New macro.
52210 (__SYSCALL_STRING): Do not do errno handling in asm.
52211 (__CLONE_SYSCALL_STRING): Delete.
52212 (__INTERNAL_SYSCALL_STRING): Delete.
52213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52214 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52215 (PSEUDO): Reimplement to do errno handling inline.
52216 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52217 (SYSCALL_ERROR_HANDLER): New macro.
52218 (__SYSCALL_STRING): Do not do errno handling in asm.
52219 (__CLONE_SYSCALL_STRING): Delete.
52220 (__INTERNAL_SYSCALL_STRING): Delete.
52221 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52222 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52223 i386.
52224 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52225 (inline_syscall*): Add 'err' argument.
52226 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52227 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52228 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52229 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52230
52231 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52232 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52233
2bc17433
AS
522342011-08-30 Andreas Schwab <schwab@redhat.com>
52235
52236 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52237
fbeb5f4d
JO
522382011-08-29 Jiri Olsa <jolsa@redhat.com>
52239
52240 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52241 directive.
52242
ad69cc26
DM
522432011-08-24 David S. Miller <davem@davemloft.net>
52244
52245 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52246
39dd69df
AS
522472011-08-24 Andreas Schwab <schwab@redhat.com>
52248
52249 * elf/Makefile: Add rules to build and run unload8 test.
52250 * elf/unload8.c: New file.
52251 * elf/unload8mod1.c: New file.
52252 * elf/unload8mod1x.c: New file.
52253 * elf/unload8mod2.c: New file.
52254 * elf/unload8mod3.c: New file.
52255
52256 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52257 it wasn't used.
52258
2c0b250a
DM
522592011-08-23 David S. Miller <davem@davemloft.net>
52260
52261 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52262 subtract stack bias.
52263 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52264 %sp not %fp in calculations.
52265 (_JMPBUF_UNWINDS_ADJ): Likewise.
52266
22044b48
DM
52267 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52268 (aio_suspend): Call it to force an exception region around the
52269 AIO_MISC_WAIT() invocation.
52270
2cae4995
AS
522712011-08-23 Andreas Schwab <schwab@redhat.com>
52272
52273 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52274 backslash.
52275
873a772e
AJ
522762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52277
52278 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52279 protection macro.
52280 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52281 and <dl-machine.h>.
52282 (Elf64_FuncDesc): Remove.
52283
25ad0df1
DM
522842011-08-22 David S. Miller <davem@davemloft.net>
52285
52286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52287 sigaltstack check, add missing cfi directives.
52288 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52289 missing cfi directives, and sigaltstack handling.
52290
e888bcbe
AS
522912011-08-16 Andreas Schwab <schwab@redhat.com>
52292
52293 [BZ #11724]
52294 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52295 object is seen twice.
52296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52297
52298 * elf/Makefile (distribute): Add tst-initorder2.c.
52299 (tests): Add tst-initorder2.
52300 (modules-names): Add tst-initorder2a tst-initorder2b
52301 tst-initorder2c tst-initorder2d. Add rules to build them.
52302 ($(objpfx)tst-initorder2.out): New rule.
52303 * elf/tst-initorder2.c: New file.
52304 * elf/tst-initorder2.exp: New file.
52305
87162f46
AS
523062011-08-22 Andreas Schwab <schwab@redhat.com>
52307
70538b7f
AS
52308 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52309
f55ffe58
AS
52310 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52311 dependencies back to end of function.
52312
87162f46
AS
52313 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52314 $(elfobjdir)/ld.so.
52315
91b392a4
UD
523162011-08-21 Ulrich Drepper <drepper@gmail.com>
52317
52318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52319 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52321 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52322 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52323 of __vdso_gettimeofday.
52324 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52325 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52326 attribute_hidden.
52327 (_libc_vdso_platform_setup): Remove initialization of
52328 __vdso_gettimeofday and __vdso_time.
52329
5c43483f
UD
523302011-08-20 Ulrich Drepper <drepper@gmail.com>
52331
775a77e7
UD
52332 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52333 and fgetc_unlocked.
52334 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52335 getc_unlocked.
89f447ed 52336
49c74ba9
UD
52337 * elf/dl-open.c (add_to_global): Report additions to the global scope
52338 for LD_DEBUG=scopes.
52339 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52340 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52341
5c43483f
UD
52342 [BZ #13114]
52343 * stdio-common/Makefile (tests): Add bug24.
52344 * stdio-common/bug24.c: New file.
52345
a101b025
AJ
523462011-08-19 Andreas Jaeger <aj@suse.de>
52347
52348 [BZ #13114]
52349 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52350 non-existant file when using close-on-exec mode.
52351
c88f1766
UD
523522011-08-20 Ulrich Drepper <drepper@gmail.com>
52353
0276a718
UD
52354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52355 the very first instruction.
52356
c88f1766
UD
52357 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52358 the CFI state in the end.
52359 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52360 inclusion of dl-trampoline.h.
52361 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52362
51ccffa0
AS
523632011-08-19 Andreas Schwab <schwab@redhat.com>
52364
94d7165f
AS
52365 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52366 expectations for long double.
52367
51ccffa0
AS
52368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52369 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52370
fd708658 523712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52372
52373 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52374 artificual limit depends upon the system page size.
52375
44f0a71e
UD
523762011-08-17 Ulrich Drepper <drepper@gmail.com>
52377
52378 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52379 * resolv/Makefile: Define CFLAGS-libresolv.
52380
8de79a24
AS
523812011-08-17 Andreas Schwab <schwab@redhat.com>
52382
52383 * nss/makedb.c (compute_tables): Make variables used in nested
52384 function static.
52385
27724598
UD
523862011-08-17 Ulrich Drepper <drepper@gmail.com>
52387
c5305d88
UD
52388 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52389 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52390 if buffer was too small.
52391
27724598
UD
52392 * elf/pldd.c (main): Attach to all threads in the process.
52393 Rewrite /proc handling to use *at functions.
52394
076fe015
UD
523952011-08-16 Ulrich Drepper <drepper@gmail.com>
52396
174baab3
UD
52397 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52398 specifies first scope to show.
52399 (dl_open_worker): Update callers. Move printing scope of new
52400 object to before the relocation.
44f0a71e 52401 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52402 * sysdeps/generic/ldsodefs.h: Update declaration.
52403
076fe015
UD
52404 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52405 string for the scope number.
52406
a60df2c3
UD
524072011-08-14 Ulrich Drepper <drepper@gmail.com>
52408
52409 * nscd/servicescache.c (cache_addserv): Make sure written is always
52410 initialized.
52411
5e4287d1
RM
524122011-08-14 Roland McGrath <roland@hack.frob.com>
52413
85ae0589
RM
52414 * sysdeps/i386/i486/bits/atomic.h
52415 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52416 statement expression, so as to suppress "set but not used" warning.
52417 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52418
69f63097
RM
52419 * string/strncat.c (STRNCAT): Use prototype definition.
52420
675456ef
RM
52421 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52422 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52423 -Iprograms here.
52424 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52425 (localedef-modules): Add localedef.
52426 (locale-modules): Add locale.
52427
5e4287d1
RM
52428 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52429 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52430 to avoid a warning.
52431
9c96ff23
DM
524322011-08-14 David S. Miller <davem@davemloft.net>
52433
52434 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52435 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52436
f9ddf089
UD
524372011-08-13 Ulrich Drepper <drepper@gmail.com>
52438
44f0a71e 52439 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52440 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52441 * elf/rtld.c (dl_main): Set l_name of vDSO.
52442 Call _dl_show_scope when DL_DEBUG_SCOPES.
52443 (process_dl_debug): Recognize scopes flag and also set it for all.
52444 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52445 Declare _dl_show_scope.
52446
1dc27704
UD
52447 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52448 (do_dlopen): Pass caller_dlopen to dl_open.
52449 (__libc_dlopen_mode): Initialize caller_dlopen.
52450
f9ddf089
UD
52451 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52452 of libc. Make tolower call locale-independent. Optimize a bit by
52453 using isdigit instead of isalnum.
52454 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52455
9ac533d3
UD
524562011-08-12 Ulrich Drepper <drepper@gmail.com>
52457
52458 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52459 was a dependency or dynamically loaded.
52460
89edf2e9
UD
524612011-08-11 Ulrich Drepper <drepper@gmail.com>
52462
8e999d29
UD
52463 * intl/l10nflist.c: Allow architecture-specific pop function.
52464 * sysdeps/x86_64/l10nflist.c: New file.
52465
89edf2e9
UD
52466 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52467 classification.
52468
14d96785
AS
524692011-08-10 Andreas Schwab <schwab@redhat.com>
52470
52471 * include/dirent.h: Add libc_hidden_proto for scandirat and
52472 scandirat64. Don't declare __scandirat64.
52473 * dirent/scandirat.c: Add libc_hidden_def.
52474 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52475 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52476
6761ac04
DM
524772011-08-10 David S. Miller <davem@davemloft.net>
52478
52479 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52480 enum.
52481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52483 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52484
c55fbd1e
UD
524852011-08-09 Ulrich Drepper <drepper@gmail.com>
52486
52487 * Versions.def [libc]: Add GLIBC_2.15.
52488 * dirent/Makefile (routines): Add scandirat and scandirat64.
52489 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52490 GLIBC_2.15.
52491 * dirent/dirent.h: Declare scandirat and scandirat64.
52492 * dirent/scandirat.c: New file.
52493 * dirent/scandirat64.c: New file.
52494 * sysdeps/wordsize-64/scandirat.c: New file.
52495 * sysdeps/wordsize-64/scandirat64.c: New file.
52496 * dirent/opendir.c: Define opendirat.
52497 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52498 using scandirat.
52499 * dirent/scandir64.c: Adjust for scandir.c change.
52500 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52501 __scandirat64, and __scandir_cancel_handler.
52502 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52503 additional parameter and use openat instead of open (outside of ld.so).
52504 Add new __opendir as wrapper around __opendirat.
52505 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52506 here without requiring old scandirat implementation.
52507
879165f2
UD
525082011-08-08 Ulrich Drepper <drepper@gmail.com>
52509
52510 * dirent/scandir.c (cancel_handler): Renamed to
52511 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52512 defined. Adjust users.
52513 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52515
cb7e923b
UD
525162011-08-04 Ulrich Drepper <drepper@gmail.com>
52517
16292edd
UD
52518 * string/test-string.h (IMPL): Use __STRING to expand name and then
52519 stringify it.
52520
cb7e923b
UD
52521 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52522 of cleanups.
52523
cff82933
LD
525242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52525
52526 * string/Makefile: Update.
52527 (strop-tests): Append strncat.
52528 * string/test-wcscmp.c: New file.
52529 New comprehensive test for wcscmp.
52530 * string/test-strcmp.c: Update.
52531 (WIDE): New define.
52532
9be9bfcc
AS
525332011-07-22 Andreas Schwab <schwab@redhat.com>
52534
52535 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52536 line.
52537
2e96f1c7
AS
525382011-07-26 Andreas Schwab <schwab@redhat.com>
52539
52540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52541 encoding to ACE if AI_IDN.
52542
85188888
JJ
525432011-08-01 Jakub Jelinek <jakub@redhat.com>
52544
52545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52546 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52547
5fa16e9b
LD
525482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52549
52550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52551 Fix overflow bug in strncat.
52552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52553
52554 * string/test-strncat.c: Update.
52555 Add new tests for checking overflow bugs.
52556
525572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52558
52559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52560 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52561 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52562 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52564 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52565 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52566 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52567 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52568
52569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52570 (USE_AS_STRCAT): Define.
52571 Add strcat and strncat support.
52572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52573
8c1a459f
AS
525742011-07-25 Andreas Schwab <schwab@redhat.com>
52575
52576 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52577 __n bigger than INT_MAX+1.
52578 (__strncmp_g): Likewise.
52579
bba33c28
UD
525802011-07-23 Ulrich Drepper <drepper@gmail.com>
52581
798be72d
UD
52582 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52583 * libio/stido.h: Likewise.
52584
8accd4dc
UD
52585 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52586 (AF_NFC): Define.
52587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52588 (AF_NFC): Define.
52589
cbff0d96
UD
52590 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52595
9191c04a
UD
52596 [BZ #13021]
52597 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52598 installed.
52599
bba33c28
UD
52600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52601 typo.
52602 (_dl_x86_64_save_sse): Likewise.
52603
90f139dd
UD
526042011-07-22 Ulrich Drepper <drepper@gmail.com>
52605
1aae088a
UD
52606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52607 OSXSAVE.
52608 (_dl_x86_64_save_sse): Likewise.
52609
8e2045f5
UD
52610 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52611
90f139dd
UD
52612 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52613
1d002f25
AS
526142011-07-21 Andreas Schwab <schwab@redhat.com>
52615
52616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52617 change.
52618 (_dl_x86_64_save_sse): Use correct AVX check.
52619
21137f89
UD
526202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52621
52622 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52623 bug in strncpy/strncat.
52624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52625
a65c0b7a
UD
526262011-07-21 Ulrich Drepper <drepper@gmail.com>
52627
52628 * string/tester.c (test_strcat): Add tests for different alignments
52629 of source and destination.
52630 (test_strncat): Likewise.
52631
6986b98a
UD
526322011-07-20 Ulrich Drepper <drepper@gmail.com>
52633
90bb2039
UD
52634 [BZ #12852]
52635 * posix/glob.c (glob): Check passed in values before using them in
52636 expressions to avoid some overflows.
52637 (glob_in_dir): Likewise.
52638
5644ef54
UD
52639 [BZ #13007]
52640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52641 check for AVX enablement so that we don't crash with old kernels and
52642 new hardware.
52643 * elf/tst-audit4.c: Add same checks here.
52644 * elf/tst-audit6.c: Likewise.
52645
52646 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52647
bfc9dc9b
AS
526482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52649
52650 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52651
702e64bb
UD
526522011-07-20 Ulrich Drepper <drepper@gmail.com>
52653
52654 * po/cs.po: Update from translation team.
52655 * po/bg.po: Likewise.
52656
295e904f
MP
526572011-07-12 Marek Polacek <mpolacek@redhat.com>
52658
52659 * misc/sys/cdefs.h: Add support for const attribute.
52660 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52661 to gnu_dev_{major,minor,makedev} functions.
52662
3ff94596
MP
526632011-07-20 Marek Polacek <mpolacek@redhat.com>
52664
52665 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52666
28b59fca
AS
526672011-07-20 Andreas Schwab <schwab@redhat.com>
52668
52669 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52670 strlen results.
52671
19df733e
AK
526722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52673
52674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52675 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52676 register in order to avoid conflicts with the soft frame pointer
52677 being held in r11 when necessary.
52678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52679 (INTERNAL_VSYSCALL_NCS): Likewise.
52680
c8835729
MP
526812011-07-14 Marek Polacek <mpolacek@redhat.com>
52682
52683 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52684 * elf/dl-fini.c (_dl_fini): Adjust caller.
52685 * elf/dl-close.c (_dl_close_worker): Likewise.
52686 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52687
b902330c
MP
526882011-07-15 Marek Polacek <mpolacek@redhat.com>
52689
8991e135
MP
52690 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52691 "aux_cache->nlibs < 0".
52692
b902330c
MP
52693 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52694 in the reload-count case.
52695
99710781
LD
526962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52697
52698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52699 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52700 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52701 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52702 * sysdeps/x86_64/multiarch/strcat.S: New file.
52703 * sysdeps/x86_64/multiarch/strncat.S: New file.
52704 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52705 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52706 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52707 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52709 (USE_AS_STRCAT): Define.
52710 Add strcat and strncat support.
52711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52713 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52714 * string/strncat.c: Update.
52715 (USE_AS_STRNCAT): Define.
52716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52717 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52718 and i7.
52719 * sysdeps/x86_64/multiarch/init-arch.h
52720 (bit_Prefer_PMINUB_for_stringop): New.
52721 (index_Prefer_PMINUB_for_stringop): Likewise.
52722 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52723 bit_Prefer_PMINUB_for_stringop.
52724
7dc6bd90
UD
527252011-07-19 Ulrich Drepper <drepper@gmail.com>
52726
52727 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52728 buffer64.
52729 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52730 of casting of buffer.
52731 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52732 buffer32 and buffer64.
52733 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52734 writes instead of casting of buffer.
52735 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52736 buffer32.
52737 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52738 casting of buffer.
52739
e0e72284
AS
527402011-07-19 Andreas Schwab <schwab@redhat.com>
52741
52742 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52743
feb1eb0b
UD
527442011-07-19 Ulrich Drepper <drepper@gmail.com>
52745
52746 * nscd/nscd.c (termination_handler): Don't do anything for a database
52747 if it has not yet been initialized.
52748
298711ff
UD
527492011-07-18 Ulrich Drepper <drepper@gmail.com>
52750
52751 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52752
527532011-07-15 Marek Polacek <mpolacek@redhat.com>
52754
52755 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52756
f9d68389
UD
527572011-07-18 Ulrich Drepper <drepper@gmail.com>
52758
52759 * po/nl.po: Update from translation team.
52760 * po/sv.po: Likewise.
52761
db290cf5
RM
527622011-07-16 Roland McGrath <roland@hack.frob.com>
52763
52764 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52765 now disallowed by GCC.
5c550700 52766
fd5e21c7
RM
52767 * configure.in (use-default-link): Default to yes if a test -shared
52768 link meets our qualifications.
52769 * configure: Regenerated.
52770
5c550700
RM
52771 * config.make.in (output-format): New variable.
52772 * configure.in: Check for ld --print-output-format support.
52773 * configure: Regenerated.
52774 * Makerules ($(common-objpfx)format.lds)
52775 [$(output-format) != unknown]: Just use $(output-format),
52776 instead of the linker-script munging.
52777
9fa2c032
RM
527782011-07-14 Roland McGrath <roland@hack.frob.com>
52779
a6928d51
RM
52780 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52781 of $(common-objpfx)shlib.lds.
52782 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52783
661607b3
RM
52784 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52785 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52786
9fa2c032
RM
52787 * configure.in (-z relro check): Adjust test code to add a large
52788 writable data section after it.
52789 * configure: Regenerated.
52790
defe9061
RM
527912011-07-11 Roland McGrath <roland@hack.frob.com>
52792
52793 * configure.in (-z relro check): Fix test code to make the variable
52794 truly const.
52795 * configure: Regenerated.
52796
319b9ad4
UD
527972011-07-11 Ulrich Drepper <drepper@gmail.com>
52798
52799 * nscd/nscd.h (struct traced_file): Define.
52800 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52801 elements. Add traced_files.
52802 (inotify_fd): Declare.
52803 (register_traced_file): Declare.
52804 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52805 (inotify_fd): Export.
52806 (resolv_conf_descr): Remove.
52807 (nscd_init): Move inotify descriptor creation to main.
52808 Don't register files for notification here.
52809 (register_traced_file): New function.
52810 (invalidate_cache): Don't use reset_res to determine whether to call
52811 res_init, go through the list of registered files.
52812 (main_loop_poll): The inotify descriptors are now stored in the
52813 structures for the traced files.
52814 (main_loop_epoll): Likewise
52815 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52816 to __nss_disable_nscd.
52817 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52818 for a database anymore. Check the records for all the registered
52819 files instead.
52820 * nss/Makefile (libnss_files-routines): Add files-init.
52821 (libnss_db-routines): Add db-init.
52822 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52823 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52824 * nss/nss_db/db-init.c: New file.
52825 * nss/nss_files/files-init.c: New file.
52826 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52827 __nss_lookup_function.
52828 (__nss_lookup_function): Call nss_load_library.
52829 (nss_load_all_libraries): New function.
52830 (__nss_disable_nscd): Take parameter with callback function for files
52831 to register. Set is_nscd. Load all the DSOs for the NSS modules
52832 used for the cached services.
52833 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52834 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52835 options for features to all the files in nscd.
52836
52837 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52838
23bee3e8
RM
528392011-07-10 Roland McGrath <roland@hack.frob.com>
52840
52841 * csu/elf-init.c (__libc_csu_init): Comment typo.
52842
46a5b7f0
UD
528432011-07-09 Ulrich Drepper <drepper@gmail.com>
52844
52845 * po/pl.po: Update from translation team.
52846 * po/ja.po: Likewise.
52847 * po/ru.po: Likewise.
52848 * po/ko.po: Likewise.
52849 * po/fr.po: Likewise.
52850
d30cf5bb
RM
528512011-07-09 Roland McGrath <roland@hack.frob.com>
52852
113ddea4
RM
52853 * configure.in (.ctors/.dtors header and trailer check):
52854 Use an empirical test on a built program.
52855 * configure: Regenerated.
52856
574920b4
RM
52857 * configure.in (-z relro check): Use an empirical test on a built DSO.
52858 Detect, but do not require, on ia64.
52859 * configure: Regenerated.
52860
d30cf5bb
RM
52861 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52862 Update tests that use readelf to use $READELF instead.
52863 * configure: Regenerated.
52864
8538fdb3
UD
528652011-07-08 Ulrich Drepper <drepper@gmail.com>
52866
52867 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52868 if the result is not used.
52869
04d08991
AJ
528702011-07-05 Andreas Jaeger <aj@suse.de>
52871
52872 [BZ#9696]
52873 * stdlib/tst-strtod.c: Add testcase.
52874
de283087
AD
528752011-07-07 Ulrich Drepper <drepper@gmail.com>
52876
4e5f31c8 52877 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52878 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52879 The latter has a higher limit. Take additional parameter to pass to
52880 the new function.
52881 (__pathconf): Pass file to __statfs_link_max.
52882 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52883 __statfs_link_max.
52884 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52885 __statfs_link_max.
52886
de283087
AD
52887 [BZ #12868]
52888 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52889 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52890 Handle Lustre.
52891 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52892 (__statfs_filesize_max): Likewise.
52893 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52894
c75fa153
AJ
528952011-07-05 Andreas Jaeger <aj@suse.de>
52896
52897 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52898
1a544854
UD
528992011-07-06 Marek Polacek <mpolacek@redhat.com>
52900
52901 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52902 `status' variable.
52903 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52904 Likewise.
52905
6f0eec67
UD
529062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52907
52908 * Makefile (strop-tests): Add strncat.
52909 * string/test-strncat.c: New file.
52910
aae30307
UD
529112011-06-30 Marek Polacek <mpolacek@redhat.com>
52912
52913 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52914
c0cfb5eb
UD
529152011-06-21 Andreas Jaeger <aj@suse.de>
52916
52917 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52918 Copy rule from iconvdata/Makefile.
52919
01636b21
UD
529202011-07-06 Ulrich Drepper <drepper@gmail.com>
52921
52922 [BZ #12922]
52923 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52924 but no long options are defined, just return 'W'.
52925
9895c8bc
UD
529262011-06-22 Marek Polacek <mpolacek@redhat.com>
52927
52928 [BZ #9696]
52929 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52930
5d4cf042
UD
529312011-07-06 Ulrich Drepper <drepper@gmail.com>
52932
52933 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52934 netgroups to read.
960e5535 52935 (innetgr): Likewise.
5d4cf042 52936
751eb97e
RM
529372011-07-05 Roland McGrath <roland@hack.frob.com>
52938
52939 * config.make.in (install_root): Default to $(DESTDIR).
52940
f15f1e45
UD
529412011-07-05 Ulrich Drepper <drepper@gmail.com>
52942
52943 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52944
4e34ac6a
RM
529452011-07-02 Roland McGrath <roland@hack.frob.com>
52946
5e9b6af4
RM
52947 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52948
84f9ea0f
RM
52949 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52950 containing directory rather than embedding absolute directory names.
52951
ea5ee9f7
RM
52952 * scripts/check-local-headers.sh: Rewritten using awk.
52953 Match by word, not by line. Print error messages for matches.
52954 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52955
1b74661a
RM
52956 * Makerules [shlib-lds-flags empty]:
52957 ($(common-objpfx)libc_pic.opts): New target.
52958 ($(common-objpfx)libc_pic.os.clean): New target.
52959 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52960
52961 * config.make.in (OBJCOPY): New variable.
52962 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52963 * configure: Regenerated.
52964
f781ef40
RM
52965 * config.make.in (use-default-link): New variable.
52966 * configure.in (use_default_link): Grok --with-default-link to set it.
52967 * configure: Regenerated.
52968 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52969 (shlib-lds, shlib-lds-flags): Define to empty.
52970
2d4fa81e
RM
52971 * Makerules (shlib-lds): New variable.
52972 (shlib-lds-flags): New variable.
52973 (build-shlib, build-moduile, build-module-asneeded): Use it.
52974 ($(common-objpfx)libc.so): Use $(shlib-lds).
52975 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52976 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52977
31fffa6b
RM
52978 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52979 DT_FLAGS/DT_FLAGS_1 with zero flags.
52980
4e34ac6a
RM
52981 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52982 linker script munging.
52983
fcfc776b
UD
529842011-07-02 Ulrich Drepper <drepper@gmail.com>
52985
52986 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52987 as 128-bit value.
52988 * crypt/sha512.c (sha512_process_block): Perform total addition using
52989 128-bit if possible.
52990 (__sha512_finish_ctx): Likewise.
52991 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52992 as 64-bit value.
52993 * crypt/sha256.c (SWAP64): Define.
52994 (sha256_process_block): Perform total addition using 64-bit if
52995 possible.
52996 (__sha256_finish_ctx): Likewise.
52997
99231d9a
UD
529982011-07-01 Ulrich Drepper <drepper@gmail.com>
52999
53000 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53002 * nscd/hstcache.c (cache_addhst): Likewise.
53003 * nscd/grpcache.c (cache_addgr): Likewise.
53004 * nscd/aicache.c (addhstaiX): Likewise
53005 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53006
445b4a53
TK
530072011-07-01 Thorsten Kukuk <kukuk@suse.de>
53008
53009 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53011 * nscd/hstcache.c (cache_addhst): Likewise.
53012 * nscd/grpcache.c (cache_addgr): Likewise.
53013 * nscd/aicache.c (addhstaiX): Likewise
53014
6d4d8e8e
AS
530152011-07-01 Andreas Schwab <schwab@redhat.com>
53016
53017 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53018 domain only when needed.
53019
89f654c5
AS
530202011-06-30 Andreas Schwab <schwab@redhat.com>
53021
53022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53023 is always restored.
53024
cf3b23ff
UD
530252011-06-29 Ulrich Drepper <drepper@gmail.com>
53026
53027 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53028 are re-adding the entry.
53029 * nscd/servicescache.c (cache_addserv): Likewise.
53030
751626f9
AJ
530312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53032
53033 * sysdeps/generic/dl-irel.h: fix protection against multiple
53034 inclusions.
53035 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53036
9113ea1f
UD
530372011-06-28 Ulrich Drepper <drepper@gmail.com>
53038
5c0b8d90
UD
53039 [BZ #12935]
53040 * malloc/memusage.sh: Fix quoting in message.
53041 * debug/xtrace.sh: Likewise.
53042
9113ea1f
UD
53043 * configure.in: Remove support for --experimental-malloc option, make
53044 it the default.
53045 * config.make.in: Likewise.
53046 * malloc/Makefile: Likewise.
53047
a4172181
AS
530482011-06-27 Andreas Schwab <schwab@redhat.com>
53049
53050 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53051 two-byte characters.
53052
78a7eee7
RM
530532011-06-27 Roland McGrath <roland@hack.frob.com>
53054
62bede13
RM
53055 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53056 AC_CACHE_CHECK invocation.
53057 * configure: Regenerated.
53058
78a7eee7
RM
53059 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53060
5ce33a62
UD
530612011-06-27 Ulrich Drepper <drepper@gmail.com>
53062
034807a9
UD
53063 [BZ #12350]
53064 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53065 bit from old_res_options.
53066
4902da17
UD
53067 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53068
5ce33a62
UD
53069 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53070 value type for setfct.
53071
c2344f56
L
530722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53073
53074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53075 __gettimeofday instead of gettimeofday.
53076
68468076
UD
530772011-06-26 Ulrich Drepper <drepper@gmail.com>
53078
53079 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53080
acb0d739
L
530812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53082
53083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53084
53085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53086 info.
53087
8912479f
L
530882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53089
53090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53091 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53092 strcpy-sse2-unaligned strncpy-sse2-unaligned
53093 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53094 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53095 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53096 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53097 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53100 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53101 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53102 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53103 (STRCPY): Support SSE2 and SSSE3 versions.
53104
d5495a11
UD
531052011-06-24 Ulrich Drepper <drepper@gmail.com>
53106
53107 [BZ #12874]
53108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53109 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53110 kernels which artificially limit size of requests.
53111
0b1cbaae
L
531122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53113
53114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53115 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53116 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53117 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53118 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53119 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53120 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53121 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53122 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53124 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53125 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53126 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53127 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53128 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53130 Enable unaligned load optimization for Intel Core i3, i5 and i7
53131 processors.
53132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53133 Define.
53134 (index_Fast_Unaligned_Load): Define.
53135 (HAS_FAST_UNALIGNED_LOAD): Define.
53136
07f494a0
MP
531372011-06-23 Marek Polacek <mpolacek@redhat.com>
53138
53139 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53140
fa3fc0fe
UD
531412011-06-22 Ulrich Drepper <drepper@gmail.com>
53142
53143 [BZ #12907]
53144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53145 until it is clear that the information is realy needed.
53146 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53147
e12df166
AS
531482011-06-22 Andreas Schwab <schwab@redhat.com>
53149
53150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53151
852eb34d
UD
531522011-06-22 Ulrich Drepper <drepper@gmail.com>
53153
84e2a551
UD
53154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53155 /sys/devices/system/cpu/online if it is usable.
53156
852eb34d
UD
53157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53158 reading the information from the /proc filesystem to once a second.
53159
6e502e19
UD
531602011-06-21 Andreas Jaeger <aj@suse.de>
53161
53162 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53163 NULL after inclusion of kernel headers.
53164
75d39ff2
UD
531652011-06-21 Ulrich Drepper <drepper@gmail.com>
53166
51f9aa6a
UD
53167 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53168 calls to internal_setent.
53169
c0244a9d
UD
53170 [BZ #12885]
53171 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53172 addresses using gethostbyname4_r ignore IPv4 addresses.
53173
c5e3c2ae
UD
53174 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53175 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53176
75d39ff2
UD
53177 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53178
42675c6f
DM
531792011-06-20 David S. Miller <davem@davemloft.net>
53180
53181 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53182 inclusions.
53183 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53184
53185 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53186 (elf_irel): Use it.
53187 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53188 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53189 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53190 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53191 * sysdeps/x86_64/dl-irel.h: Likewise.
53192
53193 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53194 * elf/dl-sym.c: Likewise.
53195
57912a71
UD
531962011-06-15 Ulrich Drepper <drepper@gmail.com>
53197
53198 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53199 need to dereference resplen2.
53200
ee22793d
AS
532012011-06-14 Andreas Schwab <schwab@redhat.com>
53202
53203 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53204
a9e836b0
UD
532052011-06-15 Ulrich Drepper <drepper@gmail.com>
53206
77fb9117
UD
53207 * Makeconfig: Define vardbdir and inst_vardbdir.
53208 * nss/Makefile: Add rules to install db-Makefile.
53209
40c1b22c
UD
53210 * nss/nss_db/db-XXX.c: Cleanup.
53211
9f2da732
UD
53212 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53213 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53214 GLIBC_PRIVATE.
53215 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53216 * nss/makedb.c: Implement -g option to specify that value strings
53217 are generated and should not be added to table iterated over for
53218 get*ent calls.
53219 * nss/nss_db/db-initgroups.c: New file.
53220
82e9a1f7
UD
53221 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53222 interface.
53223
c41af17e
UD
53224 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53225 (internal_getgrouplist): Adjust to name change.
53226 Update use_initgroups_entry if this is not the first call.
53227 * nss/databases.def: Add initgroups entry.
53228
a9e836b0
UD
53229 * nss/makedb.c (compute_tables): Check result of multiple hash table
53230 sizes to minimize maximum chain length.
53231
2666d441
UD
532322011-06-14 Ulrich Drepper <drepper@gmail.com>
53233
53234 * Versions.def: Add entry for libnss_db.
53235 * shlib-versions: Likewise.
53236 * nss/Makefile: Add rules to build libnss_db.
53237 * nss/Versions: Add libnss_db information. Organize libnss_files
53238 entries better.
53239 * nss/db-Makefile: Add gshadow support. Change rules for the new
53240 makedb progra. Some minor improvements to generate smaller files.
53241 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53242 here from...
53243 * nss/makedb.c: ...here.
53244 Improve database format to be smaller and require less memory at
53245 runtime.
53246 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53247 db anymore.
53248 * nss/nss_db/db-netgrp.c: Likewise.
53249 * nss/nss_db/db-open.c: Likewise.
53250 * nss/nss_files/flies-XXX.x: Adjust comments.
53251 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53252 * nss/nss_files/files-grp.c: Likewise.
53253 * nss/nss_files/files-hosts.c: Likewise.
53254 * nss/nss_files/files-network.c: Likewise.
53255 * nss/nss_files/files-proto.c: Likewise.
53256 * nss/nss_files/files-pwd.c: Likewise.
53257 * nss/nss_files/files-rpc.c: Likewise.
53258 * nss/nss_files/files-service.c: Likewise.
53259 * nss/nss_files/files-sgrp.c: Likewise.
53260 * nss/nss_files/files-spwd.c: Likewise.
53261 * nss/nss_db/db-alias.c: Removed.
53262 * nss/nss_db/dummy-db.h: Removed.
53263
9ee76b5a
UD
532642011-06-02 Ulrich Drepper <drepper@gmail.com>
53265
53266 * nss/makedb.c: Rewritten to not use database library.
53267 * nss/Makefile: Update to build new makedb program.
53268
c71ca1f8
AJ
532692011-06-14 Andreas Jaeger <aj@suse.de>
53270
53271 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53272 memset declaration.
53273
3154bfb8
UD
532742011-06-10 Andreas Schwab <schwab@redhat.com>
53275
53276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53277 tmpbuf.
53278
b350afab
RM
532792011-06-10 Roland McGrath <roland@hack.frob.com>
53280
decd4e50
RM
53281 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53282 * elf/Makefile ($(objpfx)ld.so): Likewise.
53283
5615eaf2
RM
53284 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53285 Don't list ld.so twice in dependencies.
53286
53287 * posix/bug-regex31.c: Include <stdlib.h>.
53288
53289 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53290
53291 * nis/nss_compat/compat-spwd.c
53292 (getspent_next_nss_netgr): Remove unused variable.
53293 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53294
53295 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53296 nonmembers" output to use the right array.
53297
53298 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53299
53300 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53301
53302 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53303 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53304 * catgets/gencat.c (read_input_file): Likewise.
53305 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53306
53307 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53308 variable definition inside #if's controlling its use.
53309
53310 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53311
53312 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53313
53314 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53315
53316 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53317 unreachable code.
53318
53319 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53320
b68e08db
RM
53321 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53322 * configure: Regenerated.
53323
b350afab
RM
53324 * Makerules: Revert last change.
53325 * elf/Makefile: Likewise.
53326
28368601
RM
533272011-06-09 Roland McGrath <roland@hack.frob.com>
53328
53329 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53330 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53331 (reloc-link): Likewise.
53332
11988f8f
UD
533332011-06-09 Ulrich Drepper <drepper@gmail.com>
53334
53335 * elf/Makefile: Add rules to build pldd.
53336 * elf/pldd.c: New file.
53337 * elf/pldd-xx.c: New file.
53338
e80fab37
UD
533392011-06-07 Ulrich Drepper <drepper@gmail.com>
53340
53341 * version.h: Update for 2.15 development version.
53342
9b849836
DM
533432011-06-07 David S. Miller <davem@davemloft.net>
53344
53345 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53346 ifuncs.
53347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53348 elf_machine_lazy_rel): Likewise.
53349 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53351 elf_machine_lazy_rel): Likewise.
53352 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53353 dl_hwcap via passed in argument.
53354 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53355 Likewise.
53356
5a31b283
AK
533572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53358
53359 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53360
069e52f8
RM
533612011-06-06 Roland McGrath <roland@hack.frob.com>
53362
53363 [BZ #12849]
53364 * manual/fdl-1.1.texi: New file, verbatim from:
53365 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53366 * manual/lgpl-2.1.texi: New file, verbatim from:
53367 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53368 * manual/Makefile (licenses): New variable, list those new file names.
53369 (texis): Use it.
53370 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53371
53372 * manual/fdl.texi: File removed.
53373 * manual/lesser.texi: File removed.
53374 * manual/libc.texinfo (Copying, Documentation License):
53375 Use new @include file names, put @appendix directive before @include.
53376
f16846a5
JJ
533772011-06-04 Jakub Jelinek <jakub@redhat.com>
53378
53379 [BZ #12841]
53380 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53381 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53382 (mq_open): Add __NTH.
53383
3d29045b
L
533842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53385
53386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53387 Assume Intel Core i3/i5/i7 processor if AVX is available.
53388
8c297311
UD
533892011-05-31 Ulrich Drepper <drepper@gmail.com>
53390
53391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53392 typo.
53393
c8fc0c91
UD
533942011-05-31 Andreas Schwab <schwab@redhat.com>
53395
53396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53397 memory. Use alloca_account. Fix memory leak when retrying.
53398
5b27a807
UD
533992011-05-31 Ulrich Drepper <drepper@gmail.com>
53400
356f8bc6
UD
53401 * version.h (RELEASE): Bump for 2.14 release.
53402 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53403
5b27a807
UD
53404 * config.make.in (RANLIB): Remove entry.
53405
01f16ab0
UD
534062011-05-30 Ulrich Drepper <drepper@gmail.com>
53407
41fce8bd
UD
53408 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53409 (libc.pot): Work around missing support for .ksh extension in xgettext.
53410
4769ae77
UD
53411 [BZ #12684]
53412 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53413 if both request failed.
53414 (send_dg): In case of server errors clear resplen or *resplen2.
53415
6b1e7d19
UD
53416 [BZ #12454]
53417 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53418 when there are multiple maps.
53419 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53420 (_dl_fini): Remove test here.
53421
01f16ab0
UD
53422 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53423
b1ebd700
UD
534242011-05-29 Ulrich Drepper <drepper@gmail.com>
53425
7ae22829
UD
53426 [BZ #12350]
53427 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53428 bit from old_res_options.
53429 (gaih_inet): Likewise.
53430
553149f6 53431 [BZ #11099]
18a84741 53432 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53433 as signed.
53434
652ffab1
UD
53435 * resolv/res_init.c (res_setoptions): Make the code more compact.
53436
16985fd0
UD
53437 [BZ #11558]
53438 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53439 set RES_USEVC.
53440
0464f746
UD
53441 [BZ #11634]
53442 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53443
7d17596c
UD
53444 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53445
cf6bbbd7
UD
53446 [BZ #11781]
53447 * malloc/malloc.h: Declare malloc hook variables as volatile.
53448
13f1ab36
UD
53449 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53450 in last patch.
53451
b1ebd700
UD
53452 [BZ #11799]
53453 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53454 raise in the comment.
80e2212d
UD
53455 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53457 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53458
ce67228d
UD
534592011-05-28 Ulrich Drepper <drepper@gmail.com>
53460
8887a920
UD
53461 [BZ #12811]
53462 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53463 grow the buffers more if it already has to be sufficient.
53464 (build_wcs_upper_buffer): Likewise.
53465 * posix/regexec.c (check_matching): Likewise.
53466 (clean_state_log_if_needed): Likewise.
53467 (extend_buffers): Don't enlarge buffers beyond size of the input
53468 buffer.
53469 Patches mostly by Emil Wojak <emil@wojak.eu>.
53470 * posix/bug-regex32.c: New file.
53471 * posix/Makefile (tests): Add bug-regex32.
53472
4f031072
UD
53473 * locale/findlocale.c (_nl_find_locale): Return right away if
53474 _nl_explode_name failed.
53475 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53476
d0478f0c
UD
53477 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53478
de81b246
UD
53479 * debug/xtrace.sh: Unify messages.
53480 * malloc/memusage.sh: Likewise.
53481
c738465a
UD
53482 [BZ #12813]
53483 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53484 time symbol from vDSO. Substitute with vsyscall if not available.
53485 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53486 __vdso_time.
53487
f1f929d7
UD
53488 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53489 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53490 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53491 Add sendmmsg and internal_sendmmsg.
53492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53493 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53494 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53495
ce67228d
UD
53496 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53497 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53498 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53499
e57420c6
UD
535002011-05-27 Ulrich Drepper <drepper@gmail.com>
53501
a8509ca5
UD
53502 [BZ #12813]
53503 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53504 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53505 available.
53506 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53507 __vdso_getcpu.
53508
e57420c6
UD
53509 [BZ #12814]
53510 * iconvdata/Makefile (tests): Add bug-iconv9.
53511 * iconvdata/bug-iconv9.c: New file.
53512
4d07db15
AS
535132011-05-27 Andreas Schwab <schwab@redhat.com>
53514
53515 [BZ #12814]
53516 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53517
ea486f69
JJ
535182011-05-25 Jakub Jelinek <jakub@redhat.com>
53519
53520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53521 (struct user_regs_struct): Change intcs field back to cs.
53522
6f038433
UD
535232011-05-25 Ulrich Drepper <drepper@gmail.com>
53524
53525 * po/ja.po: Update from translation team.
53526
67f86a25
UD
535272011-05-23 Ulrich Drepper <drepper@gmail.com>
53528
53529 [BZ #12795]
53530 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53531 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53532
def7fbd6
AS
535332011-05-20 Andreas Schwab <schwab@redhat.com>
53534
53535 * stdlib/longlong.h: Update from GCC.
53536
f50ef8f1
AS
535372011-05-23 Andreas Schwab <schwab@redhat.com>
53538
53539 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53540 parameter name.
53541 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53542 Add parameter name.
53543 (__sysconf): Pass it down.
53544
de7ce8f1
UD
535452011-05-22 Ulrich Drepper <drepper@gmail.com>
53546
f2962a71
UD
53547 [BZ #12671]
53548 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53549 some situations.
53550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53551 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53552 add in in __libc_use_alloca calls. Adjust callers.
53553 (glob): Use malloc in some situations.
53554
de7ce8f1
UD
53555 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53556 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53557 pltexit.
53558
aec84f53
UD
535592011-05-21 Ulrich Drepper <drepper@gmail.com>
53560
05bb4a68
UD
53561 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53562 and CLOCK_BOOTTIME_ALARM.
53563
7ea72f99
UD
53564 [BZ #12782]
53565 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53566 is returned.
53567
7e4afad5
UD
53568 * string/_strerror.c (__strerror_r): Print negative errors as signed
53569 numbers.
53570
8e211fec
UD
53571 [BZ #12777]
53572 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53573 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53574 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53575
f7d82dc9
UD
53576 * configure.in: Fix typo in redirection and correct removal of test
53577 files in two cases.
53578
cc9e536d
UD
53579 [BZ #12788]
53580 * locale/setlocale.c (new_composite_name): Fix test to check for
53581 identical name of all categories.
53582
aec84f53
UD
53583 [BZ #12792]
53584 * libio/filedoalloc.c (local_isatty): New function.
53585 (_IO_file_doallocate): Use local_isatty.
53586 * stdio-common/perror.c (perror): In case a new stream is used
53587 forward the stream error.
53588 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53589 error flag.
53590
78e64fdc
RT
535912011-05-20 Ulrich Drepper <drepper@gmail.com>
53592
34a9094f
UD
53593 [BZ #11869]
53594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53595 alloca.
53596 * include/alloca.h (extend_alloca_account): Define.
53597
78e64fdc
RT
53598 [BZ #11857]
53599 * posix/regex.h: Fix comments with documentation of user-accessible
53600 fields after compilation and describe correct free'ing of pattern
53601 after re_compile_pattern.
53602 Patch by Reuben Thomas <rrt@sc3d.org>.
53603
457bddfc
RA
536042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53605
53606 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53607 and -mno-altivec to prevent the compiler from using Altivec and/or
53608 VSX instructions when the corresponding registers are not available.
53609
a4527b51
AS
536102011-05-19 Andreas Schwab <schwab@redhat.com>
53611
53612 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53613
ed690b2f
UD
536142011-05-19 Ulrich Drepper <drepper@gmail.com>
53615
53616 * libio/freopen.c (freopen): Use __dup2, not dup2.
53617 * libio/freopen64.c (freopen64): Likewise.
53618
8db73634
L
536192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53620
53621 [BZ #12775]
53622 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53623 * math/Makefile (tests): Add test-powl.
53624 (CFLAGS-test-powl.c): Define.
53625 * math/test-powl.c: New file.
53626
0a197a9d
L
536272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53628
53629 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53630
ee30c380
UD
536312011-05-17 Ulrich Drepper <drepper@gmail.com>
53632
53633 [BZ #11837]
53634 * iconvdata/gb18030.c: Update to GB18020-2005.
53635
6ce75379
UD
536362011-05-16 Ulrich Drepper <drepper@gmail.com>
53637
a4b89fd8
AR
53638 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53639 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53640 Patch by Aharon Robbins <arnold@skeeve.com>.
53641
ea389b12
UD
53642 [BZ #11892]
53643 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53644 on the stack.
53645
68a3f91f
UD
53646 [BZ #11895]
53647 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53648 through underflows.
53649
15cc7dd1
UD
53650 [BZ #12766]
53651 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53652 point to strings before performing equality test for error_one_per_line
53653 mode.
53654
f3799213
UD
53655 [BZ #11697]
53656 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53657
d79a9c94
UD
53658 [BZ #11820]
53659 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53660 (struct user_fpregs_struct): Avoid __uint*_t types.
53661
56e5eb46
UD
53662 [BZ #6420]
53663 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53664 symbol info. Use it instead of calling _dl_addr locally.
53665 (lock_and_info): New function.
53666 (tr_freehook): Call lock_and_info and pass symbol info as additional
53667 parameter to tr_where.
53668 (tr_mallochook): Likewise.
53669 (tr_reallochook): Likewise.
53670 (tr_memalignhook): Likewise.
53671
6ce75379
UD
53672 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53673 used and couldn't be at all thread-safe.
53674
f8a3b5bf
UD
536752011-05-15 Ulrich Drepper <drepper@gmail.com>
53676
94b7cc37
UD
53677 * libio/freopen.c (freopen): Don't close old file descriptor
53678 before the new one is opened. Instead dup the new file descriptor
53679 to the old one after the new stream is created.
53680 * libio/freopen64.c (freopen64): Likewise.
53681 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53682 * libio/fileops.c (_IO_new_file_close_it): Handle new
53683 _IO_FLAGS2_NOCLOSE flag.
53684 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53685 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53686 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53687 _IO_FLAGS2_NOCLOSE flag.
53688 * include/unistd.h: Add hidden_proto for dup3.
53689 Define __have_dup3.
53690 * io/dup3.c: Define hidden symbol.
53691 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53692
bd25564e
UD
53693 [BZ #7101]
53694 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53695 when an incomplete long option is used.
53696 * posix/tst-getopt_long1.c: New file.
53697 * posix/Makefile (tests): Add tst-getopt_long1.
53698
c84cfef4
UD
53699 [BZ #10138]
53700 * scripts/config.guess: Update from autoconf-2.68.
53701 * scripts/config.sub: Likewise.
53702
3b85df27
UD
53703 [BZ #10157]
53704 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53705 tests into ...
53706 (has_cpuclock): ...this. New function.
53707 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53708 macro here based on has_cpuclock code.
53709
15a856b1
UD
53710 [BZ #10149]
53711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53712 First byte (not low byte) is now always NUL.
53713 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53714
05f399e6
UD
53715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53716 Use non-cancelable interfaces.
53717
10a52685 53718 [BZ #9809]
94ecc67d
UD
53719 * locale/iso-639.def: Add entry for Sorani.
53720
f8a3b5bf
UD
53721 [BZ #11901]
53722 * include/stdlib.h: Move include protection to the right place.
53723 Define abort_msg_s. Declare __abort_msg with it.
53724 * stdlib/abort.c (__abort_msg): Adjust type.
53725 * assert/assert.c (__assert_fail_base): New function. Majority
53726 of code from __assert_fail. Allocate memory for __abort_msg with
53727 mmap.
53728 (__assert_fail): Now call __assert_fail_base.
53729 * assert/assert-perr.c: Remove bulk of implementation. Use
53730 __assert_fail_base.
53731 * include/assert.hL Declare __assert_fail_base.
53732 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53733 mmap.
53734 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53735
1af4e298
UD
537362011-05-14 Ulrich Drepper <drepper@gmail.com>
53737
f8a3b5bf 53738 [BZ #11952]
d26dfc60
MG
53739 [BZ #12453]
53740 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53741 until all modules are registered in the DTV.
53742 * elf/Makefile: Add rules to build and run tst-tls19.
53743 * elf/tst-tls19.c: New file.
53744 * elf/tst-tls19mod1.c: New file.
53745 * elf/tst-tls19mod2.c: New file.
53746 * elf/tst-tls19mod3.c: New file.
53747 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53748
2fc54d6f
UD
53749 [BZ #12083]
53750 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53751 correctly.
53752
98d76b46
UD
53753 [BZ #12601]
53754 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53755 two-byte sequence errors.
53756 * iconvdata/Makefile (tests): Add bug-iconv8.
53757 * iconvdata/bug-iconv8.c: New file.
53758
da3c19ef
UD
53759 [BZ #12626]
53760 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53761 buf2 definition.
53762
ca408c15
UD
53763 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53764
d6f67f7d
UD
53765 [BZ #12432]
53766 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53767 (dummy_getcfa): New function.
53768 (init): Get _Unwind_GetCFA address, use dummy if not found.
53769 (backtrace_helper): In recursion check, also check whether CFA changes.
53770 (__backtrace): Completely initialize arg.
53771
1af4e298 53772 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53773 storing incomplete byte sequence in state object. Avoid testing for
53774 guaranteed too small input if we know there is enough data available.
1af4e298 53775
da62f81b
AS
537762011-05-11 Andreas Schwab <schwab@redhat.com>
53777
53778 * Makeconfig (+link-pie): Indent.
53779 * Rules (binaries-pie): Define if $(have-fpie) and
53780 $(build-shared).
53781 (binaries-shared): Also filter out $(binaries-pie).
53782 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53783 * nscd/Makefile (others-pie): Add nscd.
53784 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53785 ($(objpfx)nscd): Remove command override.
53786 * login/Makefile (others-pie): Add pt_chown.
53787 ($(objpfx)pt_chown): Remove command override.
53788 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53789 remove command overrides.
53790
fcabc0f8
UD
537912011-05-13 Ulrich Drepper <drepper@gmail.com>
53792
20030ae6
UD
53793 * libio/tst_putwc.c: Fix error messages.
53794
fcabc0f8
UD
53795 [BZ #12724]
53796 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53797 currently writing and seek to current position when not.
53798 * libio/Makefile (tests): Add bug-fclose1.
53799 * libio/bug-fclose1.c: New file.
53800
320a5dc0
PB
538012011-05-12 Ulrich Drepper <drepper@gmail.com>
53802
53803 [BZ #12511]
53804 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53805 don't set DF_1_NODELETE here.
53806 (do_lookup_x): When entering new entry test for copy relocation
53807 and if necessary set DF_1_NODELETE flag.
53808 * elf/tst-unique4.cc: New file.
53809 * elf/tst-unique4.h: New file.
53810 * elf/tst-unique4lib.cc: New file.
53811 * elf/Makefile: Add rules to build and run tst-unique4.
53812 Patch by Piotr Bury <pbury@goahead.com>.
53813
22836f52
UD
538142011-05-11 Ulrich Drepper <drepper@gmail.com>
53815
f574184a
UD
53816 [BZ #12052]
53817 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53818
e1fb097f
UD
53819 [BZ #12625]
53820 * misc/mntent_r.c (addmntent): Flush the stream after the output
53821
22836f52
UD
53822 [BZ #12393]
53823 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53824 (is_trusted_path_normalize): Skip initial colon. Append slash
53825 to empty buffer. Duplicate is_trusted_path code but allow
53826 constructed patch to be prefix.
53827 (is_dst): Allow $ORIGIN followed by /.
53828 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53829 Correct testing of result of is_trusted_path_normalize
53830 (decompose_rpath): Fix warning.
53831
7b3b0b2a
UD
538322011-05-10 Ulrich Drepper <drepper@gmail.com>
53833
53834 [BZ #11257]
53835 * grp/initgroups.c (internal_getgrouplist): When we found the service
53836 list through the initgroups entry in nsswitch.conf do not always
53837 continue on a successful lookup. Don't always use the
eac80ce2 53838 __nss_group_database value if it is set.
7b3b0b2a
UD
53839 * nss/nsswitch.conf (initgroups): Change action for successful db
53840 lookup to continue for compatibility.
53841
2a81eaa5
UD
538422011-05-09 Ulrich Drepper <drepper@gmail.com>
53843
be97a69e
UD
53844 [BZ #11532]
53845 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53846 and CP774 modules.
53847 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53848 and CP774 modules.
53849 * iconvdata/tst-tables.sh: Likewise.
53850 * iconvdata/cp770.c: New file.
53851 * iconvdata/cp771.c: New file.
53852 * iconvdata/cp772.c: New file.
53853 * iconvdata/cp773.c: New file.
53854 * iconvdata/cp774.c: New file.
53855 * iconvdata/testdata/CP770: New file.
53856 * iconvdata/testdata/CP770..UTF8: New file.
53857 * iconvdata/testdata/CP771: New file.
53858 * iconvdata/testdata/CP771..UTF8: New file.
53859 * iconvdata/testdata/CP772: New file.
53860 * iconvdata/testdata/CP772..UTF8: New file.
53861 * iconvdata/testdata/CP773: New file.
53862 * iconvdata/testdata/CP773..UTF8: New file.
53863 * iconvdata/testdata/CP774: New file.
53864 * iconvdata/testdata/CP774..UTF8: New file.
53865
53866 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53867 END CHARMAP line.
53868 * iconvdata/gen-8bit-gap.sh: Likewise.
53869 * iconvdata/gen-8bit.sh: Likewise.
53870
c1e9e399
UD
53871 * locale/iso-639.def: Add ary entry.
53872
24c55fb3 53873 [BZ #11258]
96b4b1b0
UD
53874 * locale/C-translit.h.in: Add U20A1 transliteration.
53875
bdc2f971
KB
53876 [BZ #12178]
53877 * locale/iso-639.def: Add wae entry.
53878 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53879
2952b117
UD
53880 [BZ #12545]
53881 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53882 for n.
53883
2a81eaa5
UD
53884 [BZ #12711]
53885 * locale/C-translit.h.in: Add entry for U20B9.
53886 Patch by pravin.d.s@gmail.com.
53887
28377d1b
UD
538882011-05-08 Ulrich Drepper <drepper@gmail.com>
53889
7fb90fb8
UD
53890 [BZ #12713]
53891 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53892 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53893 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53894 in rtld. Use *stat64.
7fb90fb8 53895 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53896 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53897 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53898 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53899 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53900 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53901 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53902 __fstatat64 macros.
7fb90fb8
UD
53903 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53904 * dirent/rewinddir.c: Add libc_hidden_def.
53905 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53906 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53907
28377d1b
UD
53908 * include/dirent.h (__alloc_dir): Add flags parameter.
53909 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53910 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53911 __alloc_dir.
53912 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53913 from fdopendir if O_CLOEXEC is already set.
53914
66bdbaa4
AM
539152011-03-15 Alan Modra <amodra@gmail.com>
53916
53917 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53918 l_tls_firstbyte_offset non-zero. Save padding offset in
53919 l_tls_firstbyte_offset for later use.
53920 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53921 freeing static tls block.
53922
95721191
JN
539232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53924
53925 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53926 where #ifdef was intended. The intent is to prevent ARG_MAX from
53927 being defined by the kernel headers.
53928
f87dfb1f
UD
539292011-05-07 Ulrich Drepper <drepper@gmail.com>
53930
53931 [BZ #12734]
53932 * resolv/resolv.h: Define RES_NOTLDQUERY.
53933 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53934 no-tld-query and set RES_NOTLDQUERY.
53935 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53936 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53937 modern BIND to search name as TLD unless forbidden.
53938
47c3cd7a
UD
539392011-05-07 Petr Baudis <pasky@suse.cz>
53940 Ulrich Drepper <drepper@gmail.com>
53941
53942 [BZ #12393]
53943 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53944 (is_trusted_path): ...to here.
c1e9ea35 53945 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53946 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53947 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53948
8a35c912
PP
539492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53950
53951 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53952 __BEGIN/__END_DECLS.
53953
acd41f47
UD
539542011-05-06 Ulrich Drepper <drepper@gmail.com>
53955
53956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53957 NSS_STATUS_NOTFOUND if no record was found.
53958
597df647
AS
539592011-05-05 Andreas Schwab <schwab@redhat.com>
53960
53961 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53962 (headers-not-in-tirpc): Remove rpc/netdb.h
53963 * resolv/netdb.h: Revert last change.
53964
b9af1301
PP
539652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53966
53967 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53968 circular dependency between libgcc.a and libc.a.
53969
4e34d5f5
AS
539702011-05-05 Andreas Schwab <schwab@redhat.com>
53971
53972 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53973 * nis/Makefile: Don't install rpcsvc/*.
53974 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53975 instead of <rpc/types.h>.
53976 (MAXHOSTNAMELEN): Define.
53977
00ee369c
AS
539782011-05-03 Andreas Schwab <schwab@redhat.com>
53979
53980 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53981
0b592a30
MB
539822011-04-28 Maciej Babinski <mbabinski@google.com>
53983
53984 [BZ #12714]
53985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53986 gethostbyname4_r when IPv6 results are possible.
53987
6e04cbbe
UD
539882011-05-02 Ulrich Drepper <drepper@gmail.com>
53989
53990 [BZ #12723]
53991 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53992 _PC_PIPE_BUF handling.
53993
e4ecafe0
BH
539942011-04-30 Bruno Haible <bruno@clisp.org>
53995
53996 [BZ #12717]
53997 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53998 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53999 to 'int'.
54000 * inet/getnameinfo.c (getnameinfo): Likewise.
54001
125ee683
UD
540022011-04-29 Ulrich Drepper <drepper@gmail.com>
54003
54004 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54005 to groups setting in database lookup.
54006 * nss/nsswitch.conf: Add initgroups entry.
54007
b722481a
EB
540082011-04-22 Ulrich Drepper <drepper@gmail.com>
54009
54010 [BZ #12685]
54011 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54012 mode string.
54013 Patch by Eric Blake <eblake@redhat.com>.
54014
4df46dbd
L
540152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54016
54017 * sunrpc/Makefile (need-export-routines): Add svc_run.
54018 (routines): Remove svc_run.
54019 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54020 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54021 * sunrpc/svc_run.c (svc_run): Likewise.
54022 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54023
e84142d2
UD
540242011-04-21 Ulrich Drepper <drepper@gmail.com>
54025
54026 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54027 problem in reallocation in last patch.
54028
877175d8
UD
540292011-04-20 Ulrich Drepper <drepper@gmail.com>
54030
54031 * sunrpc/Makefile: Move inclusion of Rules.
54032
ab8eed78
UD
540332011-04-19 Ulrich Drepper <drepper@gmail.com>
54034
54035 * nss/nss_files/files-initgroups.c: New file.
54036 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54037 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54038 _nss_files_initgroups_dyn.
54039
e3d8f584
RS
540402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54041
54042 * elf/elf.h (R_ARM_IRELATIVE): Define.
54043
af190f45
UD
540442011-04-19 Ulrich Drepper <drepper@gmail.com>
54045
54046 * po/ru.po: Update from translation team.
54047
53cf59ef
UD
540482011-04-17 Ulrich Drepper <drepper@gmail.com>
54049
54050 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54051 dependencies.
54052
4c559bcd
MF
540532011-02-06 Mike Frysinger <vapier@gentoo.org>
54054
54055 [BZ #12653]
54056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54057 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54058 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54061
4420675c
AS
540622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54063
54064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54065 differing bytes.
54066 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54067 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54069
75ea32ab
UD
540702011-04-17 Ulrich Drepper <drepper@gmail.com>
54071
54072 [BZ #12420]
54073 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54074 storing it.
54075 * stdlib/bug-getcontext.c: New file.
54076 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54077
27390476
AK
540782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54079
54080 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54081 instructions into .machine "z9-109".
54082 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54083 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54084
10442705
AK
540852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54086
54087 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54088 between environment variables and auxiliary vector.
54089
7b57bfe5
UD
540902011-04-16 Ulrich Drepper <drepper@gmail.com>
54091
54092 * Makefile: Add rules to build linkobj/libc.so.
54093 * include/libc-symbols.h: Define libc_hidden_nolink.
54094 * include/rpc/auth.h: Mark functions which are to be hidden.
54095 * include/rpc/auth_des.h: Likewise.
54096 * include/rpc/auth_unix.h: Likewise.
54097 * include/rpc/clnt.h: Likewise.
54098 * include/rpc/des_crypt.h: Likewise.
54099 * include/rpc/key_prot.h: Likewise.
54100 * include/rpc/pmap_clnt.h: Likewise.
54101 * include/rpc/pmap_prot.h: Likewise.
54102 * include/rpc/pmap_rmt.h: Likewise.
54103 * include/rpc/rpc_msg.h: Likewise.
54104 * include/rpc/svc.h: Likewise.
54105 * include/rpc/svc_auth.h: Likewise.
54106 * include/rpc/xdr.h: Likewise.
54107 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54108 * nss/Makefile: Likewise.
54109 * sunrpc/Makefile: Don't install headers. Build library with normal
54110 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54111 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54112 for the compat linking library. Remove use of INTDEF/INTUSE.
54113 * sunrpc/auth_none.c: Likewise.
54114 * sunrpc/auth_unix.c: Likewise.
54115 * sunrpc/authdes_prot.c: Likewise.
54116 * sunrpc/authuxprot.c: Likewise.
54117 * sunrpc/clnt_gen.c: Likewise.
54118 * sunrpc/clnt_perr.c: Likewise.
54119 * sunrpc/clnt_raw.c: Likewise.
54120 * sunrpc/clnt_simp.c: Likewise.
54121 * sunrpc/clnt_tcp.c: Likewise.
54122 * sunrpc/clnt_udp.c: Likewise.
54123 * sunrpc/clnt_unix.c: Likewise.
54124 * sunrpc/des_crypt.c: Likewise.
54125 * sunrpc/des_soft.c: Likewise.
54126 * sunrpc/get_myaddr.c: Likewise.
54127 * sunrpc/key_call.c: Likewise.
54128 * sunrpc/key_prot.c: Likewise.
54129 * sunrpc/netname.c: Likewise.
54130 * sunrpc/pm_getmaps.c: Likewise.
54131 * sunrpc/pm_getport.c: Likewise.
54132 * sunrpc/pmap_clnt.c: Likewise.
54133 * sunrpc/pmap_prot.c: Likewise.
54134 * sunrpc/pmap_prot2.c: Likewise.
54135 * sunrpc/pmap_rmt.c: Likewise.
54136 * sunrpc/publickey.c: Likewise.
54137 * sunrpc/rpc_cmsg.c: Likewise.
54138 * sunrpc/rpc_common.c: Likewise.
54139 * sunrpc/rpc_dtable.c: Likewise.
54140 * sunrpc/rpc_prot.c: Likewise.
54141 * sunrpc/rpc_thread.c: Likewise.
54142 * sunrpc/rtime.c: Likewise.
54143 * sunrpc/svc.c: Likewise.
54144 * sunrpc/svc_auth.c: Likewise.
54145 * sunrpc/svc_authux.c: Likewise.
54146 * sunrpc/svc_raw.c: Likewise.
54147 * sunrpc/svc_run.c: Likewise.
54148 * sunrpc/svc_simple.c: Likewise.
54149 * sunrpc/svc_tcp.c: Likewise.
54150 * sunrpc/svc_udp.c: Likewise.
54151 * sunrpc/svc_unix.c: Likewise.
54152 * sunrpc/svcauth_des.c: Likewise.
54153 * sunrpc/xcrypt.c: Likewise.
54154 * sunrpc/xdr.c: Likewise.
54155 * sunrpc/xdr_array.c: Likewise.
54156 * sunrpc/xdr_float.c: Likewise.
54157 * sunrpc/xdr_intXX_t.c: Likewise.
54158 * sunrpc/xdr_mem.c: Likewise.
54159 * sunrpc/xdr_rec.c: Likewise.
54160 * sunrpc/xdr_ref.c: Likewise.
54161 * sunrpc/xdr_sizeof.c: Likewise.
54162 * sunrpc/xdr_stdio.c: Likewise.
54163
e6c61494
UD
541642011-04-10 Ulrich Drepper <drepper@gmail.com>
54165
54166 [BZ #12650]
54167 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54168 * sysdeps/ia64/dl-tls.h: Likewise.
54169 * sysdeps/powerpc/dl-tls.h: Likewise.
54170 * sysdeps/s390/dl-tls.h: Likewise.
54171 * sysdeps/sh/dl-tls.h: Likewise.
54172 * sysdeps/sparc/dl-tls.h: Likewise.
54173 * sysdeps/x86_64/dl-tls.h: Likewise.
54174 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54175
34fe483e
AS
541762011-03-14 Andreas Schwab <schwab@redhat.com>
54177
54178 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54179 rpath element also skip the following colon.
54180 (expand_dynamic_string_token): Add is_path parameter and pass
54181 down to DL_DST_REQUIRED and _dl_dst_substitute.
54182 (decompose_rpath): Call expand_dynamic_string_token with
54183 non-zero is_path. Ignore empty rpaths.
54184 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54185 with zero is_path.
54186
f12a32e6
AS
541872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54188
54189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54190 Make cancelable.
54191
38a7d692
UD
541922011-04-09 Ulrich Drepper <drepper@gmail.com>
54193
54194 [BZ #12655]
54195 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54196 Patch by Filipe David Manana <fdmanana@apache.org>.
54197
e451d22b
AS
541982011-04-07 Andreas Schwab <schwab@redhat.com>
54199
54200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54201 Maintain aligned stack.
54202 (CHECK_RSP): Remove unused macro.
54203
dedc7c7b
UD
542042011-04-03 Ulrich Drepper <drepper@gmail.com>
54205
54206 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54207 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54208
94521213
UD
542092011-04-02 Ulrich Drepper <drepper@gmail.com>
54210
54211 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54212
8cb700c0 54213 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54214
0354e355
L
542152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54216
54217 [BZ #12518]
54218 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54219 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54220 * sysdeps/x86_64/memmove.c: New file.
54221 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54222 (memcpy): Renamed to ...
54223 (__new_memcpy): This.
54224 (memcpy): Provide GLIBC_2_14 memcpy.
54225 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54226 (memcpy): Provide GLIBC_2_2_5 memcpy.
54227
8593482f
UD
542282011-04-01 Ulrich Drepper <drepper@gmail.com>
54229
54230 [BZ #12631]
54231 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54232
81a5726b
AS
542332011-03-30 Andreas Schwab <schwab@redhat.com>
54234
54235 * misc/syncfs.c: New file.
54236 * misc/Makefile (routines): Add syncfs.
54237 * posix/unistd.h: Declare syncfs.
54238 * sysdeps/unix/syscalls.list: Add syncfs.
54239
00e5419f
AS
542402011-04-01 Andreas Schwab <schwab@redhat.com>
54241
54242 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54243 open_by_handle_at.
54244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54249 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54251
748876bf
UD
542522011-04-01 Ulrich Drepper <drepper@gmail.com>
54253
658e451d
UD
54254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54256 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54261
748876bf
UD
54262 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54263 sync_file_range.c with -fexceptions.
54264 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54265 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54266 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54267 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54268 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54269 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54271 sync_file_range as cancellation point
54272 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54273 now a wrapper around __call_sync_file_range with cancellation handling.
54274 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54275 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54276 function name to __call_sync_file_range.
54277 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54278 Add call_sync_file_range.
748876bf 54279
6e63d5e1
AS
542802011-04-01 Andreas Schwab <schwab@redhat.com>
54281
54282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54283 bits/timex.h.
6e63d5e1 54284
46998f74
UD
542852011-04-01 Ulrich Drepper <drepper@gmail.com>
54286
4c1423ed
UD
54287 * iconv/iconv.h: Fix typo in comment.
54288 * io/fcntl.h: Likewise.
54289 * libio/stdio.h: Likewise.
54290 * posix/spawn.h: Likewise.
54291 * posix/unistd.h: Likewise.
54292 * stdlib/stdlib.h: Likewise.
54293 * time/time.h: Likewise.
54294 * wcsmbs/wchar.h: Likewise.
54295
158648c0
UD
54296 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54297 open_by_handle): Add.
54298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54299 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54300 Augment a few comments.
54301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54306 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54307 open_by_handle.
54308
46998f74
UD
54309 * io/fcntl.h (AT_EMPTY_PATH): Define.
54310
83fe108b
UD
543112011-03-30 Ulrich Drepper <drepper@gmail.com>
54312
54313 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54314 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54315 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54316 to...
54317 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54318 * Versions.def: Add GLIBC_2.14.
54319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54320 Export.
83fe108b 54321
bb242059
UD
543222011-03-22 Ulrich Drepper <drepper@gmail.com>
54323
54324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54325 round counter.
54326 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54327
c97a1282
L
543282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54329
54330 [BZ #12597]
54331 * string/test-strncmp.c (do_page_test): New function.
54332 (check2): Likewise.
54333 (test_main): Call check2.
54334 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54335
2a115601
UD
543362011-03-20 Ulrich Drepper <drepper@gmail.com>
54337
54338 [BZ #12587]
54339 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54340 Handle cache information in CPU leaf 4.
54341 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54342
8126d904
UD
543432011-03-18 Ulrich Drepper <drepper@gmail.com>
54344
042c49c6 54345 [BZ #12583]
8126d904
UD
54346 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54347 character representation.
54348 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54349
ccfe366e
RA
543502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54351
54352 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54353 END(__isnan) to END(__isnanf) to match function entry point/label
54354 EALIGN(__isnanf,...).
54355
c6e13027
JJ
543562011-03-10 Jakub Jelinek <jakub@redhat.com>
54357
54358 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54359
33f85a3f
UD
543602011-03-10 Ulrich Drepper <drepper@gmail.com>
54361
028478fa
UD
54362 [BZ #12510]
54363 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54364 copy from the symbol referenced in the relocation to initialize the
54365 used variable.
54366 Patch by Piotr Bury <pbury@goahead.com>.
54367 * elf/Makefile: Add rules to build and tst-unique3.
54368 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54369 * elf/tst-unique3.cc: New file.
54370 * elf/tst-unique3.h: New file.
54371 * elf/tst-unique3lib.cc: New file.
54372 * elf/tst-unique3lib2.cc: New file.
54373
33f85a3f
UD
54374 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54375
03592fc7
MF
543762011-03-10 Mike Frysinger <vapier@gentoo.org>
54377
54378 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54379 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54380 to _start.
03592fc7 54381
6a5ee102
UD
543822011-03-06 Ulrich Drepper <drepper@gmail.com>
54383
54384 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54385 to-be-loaded object along a path to loader is ld.so.
54386
7e4ba49c
HJ
543872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54388 Ulrich Drepper <drepper@gmail.com>
54389
54390 * sysdeps/x86_64/memset.S: After aligning destination, code
54391 branches to different locations depending on the value of
54392 misalignment, when multiarch is enabled. Fix this.
54393
543942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54395
54396 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54397 Set _x86_64_preferred_memory_instruction for AMD processsors.
54398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54399 Set bit_Prefer_SSE_for_memop for AMD processors.
54400
13a804de
UD
544012011-03-04 Ulrich Drepper <drepper@gmail.com>
54402
54403 * libio/fmemopen.c (fmemopen): Optimize a bit.
54404
9d25c392
AS
544052011-03-03 Andreas Schwab <schwab@redhat.com>
54406
54407 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54408
a5543c6a
RM
544092011-03-03 Roland McGrath <roland@redhat.com>
54410
54411 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54412
012d35f7
DM
544132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54414
7e4ba49c 54415 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54416 __bzero_ultra1 instead of __memset_ultra1.
54417
4bff6e01
AS
544182011-02-23 Andreas Schwab <schwab@redhat.com>
54419 Ulrich Drepper <drepper@gmail.com>
54420
54421 [BZ #12509]
54422 * include/link.h (struct link_map): Add l_orig_initfini.
54423 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54424 returning unsuccessfully.
54425 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54426 close of a file loaded at startup, restore the original l_initfini
54427 list.
54428 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54429 list, store the pointer.
54430 * elf/Makefile ($(objpfx)noload-mem): New rule.
54431 (noload-ENV): Define.
54432 (tests): Add $(objpfx)noload-mem.
54433 * elf/noload.c: Include <memcheck.h>.
54434 (main): Call mtrace. Close all opened handles.
54435
f2092faf
AS
544362011-02-17 Andreas Schwab <schwab@redhat.com>
54437
54438 [BZ #12454]
54439 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54440 dependencies are missing.
54441
6c8a2e88
ST
544422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54443
f2092faf 54444 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54445 Hurd needs munmap.
54446 * sysdeps/mach/hurd/ifreq.h: New file.
54447
84a42118
PB
544482011-01-27 Petr Baudis <pasky@suse.cz>
54449 Ulrich Drepper <drepper@gmail.com>
54450
071f805e 54451 [BZ 12445]#
84a42118
PB
54452 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54453 to extend_alloca().
54454 * stdio-common/bug23.c: New file.
54455 * stdio-common/Makefile (tests): Add bug23.
54456
e23fe25b
AS
544572010-09-28 Andreas Schwab <schwab@redhat.com>
54458 Ulrich Drepper <drepper@gmail.com>
54459
54460 [BZ #12489]
54461 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54462 before performing relro protection. At old place add assertion
54463 to make sure nothing changed.
54464
d3f02e10
NS
544652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54466 Glauber de Oliveira Costa <glommer@gmail.com>
54467
54468 * elf/elf.h: Add new ARM TLS relocs.
54469
d55fd7a5
RA
544702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54471
54472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54473 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54474 cast from r3.
54475 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54476 'tests' variable.
54477 * sysdeps/wordsize-64/tst-writev.c: New file.
54478
2206397e
RA
544792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54480
54481 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54482 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54483 insns in _dl_start to prevent a TOC reference before relocs are
54484 resolved.
54485
e9433893
UD
544862011-02-15 Ulrich Drepper <drepper@gmail.com>
54487
54488 [BZ #12469]
54489 * Makeconfig: Remove RANLIB definition.
54490 * Makerules: Don't use RANLIB.
54491 * aclocal.m4: Remove ranlib test.
54492 * configure.in: No need to check for ranlib.
54493 * elf/rtld-Rules: Don't use RANLIB.
54494
f75286c6
ST
544952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54496
8e31c82d
ST
54497 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54498 protection macro.
54499 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54500 inclusion protection macro.
54501
f75286c6
ST
54502 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54503 SIGRTMIN and SIGRTMAX and print information in that case only when
54504 SIGRTMIN is defined.
54505
c1d0e639
JJ
545062011-02-11 Jakub Jelinek <jakub@redhat.com>
54507
54508 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54509 arginfo fn returning -1.
54510
54511 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54512 and thousands string is zero terminated.
54513
edf9294e
AS
545142011-02-03 Andreas Schwab <schwab@redhat.com>
54515
54516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54517 sysdeps/unix/sysv/linux/bits/socket.h.
54518
2b7e92df
ST
545192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54520
edf9294e
AS
54521 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54522 (__CPU_COUNT): Remove old macros.
54523 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54524 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54525 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54526 (__sched_cpualloc, __sched_cpufree): Add declarations.
54527
a4c7ea7b
UD
545282011-02-05 Ulrich Drepper <drepper@gmail.com>
54529
54530 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54531 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54532 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54533 (readdhstai): Return value of addhstaiX call.
54534 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54535 (addgrbyX): Return value returned by cache_addgr.
54536 (readdgrbyname): Return value returned by addgrbyX.
54537 (readdgrbygid): Likewise.
54538 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54539 (addpwbyX): Return value returned by cache_addpw.
54540 (readdpwbyname): Return value returned by addhstbyX.
54541 (readdpwbyuid): Likewise.
54542 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54543 (addservbyX): Return value returned by cache_addserv.
54544 (readdservbyname): Return value returned by addservbyX:
54545 (readdservbyport): Likewise.
54546 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54547 (addhstbyX): Return value returned by cache_addhst.
54548 (readdhstbyname): Return value returned by addhstbyX.
54549 (readdhstbyaddr): Likewise.
54550 (readdhstbynamev6): Likewise.
54551 (readdhstbyaddrv6): Likewise.
54552 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54553 (readdinitgroups): Return value returned by addinitgroupsX.
54554 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54555 (prune_cache): Keep track of timeout value of re-added entries.
54556 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54557 * nscd/nscd.h: Adjust prototypes of readd* functions.
54558
a0bf67cc
RM
545592011-02-04 Roland McGrath <roland@redhat.com>
54560
54561 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54562 (nis_stats): Likewise.
54563 * nis/nis_modify.c (nis_modify): Likewise.
54564 * nis/nis_remove.c (nis_remove): Likewise.
54565 * nis/nis_add.c (nis_add): Likewise.
54566
54567 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54568
54569 * posix/fnmatch_loop.c: Add some consts.
54570
54571 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54572
435b95eb
L
545732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54574
54575 [BZ #12460]
54576 * config.make.in (config-cflags-novzeroupper): Define.
54577 * configure.in: Substitute libc_cv_cc_novzeroupper.
54578 * elf/Makefile (AVX-CFLAGS): Define.
54579 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54580 (CFLAGS-tst-auditmod4a.c): Likewise.
54581 (CFLAGS-tst-auditmod4b.c): Likewise.
54582 (CFLAGS-tst-auditmod6b.c): Likewise.
54583 (CFLAGS-tst-auditmod6c.c): Likewise.
54584 (CFLAGS-tst-auditmod7b.c): Likewise.
54585 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54586
8517b15e
UD
545872011-02-02 Ulrich Drepper <drepper@gmail.com>
54588
54589 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54590 function to the callback.
54591 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54592
10a656fe
AS
545932011-02-02 Andreas Schwab <schwab@redhat.com>
54594
54595 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54596 of errno.
54597
968dad0a
UD
545982011-01-19 Ulrich Drepper <drepper@gmail.com>
54599
9f94d2ea 54600 [BZ #11724]
968dad0a
UD
54601 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54602 of constructors.
54603 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54604 of destructors.
54605 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54606
54607 [BZ #11724]
54608 * elf/Makefile: Add rules to build and run new test.
54609 * elf/tst-initorder.c: New file.
54610 * elf/tst-initorder.exp: New file.
54611 * elf/tst-initordera1.c: New file.
54612 * elf/tst-initordera2.c: New file.
54613 * elf/tst-initordera3.c: New file.
54614 * elf/tst-initordera4.c: New file.
54615 * elf/tst-initorderb1.c: New file.
54616 * elf/tst-initorderb2.c: New file.
54617 * elf/tst-order-a1.c: New file.
54618 * elf/tst-order-a2.c: New file.
54619 * elf/tst-order-a3.c: New file.
54620 * elf/tst-order-a4.c: New file.
54621 * elf/tst-order-b1.c: New file.
54622 * elf/tst-order-b2.c: New file.
54623 * elf/tst-order-main.c: New file.
54624 New test case by George Gensure <werkt0@gmail.com>.
54625
86e92359
UD
546262010-10-01 Andreas Schwab <schwab@redhat.com>
54627
54628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54629 decoding ACE if AI_CANONIDN.
54630
5d5732b0
UD
546312011-01-18 Ulrich Drepper <drepper@gmail.com>
54632
54633 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54634
a77e8cbc
UD
546352011-01-17 Ulrich Drepper <drepper@gmail.com>
54636
6392473f
UD
54637 * version.h (RELEASE): Bump for 2.13 release.
54638 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54639
620a0529
UD
54640 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54641
18ba70a5
UD
54642 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54643 MADV_NOHUGEPAGE.
32465c3e
UD
54644 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54646 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54647 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54650
c0dafcf1
UD
54651 * posix/getconf.c: Update copyright year.
54652 * catgets/gencat.c: Likewise.
54653 * csu/version.c: Likewise.
54654 * debug/catchsegv.sh: Likewise.
54655 * debug/xtrace.sh: Likewise.
54656 * elf/ldconfig.c: Likewise.
54657 * elf/ldd.bash.in: Likewise.
54658 * elf/sprof.c (print_version): Likewise.
54659 * iconv/iconv_prog.c: Likewise.
54660 * iconv/iconvconfig.c: Likewise.
54661 * locale/programs/locale.c: Likewise.
54662 * locale/programs/localedef.c: Likewise.
54663 * malloc/memusage.sh: Likewise.
54664 * malloc/mtrace.pl: Likewise.
54665 * nscd/nscd.c (print_version): Likewise.
54666 * nss/getent.c: Likewise.
54667
a77e8cbc
UD
54668 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54669 PF_CAIF, and PF_ALG.
54670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54671
77e8bddf
AS
546722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54673
1f20b93a
AS
54674 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54675 (modules-names): Use them.
54676 (ifunc-test-modules, ifunc-pie-tests): Define.
54677 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54678 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54679 (test-extras): Likewise.
54680 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54681 $(compile-command.c).
54682 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54683 (all-built-dso): Define.
54684 (check-textrel.out, check-execstack.out): Depend on it.
54685
77e8bddf
AS
54686 * configure.in: Don't override --enable-multi-arch.
54687
bc425b33
UD
546882011-01-15 Ulrich Drepper <drepper@gmail.com>
54689
54690 [BZ #6812]
54691 * nscd/hstcache.c (tryagain): Define.
54692 (cache_addhst): Return tryagain not notfound for temporary errors.
54693 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54694 failed.
54695
794c3ad3
UD
546962011-01-14 Ulrich Drepper <drepper@gmail.com>
54697
70181fdd
UD
54698 [BZ #10563]
54699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54700 to make the syscall.
54701 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54702
794c3ad3
UD
54703 [BZ #12378]
54704 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54705 and fall back to matching as normal character if the string ends before
54706 the matching ']' is found. This is what POSIX requires.
54707 * posix/testfnm.c: Adjust test result.
54708 * posix/globtest.sh: Adjust test result. Add new test.
54709 * posix/tst-fnmatch.input: Likewise.
54710 * posix/tst-fnmatch2.c: Add new test.
54711
68dc9497
AS
547122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54713
54714 * elf/Makefile (check-execstack): Revert last change. Depend on
54715 check-execstack.h.
54716 (check-execstack.h): New target.
54717 (generated): Add check-execstack.h.
54718 * elf/check-execstack.c: Include "check-execstack.h".
54719 (main): Revert last change.
54720 (handle_file): Return zero if GNU_STACK is absent and
54721 DEFAULT_STACK_PERMS doesn't include PF_X.
54722
451f001b
UD
547232011-01-13 Ulrich Drepper <drepper@gmail.com>
54724
cfa28e56
UD
54725 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54726 in child fails because the descriptor is already closed.
8cf8ce17
UD
54727 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54728 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54729 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54730
1086d70d
UD
54731 [BZ #12397]
54732 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54733 syscall.
54734
451f001b
UD
54735 [BZ #10484]
54736 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54737 temporary buffer used to handle multi lookups locally.
a85b5cb4 54738 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54739
08769175
UD
547402011-01-12 Ulrich Drepper <drepper@gmail.com>
54741
54742 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54743 loader is ld.so.
54744
5e49c52e
UD
547452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54746
54747 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54748 alignment for SSE2.
54749
60522a5f
UD
547502011-01-12 Ulrich Drepper <drepper@gmail.com>
54751
54752 [BZ #12394]
54753 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54754 characters. When rounding increased number of integer digits recompute
54755 number of groups.
54756 * stdio-common/tst-grouping.c: New file.
54757 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54758
f257bbd7
UD
547592011-01-09 Ulrich Drepper <drepper@gmail.com>
54760
54761 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54762 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54763
54764 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54765 void.
54766 * bits/select.h: Likewise.
54767
fa9c15cb
UD
547682011-01-08 Ulrich Drepper <drepper@gmail.com>
54769
54770 * po/ja.po: Update from translation team.
54771
16c2895f
DM
547722011-01-04 David S. Miller <davem@sunset.davemloft.net>
54773
54774 [BZ #11155]
54775 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54776 implementation just like for lxstat, fxstatat, et al.
54777
2543fef2
JM
547782010-12-27 Jim Meyering <meyering@redhat.com>
54779
54780 [BZ #12348]
54781 * posix/regexec.c (build_trtable): Return failure indication upon
54782 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54783
98727dbe
UD
547842010-12-25 Ulrich Drepper <drepper@gmail.com>
54785
5bd6dc5c
UD
54786 [BZ #12201]
54787 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54788 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54789 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54790 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54791
97983464
UD
54792 [BZ #12207]
54793 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54794
98727dbe
UD
54795 [BZ #12204]
54796 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54797 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54798
4a531bb0
L
547992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54800
54801 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54802 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54803 script has SORT_BY_INIT_PRIORITY.
54804 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54805 NO_CTORS_DTORS_SECTIONS is defined.
54806 * elf/soinit.c: Likewise.
54807 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54808 NO_CTORS_DTORS_SECTIONS is defined.
54809 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54810 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54811 * sysdeps/sh/init-first.c: Likewise.
54812 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54813
07eb4b71
UD
548142010-12-24 Ulrich Drepper <drepper@gmail.com>
54815
54816 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54817 always use the slow path.
54818
30950a5f
RA
548192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54820
54821 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54822 similar rule which adds the sysdep directories to the header search in
54823 order to pick up the correct platform stackinfo.h.
54824 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54825 perform test if it is, otherwise return successfully without testing.
54826 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54827 DEFAULT_STACK_PERMS define in stackinfo.h.
54828 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54829 defined in stackinfo.h.
54830 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54831 DEFAULT_STACK_PERMS defined in stackinfo.h.
54832 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54833 * sysdeps/ia64/stackinfo.h: Likewise.
54834 * sysdeps/s390/stackinfo.h: Likewise.
54835 * sysdeps/sh/stackinfo.h: Likewise.
54836 * sysdeps/sparc/stackinfo.h: Likewise.
54837 * sysdeps/x86_64/stackinfo.h: Likewise.
54838 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54839 PF_X for powerpc64. Retain PF_X for powerpc32.
54840
db753e2c
UD
548412010-12-19 Ulrich Drepper <drepper@gmail.com>
54842
14b697f7
UD
54843 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54844 accurately.
db753e2c
UD
54845 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54846 GETDENTS_64BIT_ALIGNED.
54847
28300719
UD
548482010-12-14 Ulrich Drepper <dreper@gmail.com>
54849
14b697f7 54850 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54851
4f197237
AS
548522010-12-10 Andreas Schwab <schwab@redhat.com>
54853
dbb0472f
AS
54854 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54855 _GNU_SOURCE.
54856
4f197237
AS
54857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54858 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54859 Remove __restrict.
54860 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54861 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54862
fb88ac72
UD
548632010-12-09 Ulrich Drepper <drepper@gmail.com>
54864
54865 [BZ #11655]
54866 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54867 are initialized.
54868
42acbb92
JJ
548692010-12-09 Jakub Jelinek <jakub@redhat.com>
54870
54871 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54872
c038d98d
UD
548732010-12-03 Ulrich Drepper <drepper@gmail.com>
54874
54875 * po/it.po: Update from translation team.
54876
3a4a2499
L
548772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54878
54879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54880 unused codes.
54881
1e24cf6e
UD
548822010-11-30 Ulrich Drepper <drepper@gmail.com>
54883
54884 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54885
a7690819
AS
548862010-11-24 Andreas Schwab <schwab@redhat.com>
54887
54888 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54889 specially.
54890 (gaih_getanswer_slice): Likewise.
54891
3bf8d1b1
JJ
548922010-10-20 Jakub Jelinek <jakub@redhat.com>
54893
54894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54895
6db52fbb
PB
548962010-05-31 Petr Baudis <pasky@suse.cz>
54897
54898 [BZ #11149]
54899 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54900 silently even in the chroot mode.
54901
eaca7569
UD
549022010-11-22 Ulrich Drepper <drepper@gmail.com>
54903
54904 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54905 last patch a bit. Pretty printing
54906
3056dcdb
UD
549072010-05-31 Petr Baudis <pasky@suse.cz>
54908
54909 [BZ #10085]
54910 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54911 initialization of skip_initgroups_dyn.
54912
cf7c9078
UD
549132010-11-19 Ulrich Drepper <drepper@gmail.com>
54914
54915 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54917
a1fb5e3e
UD
549182010-11-16 Ulrich Drepper <drepper@gmail.com>
54919
54920 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54921
3540d66b
AS
549222010-11-11 Andreas Schwab <schwab@redhat.com>
54923
54924 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54925 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54926 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54927 ($(objpfx)tst-fnmatch-mem): New rule.
54928 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54929 * posix/tst-fnmatch.c (main): Call mtrace.
54930
13b69574
L
549312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54932
54933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54934 Support Intel processor model 6 and model 0x2c.
54935
da93d214
LM
549362010-11-10 Luis Machado <luisgpm@br.ibm.com>
54937
54938 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54939 signed comparison.
54940
8ca52c6e
L
549412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54942
54943 [BZ #12205]
54944 * string/test-strncasecmp.c (check_result): New function.
54945 (do_one_test): Use it.
54946 (check1): New function.
54947 (test_main): Use it.
54948 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54949 Support strcasecmp and strncasecmp.
54950
69da074d
UD
549512010-11-08 Ulrich Drepper <drepper@gmail.com>
54952
54953 [BZ #12194]
54954 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54956
ff02d528
L
549572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54958
54959 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54960 IFUNC support.
54961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54962 memset-x86-64.
54963 * sysdeps/x86_64/multiarch/bzero.S: New file.
54964 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54965 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54966 * sysdeps/x86_64/multiarch/memset.S: New file.
54967 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54969 Set bit_Prefer_SSE_for_memop for Intel processors.
54970 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54971 Define.
54972 (index_Prefer_SSE_for_memop): Define.
54973 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54974
344d0b54
LM
549752010-11-04 Luis Machado <luisgpm@br.ibm.com>
54976
54977 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54978 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54979
c0dde15b
UD
549802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54981
54982 [BZ #12191]
54983 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54984 (__x86_64_raw_data_cache_size_half): Likewise.
54985 (__x86_64_raw_shared_cache_size): Likewise.
54986 (__x86_64_raw_shared_cache_size_half): Likewise.
54987
54988 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54989 (__x86_64_raw_data_cache_size_half): Likewise.
54990 (__x86_64_raw_shared_cache_size): Likewise.
54991 (__x86_64_raw_shared_cache_size_half): Likewise.
54992 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54993 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54994 and __x86_64_raw_shared_cache_size_half. Round
54995 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54996 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54997 to multiple of 256 bytes.
54998
0e516e0e
MS
549992010-11-03 Ulrich Drepper <drepper@gmail.com>
55000
55001 [BZ #12167]
55002 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55003 of inacessible symlinks. Verify result of symlink before returning it.
55004 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55005 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55006
0e012e87
ER
550072010-10-28 Erich Ritz <erichritz@gmail.com>
55008
55009 * math/math.h (isinf): Fix typo in comment.
55010
de0ff7bc
UD
550112010-11-01 Ulrich Drepper <drepper@gmail.com>
55012
55013 * po/da.po: Update from translation team.
55014
fa41c84d
UD
550152010-10-26 Ulrich Drepper <drepper@gmail.com>
55016
55017 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55018 is added to the list.
55019
f0967738
AK
550202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55021 Ulrich Drepper <drepper@gmail.com>
55022
55023 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55024 the global list here. Move code to...
55025 (_dl_add_to_namespace_list): ...here. New function.
55026 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55027 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55028 * elf/dl-load.c (lose): Don't remove the element from the list.
55029 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55030 (_dl_map_object): Likewise.
55031
550322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55033
55034 [BZ #12159]
55035 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55036 into all bytes of SSE register.
55037 Patch by Richard Li <richardpku@gmail.com>.
55038
f0967738 550392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55040
55041 [BZ #12140]
55042 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55043 perturbing.
55044
d0b9e94f
MB
550452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55046
55047 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55048 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55049 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55050 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55052 submachine.
55053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55054
8e9f92e9
AS
550552010-10-22 Andreas Schwab <schwab@redhat.com>
55056
55057 * include/dlfcn.h (__RTLD_SECURE): Define.
55058 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55059 mode & __RTLD_SECURE instead.
55060 (open_path): Rename preloaded parameter to secure.
55061 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55062 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55063 * elf/dl-deps.c (openaux): Likewise.
55064 * elf/rtld.c (struct map_args): Remove is_preloaded.
55065 (map_doit): Don't use it.
55066 (dl_main): Likewise.
55067 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55068 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55069
bc96fbda
AS
550702010-09-09 Andreas Schwab <schwab@redhat.com>
55071
55072 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55073 (sysd-rules-targets): Remove duplicates.
55074 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55075 rtld-%.$o dependency.
55076
22cd1c9b
AS
550772010-10-18 Andreas Schwab <schwab@redhat.com>
55078
55079 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55080 _dl_map_object do it.
55081
18edac48
UD
550822010-10-19 Ulrich Drepper <drepper@gmail.com>
55083
55084 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55085 fast fma builtins, define the macros in the C99 standard.
55086 (FP_FAST_FMAF): Likewise.
55087 (FP_FAST_FMAL): Likewise.
55088 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55089
55090 * bits/mathdef.h: Update copyright year.
55091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55092
d2050124
MM
550932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55094
55095 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55096 builtins, define the macros in the C99 standard.
55097 (FP_FAST_FMAF): Likewise.
55098 (FP_FAST_FMAL): Likewise.
55099 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55100 multiply/add.
55101 (FP_FAST_FMAF): Likewise.
55102
475facd1
JJ
551032010-10-15 Jakub Jelinek <jakub@redhat.com>
55104
55105 [BZ #3268]
55106 * math/libm-test.inc (fma_test): Some new testcases.
55107 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55108 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55109 y and infinite z. Do multiplication by C already in long double.
55110 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55112 y and infinite z. Do bitwise or of inexact bit into u.d.
55113 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55114 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55115 * sysdeps/i386/fpu/s_fma.S: Removed.
55116 * sysdeps/i386/fpu/s_fmal.S: Removed.
55117
7c08a05c
JJ
551182010-10-16 Jakub Jelinek <jakub@redhat.com>
55119
55120 [BZ #3268]
55121 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55123 computation is not scheduled after fetestexcept. Fix value
55124 of minimum denormal long double.
55125
f3f7372d
JJ
551262010-10-14 Jakub Jelinek <jakub@redhat.com>
55127
55128 [BZ #3268]
55129 * math/libm-test.inc (fma_test): Add some more tests.
55130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55131 correctly.
55132
14d43591
AS
551332010-10-15 Andreas Schwab <schwab@redhat.com>
55134
55135 * scripts/data/localplt-s390-linux-gnu.data: New file.
55136 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55137
5e908464
JJ
551382010-10-13 Jakub Jelinek <jakub@redhat.com>
55139
55140 [BZ #3268]
55141 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55142 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55143 instead of dbl-64.
55144 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55145 inlines.
55146 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55148 if one of x and y is very large and the other is subnormal.
55149 * sysdeps/s390/fpu/s_fmaf.c: New file.
55150 * sysdeps/s390/fpu/s_fma.c: New file.
55151 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55152 * sysdeps/powerpc/fpu/s_fma.S: New file.
55153 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55154 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55155 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55156
551572010-10-12 Jakub Jelinek <jakub@redhat.com>
55158
55159 [BZ #3268]
55160 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55161 fma tests.
55162 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55163 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55164 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55165 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55166 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55167 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55168 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55169
b833d51f
UD
551702010-10-12 Ulrich Drepper <drepper@redhat.com>
55171
55172 [BZ #12078]
55173 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55174 * posix/bug-regex31.input: Add test case.
55175
1751705d
UD
551762010-10-11 Ulrich Drepper <drepper@gmail.com>
55177
e9b9cbf5
UD
55178 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55179 * posix/bug-regex31.input: New file.
55180
55181 [BZ #12078]
55182 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55183 (parse_sub_exp): Fix last change, use postorder.
55184
ef06edbe
UD
55185 * posix/bug-regex31.c: New file.
55186 * posix/Makefile: Add rules to build and run bug-regex31.
55187
a129c80d
UD
55188 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55189
55190 [BZ #12078]
55191 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55192
b76b818e
UD
55193 [BZ #12108]
55194 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55195 to have entries in sys_siglist.
55196
1751705d
UD
55197 [BZ #12093]
55198 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55199 be NULL.
55200
9ff8d36f
JJ
552012010-10-07 Jakub Jelinek <jakub@redhat.com>
55202
55203 [BZ #3268]
55204 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55205 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55206 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55207 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55208 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55209 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55210 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55211 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55212 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55213 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55214 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55215 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55216 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55217 * math/ftestexcept.c (fetestexcept): Likewise.
55218 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55219 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55220 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55221 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55222 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55223 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55224 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55225
af325969
UD
552262010-10-11 Ulrich Drepper <drepper@gmail.com>
55227
c579b202 55228 [BZ #12107]
af325969
UD
55229 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55230 newline.
55231
67a67b95
UD
552322010-10-06 Ulrich Drepper <drepper@gmail.com>
55233
55234 * string/bug-strstr1.c: New file.
55235 * string/Makefile: Add rules to build and run bug-strstr1.
55236
5fb308bc
EB
552372010-10-05 Eric Blake <eblake@redhat.com>
55238
55239 [BZ #12092]
55240 * string/str-two-way.h (two_way_long_needle): Always clear memory
55241 when skipping input due to the shift table.
55242
45db99c7
UD
552432010-10-03 Ulrich Drepper <drepper@gmail.com>
55244
3b111893
UD
55245 [BZ #12005]
55246 * malloc/mcheck.c: Handle large requests.
55247
45db99c7
UD
55248 [BZ #12077]
55249 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55250 for strncmp and strncasecmp.
55251 * string/stratcliff.c: Add tests for strcmp and strncmp.
55252 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55253
cf7a1eb8
NI
552542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55255
55256 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55257 __set_fpscr.
55258
6484ba5e
AJ
552592010-09-30 Andreas Jaeger <aj@suse.de>
55260
55261 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55262 (CGROUP_SUPER_MAGIC): Define.
55263 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55264 Handle btrfs and cgroup file systems.
55265 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55266 Likewise.
55267
91c42559
LM
552682010-09-27 Luis Machado <luisgpm@br.ibm.com>
55269
55270 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55271 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55272
87a97932
AK
552732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55274
55275 [BZ #12067]
55276 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55277 trying to locate the ELF header.
55278
c21cc9bc
AS
552792010-09-27 Andreas Schwab <schwab@redhat.com>
55280
55281 [BZ #11611]
55282 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55283 Mask out sign-bit copies when constructing f_fsid.
55284
315970f6
PB
552852010-09-24 Petr Baudis <pasky@suse.cz>
55286
55287 * debug/stack_chk_fail_local.c: Add missing licence exception.
55288 * debug/warning-nop.c: Likewise.
55289
1ac7a2c7
JM
552902010-09-15 Joseph Myers <joseph@codesourcery.com>
55291
55292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55293 implementing getdents64 using getdents syscall, set d_type if
55294 __ASSUME_GETDENTS32_D_TYPE.
55295
56801c50
AS
552962010-09-16 Andreas Schwab <schwab@redhat.com>
55297
55298 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55299 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55300
dda51327
UD
553012010-09-21 Ulrich Drepper <drepper@redhat.com>
55302
55303 [BZ #12037]
55304 * posix/unistd.h: Undo change of feature selection for ftruncate from
55305 2010-01-11.
55306
8ffcee4a
UD
553072010-09-20 Ulrich Drepper <drepper@redhat.com>
55308
a545ecd9 55309 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55310 detection.
55311
e24f0a8b
AS
553122010-09-20 Andreas Schwab <schwab@redhat.com>
55313
55314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55315 fanotify_mark.
55316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55317
7291c56f
AS
553182010-09-14 Andreas Schwab <schwab@redhat.com>
55319
55320 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55321 variables after CHECK_SP call.
55322 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55323
bc5fb037
AS
553242010-09-13 Andreas Schwab <schwab@redhat.com>
55325 Ulrich Drepper <drepper@redhat.com>
55326
55327 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55328 re-relocationg ld.so.
55329 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55330 _dl_init_paths call.
55331 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55332 here anymore.
55333
e66e7419
UD
553342010-09-14 Ulrich Drepper <drepper@redhat.com>
55335
55336 * resolv/res_init.c (__res_vinit): Count the default server we added.
55337
c044aa75
CLT
553382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55339 Ulrich Drepper <drepper@redhat.com>
55340
55341 [BZ #11968]
55342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55343 (____longjmp_chk): Use %ebx for saving value across system call.
55344 Add unwind info.
55345
32cf4069
AS
553462010-09-06 Andreas Schwab <schwab@redhat.com>
55347
55348 * manual/Makefile: Don't mix pattern rules with normal rules.
55349
817328ee
AS
553502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55351
55352 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55353 operation.
55354 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55355 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55356 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55357 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55359 Likewise.
55360
29fddf61
UD
553612010-09-04 Ulrich Drepper <drepper@redhat.com>
55362
55363 [BZ #11979]
55364 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55365 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55366
0959ffc9
UD
553672010-09-02 Ulrich Drepper <drepper@redhat.com>
55368
55369 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55370 * sysdeps/x86_64/addmul_1.S: Likewise.
55371 * sysdeps/x86_64/lshift.S: Likewise.
55372 * sysdeps/x86_64/mul_1.S: Likewise.
55373 * sysdeps/x86_64/rshift.S: Likewise.
55374 * sysdeps/x86_64/sub_n.S: Likewise.
55375 * sysdeps/x86_64/submul_1.S: Likewise.
55376
ece29840
ST
553772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55378
0959ffc9
UD
55379 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55380 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55381 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55382 * bits/sched.h [__need_schedparam]
ece29840 55383 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55384 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55385 (__defined_schedparam): Define to 1.
ece29840
ST
55386 (__sched_param): New structure, identical to sched_param.
55387 (__need_schedparam): Undefine.
55388
e53a31fe
MF
553892010-08-31 Mike Frysinger <vapier@gentoo.org>
55390
fdc0c10d
MF
55391 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55392 (epoll_create1): Declare.
55393
e53a31fe
MF
55394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55395
a726d796
AS
553962010-08-31 Andreas Schwab <schwab@redhat.com>
55397
55398 [BZ #7066]
55399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55400 shifting retval into place.
55401
2f3e3dc7
UD
554022010-09-01 Ulrich Drepper <drepper@redhat.com>
55403
f2933da9
UD
55404 * nis/rpcsvc/nis.h: Update copyright notice.
55405 * nis/rpcsvc/nis.x: Likewise.
55406 * nis/rpcsvc/nis_callback.h: Likewise.
55407 * nis/rpcsvc/nis_callback.x: Likewise.
55408 * nis/rpcsvc/nis_object.x: Likewise.
55409 * nis/rpcsvc/nis_tags.h: Likewise.
55410 * nis/rpcsvc/yp.h: Likewise.
55411 * nis/rpcsvc/yp.x: Likewise.
55412 * nis/rpcsvc/ypupd.h: Likewise.
55413 * nis/yp_xdr.c: Likewise.
55414 * nis/ypupdate_xdr.c: Likewise.
55415
2f3e3dc7
UD
55416 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55417 mainly the body of pmap_getport. Add parameters to specify timeouts.
55418 (pmap_getport): Use __libc_rpc_getport.
55419 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55420 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55421 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55422
f3dcc2f9
AS
554232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55424
55425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55426 fanotify_mark.
55427
6d34eb5b
RM
554282010-08-27 Roland McGrath <roland@redhat.com>
55429
55430 * sysdeps/i386/i686/multiarch/Makefile
55431 (CFLAGS-varshift.c): New variable.
55432
9ea3de11
UD
554332010-08-27 Ulrich Drepper <drepper@redhat.com>
55434
c96d23fc
UD
55435 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55436 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55437
9ea3de11
UD
55438 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55439
55440 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55441
623aac7f
L
554422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55443
55444 * sysdeps/x86_64/strlen.S: Unroll the loop.
55445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55446 strlen-sse2 strlen-sse2-bsf.
55447 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55448 __strlen_no_bsf if bit_Slow_BSF is set.
55449 (__strlen_sse42): Removed.
55450 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55451 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55452
8b2b7715
RM
554532010-08-25 Roland McGrath <roland@redhat.com>
55454
55455 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55456 * sysdeps/x86_64/multiarch/varshift.c: New file.
55457 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55458 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55459 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55460 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55461
e73015f2
L
554622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55463
55464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55465 strlen-sse2 strlen-sse2-bsf.
55466 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55467 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55468 (__strlen_sse2): Removed.
55469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55472 bit_Slow_BSF for Atom.
55473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55474 (index_Slow_BSF): Define.
55475 (HAS_SLOW_BSF): Define.
55476
df24a73e
UD
554772010-08-25 Ulrich Drepper <drepper@redhat.com>
55478
55479 [BZ #10851]
55480 * resolv/res_init.c (__res_vinit): When no server address at all
55481 is given default to loopback.
55482
f2ac4868
RM
554832010-08-24 Roland McGrath <roland@redhat.com>
55484
09055553
RM
55485 * configure.in: Remove config-name.h generation.
55486 * configure: Regenerated.
55487 * config-name.in: File removed.
55488 * scripts/config-uname.sh: New file.
55489 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55490 ($(objdir)config-name.h): New target.
55491
f2ac4868
RM
55492 * sunrpc/rpc_parse.h: Avoid nested comment.
55493
73f27d5e
RH
554942010-08-24 Richard Henderson <rth@redhat.com>
55495 Ulrich Drepper <drepper@redhat.com>
55496 H.J. Lu <hongjiu.lu@intel.com>
55497
55498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55500 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55501 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55502 _mm_alignr_epi8 with _mm_loadu_si128.
55503 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55504 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55505 (__m128i_shift_right): Removed.
55506 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55507 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55508 * sysdeps/x86_64/multiarch/varshift.h: New file.
55509 * sysdeps/x86_64/multiarch/varshift.S: New file.
55510
84b9230c
MF
555112010-08-21 Mike Frysinger <vapier@gentoo.org>
55512
55513 * configure.in: Move assembler checks to before sysdep dir checking.
55514
9bbd0ddc
PB
555152010-08-20 Petr Baudis <pasky@suse.cz>
55516
55517 * LICENSES: Sync the sunrpc license.
55518
9da4bb31
UD
555192010-08-19 Ulrich Drepper <drepper@redhat.com>
55520
a7ab6ec8
UD
55521 * sunrpc/auth_des.c: Update copyright notice once again.
55522 * sunrpc/auth_none.c: Likewise.
55523 * sunrpc/auth_unix.c: Likewise.
55524 * sunrpc/authdes_prot.c: Likewise.
55525 * sunrpc/authuxprot.c: Likewise.
55526 * sunrpc/bindrsvprt.c: Likewise.
55527 * sunrpc/clnt_gen.c: Likewise.
55528 * sunrpc/clnt_perr.c: Likewise.
55529 * sunrpc/clnt_raw.c: Likewise.
55530 * sunrpc/clnt_simp.c: Likewise.
55531 * sunrpc/clnt_tcp.c: Likewise.
55532 * sunrpc/clnt_udp.c: Likewise.
55533 * sunrpc/clnt_unix.c: Likewise.
55534 * sunrpc/des_crypt.c: Likewise.
55535 * sunrpc/des_soft.c: Likewise.
55536 * sunrpc/get_myaddr.c: Likewise.
55537 * sunrpc/getrpcport.c: Likewise.
55538 * sunrpc/key_call.c: Likewise.
55539 * sunrpc/key_prot.c: Likewise.
55540 * sunrpc/openchild.c: Likewise.
55541 * sunrpc/pm_getmaps.c: Likewise.
55542 * sunrpc/pm_getport.c: Likewise.
55543 * sunrpc/pmap_clnt.c: Likewise.
55544 * sunrpc/pmap_prot.c: Likewise.
55545 * sunrpc/pmap_prot2.c: Likewise.
55546 * sunrpc/pmap_rmt.c: Likewise.
55547 * sunrpc/rpc/auth.h: Likewise.
55548 * sunrpc/rpc/auth_unix.h: Likewise.
55549 * sunrpc/rpc/clnt.h: Likewise.
55550 * sunrpc/rpc/des_crypt.h: Likewise.
55551 * sunrpc/rpc/key_prot.h: Likewise.
55552 * sunrpc/rpc/netdb.h: Likewise.
55553 * sunrpc/rpc/pmap_clnt.h: Likewise.
55554 * sunrpc/rpc/pmap_prot.h: Likewise.
55555 * sunrpc/rpc/pmap_rmt.h: Likewise.
55556 * sunrpc/rpc/rpc.h: Likewise.
55557 * sunrpc/rpc/rpc_des.h: Likewise.
55558 * sunrpc/rpc/rpc_msg.h: Likewise.
55559 * sunrpc/rpc/svc.h: Likewise.
55560 * sunrpc/rpc/svc_auth.h: Likewise.
55561 * sunrpc/rpc/types.h: Likewise.
55562 * sunrpc/rpc/xdr.h: Likewise.
55563 * sunrpc/rpc_clntout.c: Likewise.
55564 * sunrpc/rpc_cmsg.c: Likewise.
55565 * sunrpc/rpc_common.c: Likewise.
55566 * sunrpc/rpc_cout.c: Likewise.
55567 * sunrpc/rpc_dtable.c: Likewise.
55568 * sunrpc/rpc_hout.c: Likewise.
55569 * sunrpc/rpc_main.c: Likewise.
55570 * sunrpc/rpc_parse.c: Likewise.
55571 * sunrpc/rpc_parse.h: Likewise.
55572 * sunrpc/rpc_prot.c: Likewise.
55573 * sunrpc/rpc_sample.c: Likewise.
55574 * sunrpc/rpc_scan.c: Likewise.
55575 * sunrpc/rpc_scan.h: Likewise.
55576 * sunrpc/rpc_svcout.c: Likewise.
55577 * sunrpc/rpc_tblout.c: Likewise.
55578 * sunrpc/rpc_util.c: Likewise.
55579 * sunrpc/rpc_util.h: Likewise.
55580 * sunrpc/rpcinfo.c: Likewise.
55581 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55582 * sunrpc/rpcsvc/key_prot.x: Likewise.
55583 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55584 * sunrpc/rpcsvc/mount.x: Likewise.
55585 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55586 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55587 * sunrpc/rpcsvc/rex.x: Likewise.
55588 * sunrpc/rpcsvc/rstat.x: Likewise.
55589 * sunrpc/rpcsvc/rusers.x: Likewise.
55590 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55591 * sunrpc/rpcsvc/spray.x: Likewise.
55592 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55593 * sunrpc/rtime.c: Likewise.
55594 * sunrpc/svc.c: Likewise.
55595 * sunrpc/svc_auth.c: Likewise.
55596 * sunrpc/svc_authux.c: Likewise.
55597 * sunrpc/svc_raw.c: Likewise.
55598 * sunrpc/svc_run.c: Likewise.
55599 * sunrpc/svc_simple.c: Likewise.
55600 * sunrpc/svc_tcp.c: Likewise.
55601 * sunrpc/svc_udp.c: Likewise.
55602 * sunrpc/svc_unix.c: Likewise.
55603 * sunrpc/svcauth_des.c: Likewise.
55604 * sunrpc/xcrypt.c: Likewise.
55605 * sunrpc/xdr.c: Likewise.
55606 * sunrpc/xdr_array.c: Likewise.
55607 * sunrpc/xdr_float.c: Likewise.
55608 * sunrpc/xdr_mem.c: Likewise.
55609 * sunrpc/xdr_rec.c: Likewise.
55610 * sunrpc/xdr_ref.c: Likewise.
55611 * sunrpc/xdr_sizeof.c: Likewise.
55612 * sunrpc/xdr_stdio.c: Likewise.
55613
9da4bb31
UD
55614 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55615 handling.
55616
bdaa77bc
AS
556172010-08-19 Andreas Schwab <schwab@redhat.com>
55618
55619 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55620
fe2f79db
LM
556212010-08-19 Luis Machado <luisgpm@br.ibm.com>
55622
55623 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55624 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55625 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55626 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55627 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55628 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55629 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55630 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55632 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55633 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55634 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55635 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55636 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55637
b9b42ee0
AB
556382010-07-26 Anton Blanchard <anton@samba.org>
55639
55640 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55641 * malloc/arena.c (heap_trim): Likewise.
55642
1c06ba31
UD
556432010-08-16 Ulrich Drepper <drepper@redhat.com>
55644
55645 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55646 here. Not...
55647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55648 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55649
f8392f40
L
556502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55651
55652 * sysdeps/i386/elf/Makefile: New file.
55653
3162f12e
AS
556542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55655
55656 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55657 from fanotify_init.
55658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55660
28c90b2c
UD
556612010-08-15 Ulrich Drepper <drepper@redhat.com>
55662
55663 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55664 of strncasecmp_l.
1feccb6c 55665 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55666
ca6bb004
UD
556672010-08-14 Ulrich Drepper <drepper@redhat.com>
55668
e9f82e0d
UD
55669 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55670 strncase_l-nonascii.
55671 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55672 Add strncase_l-ssse3.
55673 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55674 * sysdeps/x86_64/strcmp.S: Likewise.
55675 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55676 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55677 * sysdeps/x86_64/strncase.S: New file.
55678 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55679 * sysdeps/x86_64/strncase_l.S: New file.
55680 * string/Makefile (strop-tests): Add strncasecmp.
55681 * string/test-strncasecmp.c: New file.
55682
55683 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55684 warning.
55685
ca6bb004
UD
55686 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55687 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55688
052fa7b3
AS
556892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55690
55691 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55692
962dba78
UD
556932010-08-12 Ulrich Drepper <drepper@redhat.com>
55694
55695 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55696 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55698
bebff237
AM
556992010-05-01 Alan Modra <amodra@gmail.com>
55700
55701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55702 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55703 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55704 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55705 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55706 tidying. Don't tail-call __sigjmp_save for static lib.
55707 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55708 save location.
55709 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55710 (CALL_MCOUNT): Add eh info, and nop after bl.
55711 (TAIL_CALL_SYSCALL_ERROR): New macro.
55712 (PSEUDO_RET): Use it.
55713 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55714 Correct save location of integer regs and cr.
55715 (_dl_profile_resolve): Correct cr save location. Delete nops
55716 after bl when SHARED. Reduce cfi size a little by better
55717 placement of cfi directives.
55718 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55719 make a stack frame. Instead use parm save area as a temp.
55720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55721 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55723 Don't make a stack frame for parent, use parm save area.
55724 Increase child stack frame to 112 bytes. Don't save unused reg,
55725 and adjust reg usage. Set up cfi on error recovery and
55726 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55728 (__makecontext): Add dummy nop after jump to exit.
55729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55730 Use correct parm save area and cr save, reduce stack frame.
55731 Correct cfi for possible PSEUDO_RET frame setup.
55732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55733 Branch to local label emitted by PSEUDO_RET rather than
55734 __syscall_error.
55735
02637374
AS
557362010-08-12 Andreas Schwab <schwab@redhat.com>
55737
55738 [BZ #11904]
55739 * locale/programs/locale.c (print_assignment): New function.
55740 (show_locale_vars): Use it.
55741
c3e2f19b
UD
557422010-08-11 Ulrich Drepper <drepper@redhat.com>
55743
3cdaa6ad
UD
55744 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55745 field.
55746 (struct statfs64): Likewise.
55747 (_STATFS_F_FLAGS): Define.
55748 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55750 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55751 (ST_VALID): Define locally.
55752 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55753 __statvfs_getflags, use the provided value.
55754 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55755 __ASSUME_STATFS_F_FLAGS.
55756
754f7da3
UD
55757 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55758
10b3bedc
UD
55759 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55760 Add sys/fanotify.h.
55761 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55762 fanotify_mask for GLIBC_2.13.
55763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55764 fanotify_init and fanotify_mark.
55765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55766 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55767
c08fb0d7
UD
55768 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55769 Add prlimit.
55770 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55771 prlimit64 for GLIBC_2.13.
55772 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55773 prlimit64.
55774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55775 syscall.
55776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55779 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55781 add prlimit alias.
55782 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55783
15bac72b
UD
55784 [BZ #11903]
55785 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55786 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55787
c3e2f19b
UD
55788 * nss/Makefile: Add rules to build and run tst-nss-test1.
55789 * shlib-versions: Add entry for libnss_test1.
55790 * nss/nss_test1.c: New file.
55791 * nss/tst-nss-test1.c: New file.
55792
55793 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55794 (__nss_configure_lookup): Set appropriate entry in
55795 __nss_configure_lookup to true.
55796 * nss/nsswitch.h: Define enum with indeces of databases in
55797 databases and __nss_database_custom arrays. Declare
55798 __nss_database_custom.
55799 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55800 to avoid using nscd when custom rules are installed.
55801 * nss/getXXbyYY_r.c: Likewise.
55802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55803
55804 * nss/nss_files/files-parse.c: Whitespace fixes.
55805
f15ce4d8
UD
558062010-08-09 Ulrich Drepper <drepper@redhat.com>
55807
55808 [BZ #11883]
55809 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55810 * posix/fnmatch_loop.c: Likewise.
55811
d22e4cc9
AK
558122010-07-17 Andi Kleen <ak@linux.intel.com>
55813
55814 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55815 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55816 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55817 * Versions.def [GLIBC_2.13]: Add.
55818
805bc17d
UD
558192010-08-06 Ulrich Drepper <drepper@redhat.com>
55820
55821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55822 Also fail if tpwd after pwuid call is NULL.
55823
5a42321d
ST
558242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55825
55826 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55827 when converting to ms.
55828
fd3ebeda
ST
558292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55830
55831 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55832 EOPNOTSUPP errors with ENOTTY.
55833 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55834 EOPNOTSUPP errors with ENOTTY.
55835
73507d3a
UD
558362010-07-31 Ulrich Drepper <drepper@redhat.com>
55837
55838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55839 Add strcasecmp_l-ssse3.
55840 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55841 strcasecmp.
55842 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55843 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55844 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55845
fe36dd02
UD
558462010-07-30 Ulrich Drepper <drepper@redhat.com>
55847
66f6765a
UD
55848 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55849
42e08a54
UD
55850 * string/Makefile (strop-tests): Add strcasecmp.
55851 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55852 strcasecmp_l-nonascii.
55853 (gen-as-const-headers): Add locale-defines.sym.
55854 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55855 * sysdeps/x86_64/strcasecmp.S: New file.
55856 * sysdeps/x86_64/strcasecmp_l.S: New file.
55857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55858 * sysdeps/x86_64/locale-defines.sym: New file.
55859 * string/test-strcasecmp.c: New file.
55860
fe36dd02
UD
55861 * string/test-strcasestr.c: Test both ends of the range of characters.
55862 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55863
48cbc0d6
RM
558642010-07-29 Roland McGrath <roland@redhat.com>
55865
76e6d6bc 55866 [BZ #11856]
48cbc0d6
RM
55867 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55868
880113d9
UD
558692010-07-27 Ulrich Drepper <drepper@redhat.com>
55870
55871 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55872 for ld.so.
55873
deb9cabb
AS
558742010-07-27 Andreas Schwab <schwab@redhat.com>
55875
55876 * manual/memory.texi (Malloc Tunable Parameters): Document
55877 M_PERTURB.
55878
1c7570ff
RM
558792010-07-26 Roland McGrath <roland@redhat.com>
55880
55881 [BZ #11840]
55882 * configure.in (-fgnu89-inline check): Set and substitute
55883 gnu89_inline, not libc_cv_gnu89_inline.
55884 * configure: Regenerated.
55885 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55886
24fb0f88
UD
558872010-07-26 Ulrich Drepper <drepper@redhat.com>
55888
55889 * string/test-strnlen.c: New file.
55890 * string/Makefile (strop-tests): Add strnlen.
55891 * string/tester.c (test_strnlen): Add a few more test cases.
55892 * string/tst-strlen.c: Better error reporting.
55893
55894 * sysdeps/x86_64/strnlen.S: New file.
55895
8e96b93a
UD
558962010-07-24 Ulrich Drepper <drepper@redhat.com>
55897
55898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55899 lower-latency instructions.
55900
dbc676d4
UD
559012010-07-23 Ulrich Drepper <drepper@redhat.com>
55902
55903 * string/test-strcasestr.c: New file.
55904 * string/test-strstr.c: New file.
55905 * string/Makefile (strop-tests): Add strstr and strcasestr.
55906 * string/str-two-way.h: Don't undefine MAX.
55907 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55908
f6a31e0e
AS
559092010-07-21 Andreas Schwab <schwab@redhat.com>
55910
55911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55912 strcasestr-nonascii.
55913 (CFLAGS-strcasestr-nonascii.c): Define.
55914 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55915 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55916 Remove unused attribute.
55917
5dbc3b6c
RM
559182010-07-20 Roland McGrath <roland@redhat.com>
55919
55920 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55921 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55922 ld.so.cache was broken. With it, there is no way to disable dsocaps
55923 like LD_HWCAP_MASK can disable hwcaps.
55924
23d101d8
EPM
559252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55926
55927 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55928
cc9f2e47
UD
559292010-07-16 Ulrich Drepper <drepper@redhat.com>
55930
55931 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55932 call in strcasestr.
55933 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55934 __strcasestr_sse42_nonascii.
55935 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55936 strcasestr-nonascii.c.
55937 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55938
77c1b069
LM
559392010-06-15 Luis Machado <luisgpm@br.ibm.com>
55940
55941 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55945
440566c3
UD
559462010-07-09 Ulrich Drepper <drepper@redhat.com>
55947
55948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55949 fcntl.
55950
5be9d05d
AS
559512010-07-06 Andreas Schwab <schwab@redhat.com>
55952
c30b7ee2 55953 [BZ #11577]
5be9d05d
AS
55954 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55955 dl_signal_cerror.
55956
8a492a67
UD
559572010-07-06 Ulrich Drepper <drepper@redhat.com>
55958
55959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55960 _PC_PIPE_BUF using F_GETPIPE_SZ.
55961
713df3d5
RM
559622010-07-05 Roland McGrath <roland@redhat.com>
55963
55964 * manual/arith.texi (Rounding Functions): Fix rint description
55965 implicit in round description.
55966
702e8f14
UD
559672010-07-02 Ulrich Drepper <drepper@redhat.com>
55968
55969 * elf/Makefile: Fix linking for a few tests to make recent linker
55970 happy.
55971
52ed8be9
AS
559722010-06-30 Andreas Schwab <schwab@redhat.com>
55973
55974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55975 $(common-objpfx)libc_nonshared.a.
55976
f47c9a11
LM
559772010-06-21 Luis Machado <luisgpm@br.ibm.com>
55978
55979 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55980 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55981 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55982 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55983 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55984 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55985 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55986 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56001 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56002 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56003 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56004 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56005 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56006 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56007 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56008 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56009 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56010 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56011 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56012 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56027
6fb8cbcb
L
560282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56029
56030 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56031 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56032 * string/memmove.c (memmove): Renamed to ...
56033 (MEMMOVE): ...this. Default to memmove.
56034 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56035 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56036 (END_CHK): Define.
56037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56038 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56039 mempcpy-ssse3-back memmove-ssse3-back.
56040 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56043 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56044 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56045 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56046 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56047 * sysdeps/x86_64/multiarch/memmove.c: New file.
56048 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56049 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56050 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56051 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56052 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56054 Define.
56055 (index_Fast_Copy_Backward): Define.
56056 (HAS_ARCH_FEATURE): Define.
56057 (HAS_FAST_REP_STRING): Define.
56058 (HAS_FAST_COPY_BACKWARD): Define.
56059
4e733bac 560602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56061
56062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56063 Restore proper fallback handling.
56064
63c4ed22
UD
560652010-06-19 Ulrich Drepper <drepper@redhat.com>
56066
ac2b484c
UD
56067 [BZ #11701]
56068 * posix/group_member.c (__group_member): Correct checking loop.
56069
63c4ed22
UD
56070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56071 OOM in getpwuid_r correctly. Return error number when the caller
56072 should return, otherwise -1.
56073 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56074 call returning > 0 value.
56075 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56076
765ade4b
AS
560772010-06-07 Andreas Schwab <schwab@redhat.com>
56078
56079 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56080 libc_nonshared.a from targets in modules-names.
56081
80da2e09
KS
560822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56083
56084 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56085 requires it.
56086
158db122
LM
560872010-06-10 Luis Machado <luisgpm@br.ibm.com>
56088
56089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56091 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56093
caa78cf8
AS
560942010-06-02 Andreas Schwab <schwab@redhat.com>
56095
56096 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56097
b2ef2c01
UD
560982010-06-14 Ulrich Drepper <drepper@redhat.com>
56099
56100 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56101 and F_GETPIPE_SZ.
56102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56108
fbd643b6
RM
561092010-06-14 Roland McGrath <roland@redhat.com>
56110
56111 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56112
f32f2869
JJ
561132010-06-07 Jakub Jelinek <jakub@redhat.com>
56114
56115 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56116 __REDIRECT followed by __THROW.
56117 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56118 * posix/getopt.h (getopt): Likewise.
56119
2a50c078
EPM
561202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56121
56122 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56123 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56124 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56125 in AT_FLAGS.
56126 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56127 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56128
eb5ad2eb
LM
561292010-05-28 Luis Machado <luisgpm@br.ibm.com>
56130
56131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56132
3c88fe1e
L
561332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56134
56135 [BZ #11640]
56136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56137 Properly check family and model.
56138
d2f73151
TY
561392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56140
56141 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56142
ebd2e13d
LM
561432010-05-24 Luis Machado <luisgpm@br.ibm.com>
56144
56145 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56146
b32b8b45
UD
561472010-05-21 Ulrich Drepper <drepper@redhat.com>
56148
56149 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56150 symbol reference.
56151
9acbe24d
AS
561522010-05-19 Andreas Schwab <schwab@redhat.com>
56153
56154 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56155 symbol reference.
56156
f0ccf6ea
AS
561572010-05-21 Andreas Schwab <schwab@redhat.com>
56158
3d04ff3a
AS
56159 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56160 and internal_recvmmsg.
56161 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56162 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56163 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56164 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56165
f0ccf6ea
AS
56166 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56167 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56168 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56169
5b08ac57
AS
561702010-05-20 Andreas Schwab <schwab@redhat.com>
56171
56172 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56173
4828935d
LM
561742010-05-17 Luis Machado <luisgpm@br.ibm.com>
56175
56176 POWER7 optimizations.
56177 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56178 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56179
373d545e
UD
561802010-05-19 Ulrich Drepper <drepper@redhat.com>
56181
56182 * version.h: Update for 2.13 development version.
56183
21a2b1ae
AS
561842010-05-12 Andrew Stubbs <ams@codesourcery.com>
56185
56186 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56187 exceptions. Return 0.
56188
3f7dcb2b
RM
561892010-05-07 Roland McGrath <roland@redhat.com>
56190
56191 * elf/ldconfig.c (main): Add a const.
56192
5f24d53a 561932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56194
a160f8d8
UD
56195 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56196 (args_options): Add no-idn option.
56197 (ahosts_keys_int): Add idn_flags to ai_flags.
56198 (parse_option): Handle 'i' option to clear idn_flags.
56199
5f24d53a
UD
56200 * malloc/malloc.c (_int_free): Possible race in the most recently
56201 added check. Only act on the data if no current modification
56202 happened.
265bb1ce
UD
56203
56204See ChangeLog.17 for earlier changes.